Guaranteed Guessing
Collection
9 items
•
Updated
file
stringlengths 6
20
| x86
stringlengths 892
262k
| arm
stringlengths 1k
268k
|
---|---|---|
fy-shuffle.s | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fy_shuffle ## -- Begin function fy_shuffle
.p2align 4, 0x90
_fy_shuffle: ## @fy_shuffle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -16(%rbp)
jle LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %edi
addl $1, %edi
callq _rand_int
movl %eax, -20(%rbp)
cmpl $0, -16(%rbp)
jl LBB0_7
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -20(%rbp)
jl LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
callq _libmin_fail
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function rand_int
_rand_int: ## @rand_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $2147483647, %eax ## imm = 0x7FFFFFFF
cltd
idivl -4(%rbp)
movl $2147483647, %eax ## imm = 0x7FFFFFFF
subl %edx, %eax
movl %eax, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, -12(%rbp)
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_1
## %bb.3:
movl -12(%rbp), %eax
cltd
idivl -4(%rbp)
movl %edx, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq -8(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _libmin_printf
movl $0, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _libmin_printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_1
LBB2_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _libmin_printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $42, %edi
callq _libmin_srand
movl $0, -8(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -8(%rbp)
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.3(%rip), %rdi
leaq _a(%rip), %rsi
movl $11, %edx
callq _print
leaq _a(%rip), %rdi
movl $11, %esi
callq _fy_shuffle
leaq L_.str.4(%rip), %rdi
leaq _a(%rip), %rsi
movl $11, %edx
callq _print
leaq L_.str.5(%rip), %rdi
leaq _b(%rip), %rsi
movl $19, %edx
callq _print
leaq _b(%rip), %rdi
movl $19, %esi
callq _fy_shuffle
leaq L_.str.6(%rip), %rdi
leaq _b(%rip), %rsi
movl $19, %edx
callq _print
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_1
LBB3_4:
callq _libmin_success
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%2d "
L_.str.2: ## @.str.2
.asciz "\n"
.section __DATA,__data
.globl _a ## @a
.p2align 4
_a:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.globl _b ## @b
.p2align 4
_b:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 15 ## 0xf
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "A (before): "
L_.str.4: ## @.str.4
.asciz "A (after): "
L_.str.5: ## @.str.5
.asciz "B (before): "
L_.str.6: ## @.str.6
.asciz "B (after): "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fy_shuffle ; -- Begin function fy_shuffle
.p2align 2
_fy_shuffle: ; @fy_shuffle
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w0, w8, #1
bl _rand_int
str w0, [sp, #12]
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
mov w0, #1
bl _libmin_fail
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function rand_int
_rand_int: ; @rand_int
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w10, [x29, #-4]
mov w8, #2147483647
sdiv w9, w8, w10
mul w9, w9, w10
subs w9, w8, w9
subs w8, w8, w9
str w8, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
str w0, [sp, #4]
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_1
b LBB1_3
LBB1_3:
ldr w8, [sp, #4]
ldur w10, [x29, #-4]
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
str wzr, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB2_1
LBB2_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w0, #42
bl _libmin_srand
stur wzr, [x29, #-8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x1, _a@PAGE
add x1, x1, _a@PAGEOFF
str x1, [sp, #8] ; 8-byte Folded Spill
mov w2, #11
str w2, [sp, #20] ; 4-byte Folded Spill
bl _print
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w1, [sp, #20] ; 4-byte Folded Reload
bl _fy_shuffle
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr w2, [sp, #20] ; 4-byte Folded Reload
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _print
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
adrp x1, _b@PAGE
add x1, x1, _b@PAGEOFF
str x1, [sp, #24] ; 8-byte Folded Spill
mov w2, #19
stur w2, [x29, #-12] ; 4-byte Folded Spill
bl _print
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur w1, [x29, #-12] ; 4-byte Folded Reload
bl _fy_shuffle
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldur w2, [x29, #-12] ; 4-byte Folded Reload
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _print
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB3_1
LBB3_4:
bl _libmin_success
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%2d "
l_.str.2: ; @.str.2
.asciz "\n"
.section __DATA,__data
.globl _a ; @a
.p2align 2
_a:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.globl _b ; @b
.p2align 2
_b:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "A (before): "
l_.str.4: ; @.str.4
.asciz "A (after): "
l_.str.5: ; @.str.5
.asciz "B (before): "
l_.str.6: ; @.str.6
.asciz "B (after): "
.subsections_via_symbols
|
bloom-filter.s | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bad_search ## -- Begin function bad_search
.p2align 4, 0x90
_bad_search: ## @bad_search
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -36(%rbp), %rax
cmpq -32(%rbp), %rax
jae LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -20(%rbp), %eax
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_6:
movl $0, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI1_0:
.long 0x42a00000 ## float 80
LCPI1_1:
.long 0x3d480000 ## float 0.048828125
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
movl $8192, %edi ## imm = 0x2000
callq _libmin_malloc
movq %rax, -32(%rbp)
movl $8192, %edi ## imm = 0x2000
callq _libmin_malloc
movq %rax, -40(%rbp)
movl $8192, %edi ## imm = 0x2000
callq _create_bfilter
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq (%rax), %rsi
shlq $2, %rsi
shrq $10, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _libmin_printf
movl $42, %edi
callq _libmin_srand
movl $0, -52(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $2048, -52(%rbp) ## imm = 0x800
jge LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _libmin_rand
movl %eax, %edx
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -48(%rbp), %rdi
movq -32(%rbp), %rsi
movslq -52(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
callq _bfilter_add
callq _libmin_rand
andl $1, %eax
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
callq _libmin_rand
movl %eax, %edx
movq -40(%rbp), %rax
movslq -52(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB1_1
LBB1_7:
movl $0, -52(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
cmpl $2048, -52(%rbp) ## imm = 0x800
jge LBB1_26
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movl $0, -56(%rbp)
movl $0, -60(%rbp)
movq -48(%rbp), %rdi
movq -40(%rbp), %rsi
movslq -52(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
callq _bfilter_check
movl %eax, -56(%rbp)
movq -32(%rbp), %rdi
movq -40(%rbp), %rax
movslq -52(%rbp), %rcx
movl (%rax,%rcx,4), %esi
movl $2048, %edx ## imm = 0x800
callq _bad_search
movl %eax, -60(%rbp)
cmpl $0, -60(%rbp)
je LBB1_12
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -56(%rbp)
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_8 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_24
LBB1_12: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -60(%rbp)
jne LBB1_15
## %bb.13: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -56(%rbp)
jne LBB1_15
## %bb.14: ## in Loop: Header=BB1_8 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_23
LBB1_15: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -60(%rbp)
jne LBB1_18
## %bb.16: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -56(%rbp)
je LBB1_18
## %bb.17: ## in Loop: Header=BB1_8 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_22
LBB1_18: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -60(%rbp)
je LBB1_21
## %bb.19: ## in Loop: Header=BB1_8 Depth=1
cmpl $0, -56(%rbp)
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_8 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB1_21: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_22
LBB1_22: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_23
LBB1_23: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_24
LBB1_24: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_25
LBB1_25: ## in Loop: Header=BB1_8 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB1_8
LBB1_26:
movl -12(%rbp), %esi
movl -20(%rbp), %edx
movl -8(%rbp), %ecx
movl -16(%rbp), %r8d
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _libmin_printf
movl -12(%rbp), %eax
movl -20(%rbp), %ecx
addl %ecx, %eax
## kill: def $rax killed $eax
cvtsi2ss %rax, %xmm1
movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss %xmm0, -64(%rbp)
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _libmin_printf
movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -64(%rbp), %xmm0
jbe LBB1_28
## %bb.27:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _libmin_printf
LBB1_28:
cmpl $0, -16(%rbp)
je LBB1_30
## %bb.29:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _libmin_printf
jmp LBB1_31
LBB1_30:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _libmin_printf
LBB1_31:
movq -40(%rbp), %rdi
callq _libmin_free
movq -32(%rbp), %rdi
callq _libmin_free
movq -48(%rbp), %rdi
callq _destroy_bfilter
callq _libmin_success
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Using %lu kilobytes for filter.\n\n"
L_.str.1: ## @.str.1
.asciz "True positives: %i\nTrue negatives: %i\nFalse positives: %i\nFalse negatives: %i\n"
L_.str.2: ## @.str.2
.asciz "\n%3.2f%% success rate\n\n"
L_.str.3: ## @.str.3
.asciz "WARNING: Success rate less than 80%%.\n\n"
L_.str.4: ## @.str.4
.asciz "**ERROR:** Test FAILED.\n"
L_.str.5: ## @.str.5
.asciz "Test PASSED.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bad_search ; -- Begin function bad_search
.p2align 2
_bad_search: ; @bad_search
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str x2, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #44]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_6:
str wzr, [sp, #44]
b LBB0_7
LBB0_7:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
stur wzr, [x29, #-12]
stur wzr, [x29, #-16]
stur wzr, [x29, #-20]
mov x0, #8192
str x0, [sp, #40] ; 8-byte Folded Spill
bl _libmin_malloc
mov x8, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
stur x8, [x29, #-32]
bl _libmin_malloc
mov x8, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
stur x8, [x29, #-40]
bl _create_bfilter
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
ldr x8, [x8]
lsl x8, x8, #2
mov x9, #1024
udiv x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #42
bl _libmin_srand
stur wzr, [x29, #-52]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
subs w8, w8, #2048
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _libmin_rand
ldur x8, [x29, #-32]
ldursw x9, [x29, #-52]
str w0, [x8, x9, lsl #2]
ldur x0, [x29, #-48]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-52]
add x1, x8, x9, lsl #2
bl _bfilter_add
bl _libmin_rand
ands w8, w0, #0x1
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-32]
ldursw x9, [x29, #-52]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-40]
ldursw x10, [x29, #-52]
str w8, [x9, x10, lsl #2]
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
bl _libmin_rand
ldur x8, [x29, #-40]
ldursw x9, [x29, #-52]
str w0, [x8, x9, lsl #2]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB1_1
LBB1_7:
stur wzr, [x29, #-52]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
subs w8, w8, #2048
cset w8, ge
tbnz w8, #0, LBB1_26
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
str wzr, [sp, #56]
str wzr, [sp, #52]
ldur x0, [x29, #-48]
ldur x8, [x29, #-40]
ldursw x9, [x29, #-52]
add x1, x8, x9, lsl #2
bl _bfilter_check
str w0, [sp, #56]
ldur x0, [x29, #-32]
ldur x8, [x29, #-40]
ldursw x9, [x29, #-52]
ldr w1, [x8, x9, lsl #2]
mov x2, #2048
bl _bad_search
str w0, [sp, #52]
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_24
LBB1_12: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_15
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_23
LBB1_15: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_22
LBB1_18: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_8 Depth=1
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_8 Depth=1
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_8 Depth=1
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_8 Depth=1
b LBB1_25
LBB1_25: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB1_8
LBB1_26:
ldur w8, [x29, #-12]
; implicit-def: $x12
mov x12, x8
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldur w8, [x29, #-12]
ldur w9, [x29, #-20]
add w8, w8, w9
ucvtf s1, w8
mov w8, #1028128768
fmov s0, w8
fmul s0, s0, s1
str s0, [sp, #48]
ldr s0, [sp, #48]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldr s0, [sp, #48]
mov w8, #1117782016
fmov s1, w8
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
b LBB1_28
LBB1_28:
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_30
b LBB1_29
LBB1_29:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
b LBB1_31
LBB1_30:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
b LBB1_31
LBB1_31:
ldur x0, [x29, #-40]
bl _libmin_free
ldur x0, [x29, #-32]
bl _libmin_free
ldur x0, [x29, #-48]
bl _destroy_bfilter
bl _libmin_success
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Using %lu kilobytes for filter.\n\n"
l_.str.1: ; @.str.1
.asciz "True positives: %i\nTrue negatives: %i\nFalse positives: %i\nFalse negatives: %i\n"
l_.str.2: ; @.str.2
.asciz "\n%3.2f%% success rate\n\n"
l_.str.3: ; @.str.3
.asciz "WARNING: Success rate less than 80%%.\n\n"
l_.str.4: ; @.str.4
.asciz "**ERROR:** Test FAILED.\n"
l_.str.5: ; @.str.5
.asciz "Test PASSED.\n"
.subsections_via_symbols
|
regex-parser.s | .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _re_match ## -- Begin function re_match
.p2align 4, 0x90
_re_match: ## @re_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
callq _re_compile
movq %rax, %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
callq _re_matchp
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _re_matchp ## -- Begin function re_matchp
.p2align 4, 0x90
_re_matchp: ## @re_matchp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -32(%rbp), %rax
movl $0, (%rax)
cmpq $0, -16(%rbp)
je LBB1_12
## %bb.1:
movq -16(%rbp), %rax
movzbl (%rax), %eax
cmpl $2, %eax
jne LBB1_3
## %bb.2:
movq -16(%rbp), %rdi
addq $16, %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
callq _matchpattern
movl %eax, %edx
movl $4294967295, %eax ## imm = 0xFFFFFFFF
xorl %ecx, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -4(%rbp)
jmp LBB1_13
LBB1_3:
movl $-1, -36(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
callq _matchpattern
cmpl $0, %eax
je LBB1_8
## %bb.5:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB1_7
## %bb.6:
movl $-1, -4(%rbp)
jmp LBB1_13
LBB1_7:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_13
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB1_4
## %bb.10:
jmp LBB1_11
LBB1_11:
jmp LBB1_12
LBB1_12:
movl $-1, -4(%rbp)
LBB1_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _re_compile ## -- Begin function re_compile
.p2align 4, 0x90
_re_compile: ## @re_compile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl $1, -20(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_28 Depth 2
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -37(%rbp) ## 1-byte Spill
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
cmpl $30, %eax
setl %al
movb %al, -37(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -37(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_48
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -21(%rbp)
movsbl -21(%rbp), %eax
addl $-36, %eax
movl %eax, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
subl $58, %eax
ja LBB2_44
## %bb.50: ## in Loop: Header=BB2_1 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $2, (%rax)
jmp LBB2_45
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $3, (%rax)
jmp LBB2_45
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $1, (%rax)
jmp LBB2_45
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $5, (%rax)
jmp LBB2_45
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $6, (%rax)
jmp LBB2_45
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $4, (%rax)
jmp LBB2_45
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB2_21
## %bb.12: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
incl %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
addl $-68, %eax
movl %eax, %ecx
movq %rcx, -56(%rbp) ## 8-byte Spill
subl $51, %eax
ja LBB2_19
## %bb.51: ## in Loop: Header=BB2_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
leaq LJTI2_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $10, (%rax)
jmp LBB2_20
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $11, (%rax)
jmp LBB2_20
LBB2_15: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $12, (%rax)
jmp LBB2_20
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $13, (%rax)
jmp LBB2_20
LBB2_17: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $14, (%rax)
jmp LBB2_20
LBB2_18: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $15, (%rax)
jmp LBB2_20
LBB2_19: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $7, (%rax)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb (%rax,%rcx), %cl
movslq -32(%rbp), %rdx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rdx
addq %rdx, %rax
movb %cl, 8(%rax)
LBB2_20: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_21
LBB2_21: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_45
LBB2_22: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -36(%rbp)
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $94, %eax
jne LBB2_26
## %bb.23: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $9, (%rax)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB2_25
## %bb.24:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_27
LBB2_26: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $8, (%rax)
LBB2_27: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_28
LBB2_28: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $93, %ecx
movb %al, -57(%rbp) ## 1-byte Spill
je LBB2_30
## %bb.29: ## in Loop: Header=BB2_28 Depth=2
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
setne %al
movb %al, -57(%rbp) ## 1-byte Spill
LBB2_30: ## in Loop: Header=BB2_28 Depth=2
movb -57(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_31
jmp LBB2_41
LBB2_31: ## in Loop: Header=BB2_28 Depth=2
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $92, %eax
jne LBB2_37
## %bb.32: ## in Loop: Header=BB2_28 Depth=2
cmpl $39, -20(%rbp)
jl LBB2_34
## %bb.33:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_34: ## in Loop: Header=BB2_28 Depth=2
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB2_36
## %bb.35:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_36: ## in Loop: Header=BB2_28 Depth=2
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -28(%rbp)
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movl -20(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movslq %eax, %rcx
leaq _re_compile.ccl_buf(%rip), %rax
movb %dl, (%rax,%rcx)
jmp LBB2_40
LBB2_37: ## in Loop: Header=BB2_28 Depth=2
cmpl $40, -20(%rbp)
jl LBB2_39
## %bb.38:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_39: ## in Loop: Header=BB2_28 Depth=2
jmp LBB2_40
LBB2_40: ## in Loop: Header=BB2_28 Depth=2
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb (%rax,%rcx), %dl
movl -20(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movslq %eax, %rcx
leaq _re_compile.ccl_buf(%rip), %rax
movb %dl, (%rax,%rcx)
jmp LBB2_28
LBB2_41: ## in Loop: Header=BB2_1 Depth=1
cmpl $40, -20(%rbp)
jl LBB2_43
## %bb.42:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_43: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movslq %eax, %rcx
leaq _re_compile.ccl_buf(%rip), %rax
movb $0, (%rax,%rcx)
movslq -36(%rbp), %rax
leaq _re_compile.ccl_buf(%rip), %rcx
addq %rax, %rcx
movslq -32(%rbp), %rdx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
jmp LBB2_45
LBB2_44: ## in Loop: Header=BB2_1 Depth=1
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $7, (%rax)
movb -21(%rbp), %cl
movslq -32(%rbp), %rdx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rdx
addq %rdx, %rax
movb %cl, 8(%rax)
LBB2_45: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB2_47
## %bb.46:
movq $0, -8(%rbp)
jmp LBB2_49
LBB2_47: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB2_1
LBB2_48:
movslq -32(%rbp), %rcx
leaq _re_compile.re_compiled(%rip), %rax
shlq $4, %rcx
addq %rcx, %rax
movb $0, (%rax)
leaq _re_compile.re_compiled(%rip), %rax
movq %rax, -8(%rbp)
LBB2_49:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_44, LBB2_44-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_9, LBB2_9-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_10, LBB2_10-LJTI2_0
.set L2_0_set_22, LBB2_22-LJTI2_0
.set L2_0_set_11, LBB2_11-LJTI2_0
.set L2_0_set_5, LBB2_5-LJTI2_0
LJTI2_0:
.long L2_0_set_6
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_8
.long L2_0_set_9
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_7
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_10
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_44
.long L2_0_set_22
.long L2_0_set_11
.long L2_0_set_44
.long L2_0_set_5
.set L2_1_set_14, LBB2_14-LJTI2_1
.set L2_1_set_19, LBB2_19-LJTI2_1
.set L2_1_set_18, LBB2_18-LJTI2_1
.set L2_1_set_16, LBB2_16-LJTI2_1
.set L2_1_set_13, LBB2_13-LJTI2_1
.set L2_1_set_17, LBB2_17-LJTI2_1
.set L2_1_set_15, LBB2_15-LJTI2_1
LJTI2_1:
.long L2_1_set_14
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_18
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_16
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_13
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_17
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_19
.long L2_1_set_15
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function matchpattern
_matchpattern: ## @matchpattern
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
cmpl $0, %eax
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl 16(%rax), %eax
cmpl $4, %eax
jne LBB3_4
LBB3_3:
movq -16(%rbp), %rsi
movq -16(%rbp), %rdx
addq $32, %rdx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
movb (%rsi), %al
movq 8(%rsi), %rsi
movzbl %al, %edi
callq _matchquestion
movl %eax, -4(%rbp)
jmp LBB3_19
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl 16(%rax), %eax
cmpl $5, %eax
jne LBB3_6
## %bb.5:
movq -16(%rbp), %rsi
movq -16(%rbp), %rdx
addq $32, %rdx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
movb (%rsi), %al
movq 8(%rsi), %rsi
movzbl %al, %edi
callq _matchstar
movl %eax, -4(%rbp)
jmp LBB3_19
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl 16(%rax), %eax
cmpl $6, %eax
jne LBB3_8
## %bb.7:
movq -16(%rbp), %rsi
movq -16(%rbp), %rdx
addq $32, %rdx
movq -24(%rbp), %rcx
movq -32(%rbp), %r8
movb (%rsi), %al
movq 8(%rsi), %rsi
movzbl %al, %edi
callq _matchplus
movl %eax, -4(%rbp)
jmp LBB3_19
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
cmpl $3, %eax
jne LBB3_11
## %bb.9: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movzbl 16(%rax), %eax
cmpl $0, %eax
jne LBB3_11
## %bb.10:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB3_19
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_12
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_13
LBB3_13: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_14
LBB3_14: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
## %bb.15: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -37(%rbp) ## 1-byte Spill
je LBB3_17
## %bb.16: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rdx
movq %rdx, %rax
addq $16, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %al
movb (%rdx), %cl
movq 8(%rdx), %rsi
movzbl %cl, %edi
movsbl %al, %edx
callq _matchone
cmpl $0, %eax
setne %al
movb %al, -37(%rbp) ## 1-byte Spill
LBB3_17: ## in Loop: Header=BB3_1 Depth=1
movb -37(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_1
## %bb.18:
movl -36(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB3_19:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _re_print ## -- Begin function re_print
.p2align 4, 0x90
_re_print: ## @re_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -152(%rbp)
leaq -144(%rbp), %rdi
leaq l___const.re_print.types(%rip), %rsi
movl $136, %edx
callq _memcpy
movl $0, -156(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_7 Depth 2
cmpl $30, -156(%rbp)
jge LBB4_19
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
cmpl $0, %eax
jne LBB4_4
## %bb.3:
jmp LBB4_19
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
## kill: def $rax killed $eax
movq -144(%rbp,%rax,8), %rsi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _libmin_printf
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
cmpl $8, %eax
je LBB4_6
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
cmpl $9, %eax
jne LBB4_14
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _libmin_printf
movl $0, -160(%rbp)
LBB4_7: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $40, -160(%rbp)
jge LBB4_13
## %bb.8: ## in Loop: Header=BB4_7 Depth=2
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movslq -160(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -161(%rbp)
movsbl -161(%rbp), %eax
cmpl $0, %eax
je LBB4_10
## %bb.9: ## in Loop: Header=BB4_7 Depth=2
movsbl -161(%rbp), %eax
cmpl $93, %eax
jne LBB4_11
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_13
LBB4_11: ## in Loop: Header=BB4_7 Depth=2
movsbl -161(%rbp), %esi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _libmin_printf
## %bb.12: ## in Loop: Header=BB4_7 Depth=2
movl -160(%rbp), %eax
addl $1, %eax
movl %eax, -160(%rbp)
jmp LBB4_7
LBB4_13: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _libmin_printf
jmp LBB4_17
LBB4_14: ## in Loop: Header=BB4_1 Depth=1
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl (%rax), %eax
cmpl $7, %eax
jne LBB4_16
## %bb.15: ## in Loop: Header=BB4_1 Depth=1
movq -152(%rbp), %rax
movslq -156(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movzbl 8(%rax), %esi
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _libmin_printf
LBB4_16: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_17
LBB4_17: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _libmin_printf
## %bb.18: ## in Loop: Header=BB4_1 Depth=1
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB4_1
LBB4_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_21
## %bb.20:
addq $176, %rsp
popq %rbp
retq
LBB4_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movq $68, -48(%rbp)
movq $0, -56(%rbp)
movq $0, -64(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax
cmpq -48(%rbp), %rax
jae LBB5_14
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -64(%rbp), %rcx
leaq _test_vector(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -64(%rbp), %rcx
leaq _test_vector(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
movq -64(%rbp), %rcx
leaq _test_vector(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
cmpq $0, (%rax)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -28(%rbp)
movq -64(%rbp), %rcx
leaq _test_vector(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq 24(%rax), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
leaq -32(%rbp), %rdx
callq _re_match
movl %eax, -68(%rbp)
cmpl $0, -28(%rbp)
je LBB5_6
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
cmpl $-1, -68(%rbp)
je LBB5_5
## %bb.4: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _libmin_printf
movq -24(%rbp), %rdi
callq _re_compile
movq %rax, %rdi
callq _re_print
movq -64(%rbp), %rsi
addq $1, %rsi
movq -48(%rbp), %rdx
movq -24(%rbp), %rcx
movq -16(%rbp), %r8
movl -32(%rbp), %r9d
leaq L_.str.112(%rip), %rdi
movb $0, %al
callq _libmin_printf
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_12
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
cmpl $-1, -68(%rbp)
jne LBB5_8
## %bb.7: ## in Loop: Header=BB5_1 Depth=1
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _libmin_printf
movq -24(%rbp), %rdi
callq _re_compile
movq %rax, %rdi
callq _re_print
movq -64(%rbp), %rsi
addq $1, %rsi
movq -48(%rbp), %rdx
movq -24(%rbp), %rcx
movq -16(%rbp), %r8
leaq L_.str.113(%rip), %rdi
movb $0, %al
callq _libmin_printf
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB5_11
LBB5_8: ## in Loop: Header=BB5_1 Depth=1
movl -32(%rbp), %eax
cmpl -36(%rbp), %eax
je LBB5_10
## %bb.9: ## in Loop: Header=BB5_1 Depth=1
movq -64(%rbp), %rsi
addq $1, %rsi
movq -48(%rbp), %rdx
movq -24(%rbp), %rcx
movl -32(%rbp), %r8d
movq -16(%rbp), %r9
movl -36(%rbp), %eax
leaq L_.str.114(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _libmin_printf
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
LBB5_10: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_11
LBB5_11: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_12
LBB5_12: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_13
LBB5_13: ## in Loop: Header=BB5_1 Depth=1
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
jmp LBB5_1
LBB5_14:
movq -48(%rbp), %rsi
subq -56(%rbp), %rsi
movq -48(%rbp), %rdx
leaq L_.str.115(%rip), %rdi
movb $0, %al
callq _libmin_printf
cmpq $0, -56(%rbp)
je LBB5_16
## %bb.15:
movq -56(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
jmp LBB5_18
LBB5_16:
callq _libmin_success
## %bb.17:
movl $0, -4(%rbp)
LBB5_18:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchquestion
_matchquestion: ## @matchquestion
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movb %dil, %al
movb %al, -24(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movzbl -24(%rbp), %eax
cmpl $0, %eax
jne LBB6_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB6_10
LBB6_2:
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
callq _matchpattern
cmpl $0, %eax
je LBB6_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB6_10
LBB6_4:
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB6_9
## %bb.5:
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb (%rax), %al
movb -24(%rbp), %cl
movq -16(%rbp), %rsi
movzbl %cl, %edi
movsbl %al, %edx
callq _matchone
cmpl $0, %eax
je LBB6_9
## %bb.6:
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
callq _matchpattern
cmpl $0, %eax
je LBB6_8
## %bb.7:
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $1, -4(%rbp)
jmp LBB6_10
LBB6_8:
jmp LBB6_9
LBB6_9:
movl $0, -4(%rbp)
LBB6_10:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchstar
_matchstar: ## @matchstar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movb %dil, %al
movb %al, -24(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movq -40(%rbp), %rax
movq %rax, -64(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -65(%rbp) ## 1-byte Spill
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -40(%rbp), %rax
movb (%rax), %al
movb -24(%rbp), %cl
movq -16(%rbp), %rsi
movzbl %cl, %edi
movsbl %al, %edx
callq _matchone
cmpl $0, %eax
setne %al
movb %al, -65(%rbp) ## 1-byte Spill
LBB7_3: ## in Loop: Header=BB7_1 Depth=1
movb -65(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB7_4
jmp LBB7_5
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB7_1
LBB7_5:
jmp LBB7_6
LBB7_6: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -64(%rbp), %rax
jb LBB7_10
## %bb.7: ## in Loop: Header=BB7_6 Depth=1
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq %rsi, %rax
addq $-1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rdx
callq _matchpattern
cmpl $0, %eax
je LBB7_9
## %bb.8:
movl $1, -4(%rbp)
jmp LBB7_11
LBB7_9: ## in Loop: Header=BB7_6 Depth=1
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
jmp LBB7_6
LBB7_10:
movl -52(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
LBB7_11:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchplus
_matchplus: ## @matchplus
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movb %dil, %al
movb %al, -24(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq -40(%rbp), %rax
movq %rax, -56(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -57(%rbp) ## 1-byte Spill
je LBB8_3
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq -40(%rbp), %rax
movb (%rax), %al
movb -24(%rbp), %cl
movq -16(%rbp), %rsi
movzbl %cl, %edi
movsbl %al, %edx
callq _matchone
cmpl $0, %eax
setne %al
movb %al, -57(%rbp) ## 1-byte Spill
LBB8_3: ## in Loop: Header=BB8_1 Depth=1
movb -57(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB8_4
jmp LBB8_5
LBB8_4: ## in Loop: Header=BB8_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
jmp LBB8_1
LBB8_5:
jmp LBB8_6
LBB8_6: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
jbe LBB8_10
## %bb.7: ## in Loop: Header=BB8_6 Depth=1
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq %rsi, %rax
addq $-1, %rax
movq %rax, -40(%rbp)
movq -48(%rbp), %rdx
callq _matchpattern
cmpl $0, %eax
je LBB8_9
## %bb.8:
movl $1, -4(%rbp)
jmp LBB8_11
LBB8_9: ## in Loop: Header=BB8_6 Depth=1
movq -48(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
jmp LBB8_6
LBB8_10:
movl $0, -4(%rbp)
LBB8_11:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchone
_matchone: ## @matchone
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movb %dl, %al
movb %dil, %cl
movb %cl, -24(%rbp)
movq %rsi, -16(%rbp)
movb %al, -25(%rbp)
movzbl -24(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -40(%rbp) ## 8-byte Spill
subl $14, %eax
ja LBB9_10
## %bb.12:
movq -40(%rbp), %rax ## 8-byte Reload
leaq LJTI9_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB9_1:
movsbl -25(%rbp), %edi
callq _matchdot
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_2:
movb -25(%rbp), %al
movq -16(%rbp), %rsi
movsbl %al, %edi
callq _matchcharclass
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_3:
movb -25(%rbp), %al
movq -16(%rbp), %rsi
movsbl %al, %edi
callq _matchcharclass
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_4:
movsbl -25(%rbp), %edi
callq _matchdigit
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_5:
movsbl -25(%rbp), %edi
callq _matchdigit
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_6:
movsbl -25(%rbp), %edi
callq _matchalphanum
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_7:
movsbl -25(%rbp), %edi
callq _matchalphanum
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_8:
movsbl -25(%rbp), %edi
callq _matchwhitespace
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_9:
movsbl -25(%rbp), %edi
callq _matchwhitespace
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB9_11
LBB9_10:
movzbl -16(%rbp), %eax
movsbl -25(%rbp), %ecx
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
LBB9_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L9_0_set_1, LBB9_1-LJTI9_0
.set L9_0_set_10, LBB9_10-LJTI9_0
.set L9_0_set_2, LBB9_2-LJTI9_0
.set L9_0_set_3, LBB9_3-LJTI9_0
.set L9_0_set_4, LBB9_4-LJTI9_0
.set L9_0_set_5, LBB9_5-LJTI9_0
.set L9_0_set_6, LBB9_6-LJTI9_0
.set L9_0_set_7, LBB9_7-LJTI9_0
.set L9_0_set_8, LBB9_8-LJTI9_0
.set L9_0_set_9, LBB9_9-LJTI9_0
LJTI9_0:
.long L9_0_set_1
.long L9_0_set_10
.long L9_0_set_10
.long L9_0_set_10
.long L9_0_set_10
.long L9_0_set_10
.long L9_0_set_10
.long L9_0_set_2
.long L9_0_set_3
.long L9_0_set_4
.long L9_0_set_5
.long L9_0_set_6
.long L9_0_set_7
.long L9_0_set_8
.long L9_0_set_9
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function matchdot
_matchdot: ## @matchdot
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchcharclass
_matchcharclass: ## @matchcharclass
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %dil, %al
movb %al, -5(%rbp)
movq %rsi, -16(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movb -5(%rbp), %al
movq -16(%rbp), %rsi
movsbl %al, %edi
callq _matchrange
cmpl $0, %eax
je LBB11_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB11_22
LBB11_3: ## in Loop: Header=BB11_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $92, %eax
jne LBB11_11
## %bb.4: ## in Loop: Header=BB11_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
movb -5(%rbp), %al
movq -16(%rbp), %rsi
movsbl %al, %edi
callq _matchmetachar
cmpl $0, %eax
je LBB11_6
## %bb.5:
movl $1, -4(%rbp)
jmp LBB11_22
LBB11_6: ## in Loop: Header=BB11_1 Depth=1
movsbl -5(%rbp), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB11_9
## %bb.7: ## in Loop: Header=BB11_1 Depth=1
movsbl -5(%rbp), %edi
callq _ismetachar
cmpl $0, %eax
jne LBB11_9
## %bb.8:
movl $1, -4(%rbp)
jmp LBB11_22
LBB11_9: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_10
LBB11_10: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_18
LBB11_11: ## in Loop: Header=BB11_1 Depth=1
movsbl -5(%rbp), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB11_17
## %bb.12:
movsbl -5(%rbp), %eax
cmpl $45, %eax
jne LBB11_16
## %bb.13:
movq -16(%rbp), %rax
movsbl -1(%rax), %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB11_15
## %bb.14:
movq -16(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $0, %eax
sete %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB11_15:
movb -17(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB11_22
LBB11_16:
movl $1, -4(%rbp)
jmp LBB11_22
LBB11_17: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_18
LBB11_18: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_19
LBB11_19: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_20
LBB11_20: ## in Loop: Header=BB11_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB11_1
## %bb.21:
movl $0, -4(%rbp)
LBB11_22:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchdigit
_matchdigit: ## @matchdigit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movsbl -1(%rbp), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $4, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchalphanum
_matchalphanum: ## @matchalphanum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $95, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB13_3
## %bb.1:
movsbl -1(%rbp), %edi
callq _matchalpha
movl %eax, %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
jne LBB13_3
## %bb.2:
movsbl -1(%rbp), %edi
callq _matchdigit
cmpl $0, %eax
setne %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB13_3:
movb -2(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchwhitespace
_matchwhitespace: ## @matchwhitespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movsbl -1(%rbp), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $8, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchrange
_matchrange: ## @matchrange
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movq %rsi, -16(%rbp)
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $45, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB15_8
## %bb.1:
movq -16(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB15_8
## %bb.2:
movq -16(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $45, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB15_8
## %bb.3:
movq -16(%rbp), %rax
movsbl 1(%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $45, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
jne LBB15_8
## %bb.4:
movq -16(%rbp), %rax
movsbl 2(%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB15_8
## %bb.5:
movsbl -1(%rbp), %ecx
movq -16(%rbp), %rax
movsbl (%rax), %edx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl %edx, %ecx
movb %al, -18(%rbp) ## 1-byte Spill
jl LBB15_7
## %bb.6:
movsbl -1(%rbp), %eax
movq -16(%rbp), %rcx
movsbl 2(%rcx), %ecx
cmpl %ecx, %eax
setle %al
movb %al, -18(%rbp) ## 1-byte Spill
LBB15_7:
movb -18(%rbp), %al ## 1-byte Reload
movb %al, -17(%rbp) ## 1-byte Spill
LBB15_8:
movb -17(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchmetachar
_matchmetachar: ## @matchmetachar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %dil, %al
movb %al, -5(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
addl $-68, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $51, %eax
ja LBB16_7
## %bb.9:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI16_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB16_1:
movsbl -5(%rbp), %edi
callq _matchdigit
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_2:
movsbl -5(%rbp), %edi
callq _matchdigit
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_3:
movsbl -5(%rbp), %edi
callq _matchalphanum
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_4:
movsbl -5(%rbp), %edi
callq _matchalphanum
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_5:
movsbl -5(%rbp), %edi
callq _matchwhitespace
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_6:
movsbl -5(%rbp), %edi
callq _matchwhitespace
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
jmp LBB16_8
LBB16_7:
movsbl -5(%rbp), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -4(%rbp)
LBB16_8:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L16_0_set_2, LBB16_2-LJTI16_0
.set L16_0_set_7, LBB16_7-LJTI16_0
.set L16_0_set_6, LBB16_6-LJTI16_0
.set L16_0_set_4, LBB16_4-LJTI16_0
.set L16_0_set_1, LBB16_1-LJTI16_0
.set L16_0_set_5, LBB16_5-LJTI16_0
.set L16_0_set_3, LBB16_3-LJTI16_0
LJTI16_0:
.long L16_0_set_2
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_6
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_4
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_1
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_5
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_7
.long L16_0_set_3
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function ismetachar
_ismetachar: ## @ismetachar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $115, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB17_6
## %bb.1:
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $83, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB17_6
## %bb.2:
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $119, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB17_6
## %bb.3:
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $87, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB17_6
## %bb.4:
movsbl -1(%rbp), %ecx
movb $1, %al
cmpl $100, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
je LBB17_6
## %bb.5:
movsbl -1(%rbp), %eax
cmpl $68, %eax
sete %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB17_6:
movb -2(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchalpha
_matchalpha: ## @matchalpha
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movsbl -1(%rbp), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $3, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_re_compile.re_compiled,480,4 ## @re_compile.re_compiled
.zerofill __DATA,__bss,_re_compile.ccl_buf,40,4 ## @re_compile.ccl_buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "UNUSED"
L_.str.1: ## @.str.1
.asciz "DOT"
L_.str.2: ## @.str.2
.asciz "BEGIN"
L_.str.3: ## @.str.3
.asciz "END"
L_.str.4: ## @.str.4
.asciz "QUESTIONMARK"
L_.str.5: ## @.str.5
.asciz "STAR"
L_.str.6: ## @.str.6
.asciz "PLUS"
L_.str.7: ## @.str.7
.asciz "CHAR"
L_.str.8: ## @.str.8
.asciz "CHAR_CLASS"
L_.str.9: ## @.str.9
.asciz "INV_CHAR_CLASS"
L_.str.10: ## @.str.10
.asciz "DIGIT"
L_.str.11: ## @.str.11
.asciz "NOT_DIGIT"
L_.str.12: ## @.str.12
.asciz "ALPHA"
L_.str.13: ## @.str.13
.asciz "NOT_ALPHA"
L_.str.14: ## @.str.14
.asciz "WHITESPACE"
L_.str.15: ## @.str.15
.asciz "NOT_WHITESPACE"
L_.str.16: ## @.str.16
.asciz "BRANCH"
.section __DATA,__const
.p2align 4 ## @__const.re_print.types
l___const.re_print.types:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.section __TEXT,__cstring,cstring_literals
L_.str.17: ## @.str.17
.asciz "type: %s"
L_.str.18: ## @.str.18
.asciz " ["
L_.str.19: ## @.str.19
.asciz "%c"
L_.str.20: ## @.str.20
.asciz "]"
L_.str.21: ## @.str.21
.asciz " '%c'"
L_.str.22: ## @.str.22
.asciz "\n"
L_.str.23: ## @.str.23
.asciz "\\d"
L_.str.24: ## @.str.24
.asciz "5"
L_.str.25: ## @.str.25
.asciz "\\w+"
L_.str.26: ## @.str.26
.asciz "hej"
L_.str.27: ## @.str.27
.asciz "\\s"
L_.str.28: ## @.str.28
.asciz "\t \n"
L_.str.29: ## @.str.29
.asciz "\\S"
L_.str.30: ## @.str.30
.asciz "[\\s]"
L_.str.31: ## @.str.31
.asciz "[\\S]"
L_.str.32: ## @.str.32
.asciz "\\D"
L_.str.33: ## @.str.33
.asciz "\\W+"
L_.str.34: ## @.str.34
.asciz "[0-9]+"
L_.str.35: ## @.str.35
.asciz "12345"
L_.str.36: ## @.str.36
.asciz "[^\\w]"
L_.str.37: ## @.str.37
.asciz "\\"
L_.str.38: ## @.str.38
.asciz "[\\W]"
L_.str.39: ## @.str.39
.asciz "[\\w]"
L_.str.40: ## @.str.40
.asciz "[^\\d]"
L_.str.41: ## @.str.41
.asciz "d"
L_.str.42: ## @.str.42
.asciz "[\\d]"
L_.str.43: ## @.str.43
.asciz "[^\\D]"
L_.str.44: ## @.str.44
.asciz "[\\D]"
L_.str.45: ## @.str.45
.asciz "^.*\\\\.*$"
L_.str.46: ## @.str.46
.asciz "c:\\Tools"
L_.str.47: ## @.str.47
.asciz "^[\\+-]*[\\d]+$"
L_.str.48: ## @.str.48
.asciz "+27"
L_.str.49: ## @.str.49
.asciz "[abc]"
L_.str.50: ## @.str.50
.asciz "1c2"
L_.str.51: ## @.str.51
.asciz "1C2"
L_.str.52: ## @.str.52
.asciz "[1-5]+"
L_.str.53: ## @.str.53
.asciz "0123456789"
L_.str.54: ## @.str.54
.asciz "[.2]"
L_.str.55: ## @.str.55
.asciz "a*$"
L_.str.56: ## @.str.56
.asciz "Xaa"
L_.str.57: ## @.str.57
.asciz "[a-h]+"
L_.str.58: ## @.str.58
.asciz "abcdefghxxx"
L_.str.59: ## @.str.59
.asciz "ABCDEFGH"
L_.str.60: ## @.str.60
.asciz "[A-H]+"
L_.str.61: ## @.str.61
.asciz "abcdefgh"
L_.str.62: ## @.str.62
.asciz "[^\\s]+"
L_.str.63: ## @.str.63
.asciz "abc def"
L_.str.64: ## @.str.64
.asciz "[^fc]+"
L_.str.65: ## @.str.65
.asciz "[^d\\sf]+"
L_.str.66: ## @.str.66
.asciz "abc\ndef"
L_.str.67: ## @.str.67
.asciz "b.\\s*\n"
L_.str.68: ## @.str.68
.asciz "aa\r\nbb\r\ncc\r\n\r\n"
L_.str.69: ## @.str.69
.asciz ".*c"
L_.str.70: ## @.str.70
.asciz "abcabc"
L_.str.71: ## @.str.71
.asciz ".+c"
L_.str.72: ## @.str.72
.asciz "[b-z].*"
L_.str.73: ## @.str.73
.asciz "ab"
L_.str.74: ## @.str.74
.asciz "b[k-z]*"
L_.str.75: ## @.str.75
.asciz "[0-9]"
L_.str.76: ## @.str.76
.asciz " - "
L_.str.77: ## @.str.77
.asciz "[^0-9]"
L_.str.78: ## @.str.78
.asciz "0|"
L_.str.79: ## @.str.79
.asciz "\\d\\d:\\d\\d:\\d\\d"
L_.str.80: ## @.str.80
.asciz "0s:00:00"
L_.str.81: ## @.str.81
.asciz "000:00"
L_.str.82: ## @.str.82
.asciz "00:0000"
L_.str.83: ## @.str.83
.asciz "100:0:00"
L_.str.84: ## @.str.84
.asciz "00:100:00"
L_.str.85: ## @.str.85
.asciz "0:00:100"
L_.str.86: ## @.str.86
.asciz "\\d\\d?:\\d\\d?:\\d\\d?"
L_.str.87: ## @.str.87
.asciz "0:0:0"
L_.str.88: ## @.str.88
.asciz "0:00:0"
L_.str.89: ## @.str.89
.asciz "0:0:00"
L_.str.90: ## @.str.90
.asciz "00:0:0"
L_.str.91: ## @.str.91
.asciz "00:00:0"
L_.str.92: ## @.str.92
.asciz "00:0:00"
L_.str.93: ## @.str.93
.asciz "0:00:00"
L_.str.94: ## @.str.94
.asciz "00:00:00"
L_.str.95: ## @.str.95
.asciz "[Hh]ello [Ww]orld\\s*[!]?"
L_.str.96: ## @.str.96
.asciz "Hello world !"
L_.str.97: ## @.str.97
.asciz "hello world !"
L_.str.98: ## @.str.98
.asciz "Hello World !"
L_.str.99: ## @.str.99
.asciz "Hello world! "
L_.str.100: ## @.str.100
.asciz "Hello world !"
L_.str.101: ## @.str.101
.asciz "hello World !"
L_.str.102: ## @.str.102
.asciz "a:0"
L_.str.103: ## @.str.103
.asciz ".?bar"
L_.str.104: ## @.str.104
.asciz "real_bar"
L_.str.105: ## @.str.105
.asciz "real_foo"
L_.str.106: ## @.str.106
.asciz "X?Y"
L_.str.107: ## @.str.107
.asciz "Z"
L_.str.108: ## @.str.108
.asciz "[a-z]+\nbreak"
L_.str.109: ## @.str.109
.asciz "blahblah\nbreak"
L_.str.110: ## @.str.110
.asciz "[a-z\\s]+\nbreak"
L_.str.111: ## @.str.111
.asciz "bla bla \nbreak"
.section __DATA,__data
.globl _test_vector ## @test_vector
.p2align 4
_test_vector:
.quad 1
.quad L_.str.23
.quad L_.str.24
.quad 1
.quad 1
.quad L_.str.25
.quad L_.str.26
.quad 3
.quad 1
.quad L_.str.27
.quad L_.str.28
.quad 1
.quad 0
.quad L_.str.29
.quad L_.str.28
.quad 0
.quad 1
.quad L_.str.30
.quad L_.str.28
.quad 1
.quad 0
.quad L_.str.31
.quad L_.str.28
.quad 0
.quad 0
.quad L_.str.32
.quad L_.str.24
.quad 0
.quad 0
.quad L_.str.33
.quad L_.str.26
.quad 0
.quad 1
.quad L_.str.34
.quad L_.str.35
.quad 5
.quad 1
.quad L_.str.32
.quad L_.str.26
.quad 1
.quad 0
.quad L_.str.23
.quad L_.str.26
.quad 0
.quad 1
.quad L_.str.36
.quad L_.str.37
.quad 1
.quad 1
.quad L_.str.38
.quad L_.str.37
.quad 1
.quad 0
.quad L_.str.39
.quad L_.str.37
.quad 0
.quad 1
.quad L_.str.40
.quad L_.str.41
.quad 1
.quad 0
.quad L_.str.42
.quad L_.str.41
.quad 0
.quad 0
.quad L_.str.43
.quad L_.str.41
.quad 0
.quad 1
.quad L_.str.44
.quad L_.str.41
.quad 1
.quad 1
.quad L_.str.45
.quad L_.str.46
.quad 8
.quad 1
.quad L_.str.47
.quad L_.str.48
.quad 3
.quad 1
.quad L_.str.49
.quad L_.str.50
.quad 1
.quad 0
.quad L_.str.49
.quad L_.str.51
.quad 0
.quad 1
.quad L_.str.52
.quad L_.str.53
.quad 5
.quad 1
.quad L_.str.54
.quad L_.str.51
.quad 1
.quad 1
.quad L_.str.55
.quad L_.str.56
.quad 2
.quad 1
.quad L_.str.55
.quad L_.str.56
.quad 2
.quad 1
.quad L_.str.57
.quad L_.str.58
.quad 8
.quad 0
.quad L_.str.57
.quad L_.str.59
.quad 0
.quad 1
.quad L_.str.60
.quad L_.str.59
.quad 8
.quad 0
.quad L_.str.60
.quad L_.str.61
.quad 0
.quad 1
.quad L_.str.62
.quad L_.str.63
.quad 3
.quad 1
.quad L_.str.64
.quad L_.str.63
.quad 2
.quad 1
.quad L_.str.65
.quad L_.str.63
.quad 3
.quad 1
.quad L_.str.22
.quad L_.str.66
.quad 1
.quad 1
.quad L_.str.67
.quad L_.str.68
.quad 4
.quad 1
.quad L_.str.69
.quad L_.str.70
.quad 6
.quad 1
.quad L_.str.71
.quad L_.str.70
.quad 6
.quad 1
.quad L_.str.72
.quad L_.str.73
.quad 1
.quad 1
.quad L_.str.74
.quad L_.str.73
.quad 1
.quad 0
.quad L_.str.75
.quad L_.str.76
.quad 0
.quad 1
.quad L_.str.77
.quad L_.str.76
.quad 1
.quad 1
.quad L_.str.78
.quad L_.str.78
.quad 2
.quad 0
.quad L_.str.79
.quad L_.str.80
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.81
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.82
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.83
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.84
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.85
.quad 0
.quad 1
.quad L_.str.86
.quad L_.str.87
.quad 5
.quad 1
.quad L_.str.86
.quad L_.str.88
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.89
.quad 5
.quad 1
.quad L_.str.86
.quad L_.str.90
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.91
.quad 7
.quad 1
.quad L_.str.86
.quad L_.str.92
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.93
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.94
.quad 7
.quad 1
.quad L_.str.95
.quad L_.str.96
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.97
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.98
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.99
.quad 11
.quad 1
.quad L_.str.95
.quad L_.str.100
.quad 13
.quad 1
.quad L_.str.95
.quad L_.str.101
.quad 15
.quad 0
.quad L_.str.86
.quad L_.str.102
.quad 0
.quad 1
.quad L_.str.103
.quad L_.str.104
.quad 4
.quad 0
.quad L_.str.103
.quad L_.str.105
.quad 0
.quad 0
.quad L_.str.106
.quad L_.str.107
.quad 0
.quad 1
.quad L_.str.108
.quad L_.str.109
.quad 14
.quad 1
.quad L_.str.110
.quad L_.str.111
.quad 14
.section __TEXT,__cstring,cstring_literals
L_.str.112: ## @.str.112
.asciz "[%lu/%lu]: pattern '%s' matched '%s' unexpectedly, matched %i chars. \n"
L_.str.113: ## @.str.113
.asciz "[%lu/%lu]: pattern '%s' didn't match '%s' as expected. \n"
L_.str.114: ## @.str.114
.asciz "[%lu/%lu]: pattern '%s' matched '%i' chars of '%s'; expected '%i'. \n"
L_.str.115: ## @.str.115
.asciz "%lu/%lu tests succeeded.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _re_match ; -- Begin function re_match
.p2align 2
_re_match: ; @re_match
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
bl _re_compile
ldr x1, [sp, #16]
ldr x2, [sp, #8]
bl _re_matchp
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _re_matchp ; -- Begin function re_matchp
.p2align 2
_re_matchp: ; @re_matchp
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #16]
str wzr, [x8]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_1
LBB1_1:
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldur x8, [x29, #-16]
add x0, x8, #16
ldr x1, [sp, #24]
ldr x2, [sp, #16]
bl _matchpattern
subs w8, w0, #0
cset w8, ne
and w8, w8, #0x1
ands w8, w8, #0x1
csetm w8, eq
stur w8, [x29, #-4]
b LBB1_13
LBB1_3:
mov w8, #-1
str w8, [sp, #12]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldur x0, [x29, #-16]
ldr x1, [sp, #24]
ldr x2, [sp, #16]
bl _matchpattern
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_13
LBB1_7:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB1_13
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_10
LBB1_10:
b LBB1_11
LBB1_11:
b LBB1_12
LBB1_12:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_13
LBB1_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _re_compile ; -- Begin function re_compile
.p2align 2
_re_compile: ; @re_compile
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #48]
mov w8, #1
str w8, [sp, #44]
str wzr, [sp, #36]
str wzr, [sp, #32]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_30 Depth 2
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
subs w8, w8, #30
cset w8, lt
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbz w8, #0, LBB2_50
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #43]
ldrsb w8, [sp, #43]
subs w8, w8, #36
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #58
cset w8, hi
tbnz w8, #0, LBB2_46
; %bb.5: ; in Loop: Header=BB2_1 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI2_0@PAGE
add x10, x10, lJTI2_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #2
strb w8, [x9]
b LBB2_47
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #3
strb w8, [x9]
b LBB2_47
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #1
strb w8, [x9]
b LBB2_47
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #5
strb w8, [x9]
b LBB2_47
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #6
strb w8, [x9]
b LBB2_47
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #4
strb w8, [x9]
b LBB2_47
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #48]
ldr w9, [sp, #36]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_23
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
ldrsb w8, [x8, x9]
subs w8, w8, #68
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #51
cset w8, hi
tbnz w8, #0, LBB2_21
; %bb.14: ; in Loop: Header=BB2_1 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI2_1@PAGE
add x10, x10, lJTI2_1@PAGEOFF
Ltmp2:
adr x8, Ltmp2
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #10
strb w8, [x9]
b LBB2_22
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #11
strb w8, [x9]
b LBB2_22
LBB2_17: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #12
strb w8, [x9]
b LBB2_22
LBB2_18: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #13
strb w8, [x9]
b LBB2_22
LBB2_19: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #14
strb w8, [x9]
b LBB2_22
LBB2_20: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #15
strb w8, [x9]
b LBB2_22
LBB2_21: ; in Loop: Header=BB2_1 Depth=1
ldrsw x10, [sp, #32]
adrp x9, _re_compile.re_compiled@PAGE
add x9, x9, _re_compile.re_compiled@PAGEOFF
mov x8, x9
add x10, x8, x10, lsl #4
mov w8, #7
strb w8, [x10]
ldr x8, [sp, #48]
ldrsw x10, [sp, #36]
add x8, x8, x10
ldrb w8, [x8]
ldrsw x10, [sp, #32]
add x9, x9, x10, lsl #4
strb w8, [x9, #8]
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_1 Depth=1
b LBB2_23
LBB2_23: ; in Loop: Header=BB2_1 Depth=1
b LBB2_47
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #44]
str w8, [sp, #28]
ldr x8, [sp, #48]
ldr w9, [sp, #36]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #94
cset w8, ne
tbnz w8, #0, LBB2_28
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #9
strb w8, [x9]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr x8, [sp, #48]
ldr w9, [sp, #36]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_27: ; in Loop: Header=BB2_1 Depth=1
b LBB2_29
LBB2_28: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
add x9, x8, x9, lsl #4
mov w8, #8
strb w8, [x9]
b LBB2_29
LBB2_29: ; in Loop: Header=BB2_1 Depth=1
b LBB2_30
LBB2_30: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #48]
ldr w9, [sp, #36]
add w9, w9, #1
str w9, [sp, #36]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #93
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_32
b LBB2_31
LBB2_31: ; in Loop: Header=BB2_30 Depth=2
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB2_32
LBB2_32: ; in Loop: Header=BB2_30 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB2_43
b LBB2_33
LBB2_33: ; in Loop: Header=BB2_30 Depth=2
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
ldrsb w8, [x8, x9]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB2_39
b LBB2_34
LBB2_34: ; in Loop: Header=BB2_30 Depth=2
ldr w8, [sp, #44]
subs w8, w8, #39
cset w8, lt
tbnz w8, #0, LBB2_36
b LBB2_35
LBB2_35:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_36: ; in Loop: Header=BB2_30 Depth=2
ldr x8, [sp, #48]
ldr w9, [sp, #36]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_38
b LBB2_37
LBB2_37:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_38: ; in Loop: Header=BB2_30 Depth=2
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
mov x10, x9
add w10, w10, #1
str w10, [sp, #36]
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #44]
mov x9, x10
add w9, w9, #1
str w9, [sp, #44]
adrp x9, _re_compile.ccl_buf@PAGE
add x9, x9, _re_compile.ccl_buf@PAGEOFF
add x9, x9, x10
strb w8, [x9]
b LBB2_42
LBB2_39: ; in Loop: Header=BB2_30 Depth=2
ldr w8, [sp, #44]
subs w8, w8, #40
cset w8, lt
tbnz w8, #0, LBB2_41
b LBB2_40
LBB2_40:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_41: ; in Loop: Header=BB2_30 Depth=2
b LBB2_42
LBB2_42: ; in Loop: Header=BB2_30 Depth=2
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #44]
mov x9, x10
add w9, w9, #1
str w9, [sp, #44]
adrp x9, _re_compile.ccl_buf@PAGE
add x9, x9, _re_compile.ccl_buf@PAGEOFF
add x9, x9, x10
strb w8, [x9]
b LBB2_30
LBB2_43: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #40
cset w8, lt
tbnz w8, #0, LBB2_45
b LBB2_44
LBB2_44:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_45: ; in Loop: Header=BB2_1 Depth=1
ldrsw x10, [sp, #44]
mov x8, x10
add w8, w8, #1
str w8, [sp, #44]
adrp x8, _re_compile.ccl_buf@PAGE
add x8, x8, _re_compile.ccl_buf@PAGEOFF
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldrsw x9, [sp, #28]
add x8, x8, x9
ldrsw x10, [sp, #32]
adrp x9, _re_compile.re_compiled@PAGE
add x9, x9, _re_compile.re_compiled@PAGEOFF
add x9, x9, x10, lsl #4
str x8, [x9, #8]
b LBB2_47
LBB2_46: ; in Loop: Header=BB2_1 Depth=1
ldrsw x10, [sp, #32]
adrp x9, _re_compile.re_compiled@PAGE
add x9, x9, _re_compile.re_compiled@PAGEOFF
mov x8, x9
add x10, x8, x10, lsl #4
mov w8, #7
strb w8, [x10]
ldrb w8, [sp, #43]
ldrsw x10, [sp, #32]
add x9, x9, x10, lsl #4
strb w8, [x9, #8]
b LBB2_47
LBB2_47: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #48]
ldrsw x9, [sp, #36]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_49
b LBB2_48
LBB2_48:
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
b LBB2_51
LBB2_49: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_1
LBB2_50:
ldrsw x10, [sp, #32]
adrp x8, _re_compile.re_compiled@PAGE
add x8, x8, _re_compile.re_compiled@PAGEOFF
mov x9, x8
add x9, x9, x10, lsl #4
strb wzr, [x9]
str x8, [sp, #56]
b LBB2_51
LBB2_51:
ldr x0, [sp, #56]
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI2_0:
.long LBB2_7-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_9-Ltmp1
.long LBB2_10-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_8-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_11-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_24-Ltmp1
.long LBB2_12-Ltmp1
.long LBB2_46-Ltmp1
.long LBB2_6-Ltmp1
.p2align 2
lJTI2_1:
.long LBB2_16-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_20-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_18-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_15-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_19-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_21-Ltmp2
.long LBB2_17-Ltmp2
; -- End function
.p2align 2 ; -- Begin function matchpattern
_matchpattern: ; @matchpattern
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #16]
ldr w8, [x8]
str w8, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8, #16]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldur x8, [x29, #-16]
ldur x9, [x29, #-16]
add x2, x9, #32
ldr x3, [sp, #24]
ldr x4, [sp, #16]
ldr x0, [x8]
ldr x1, [x8, #8]
bl _matchquestion
stur w0, [x29, #-4]
b LBB3_19
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8, #16]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
ldur x8, [x29, #-16]
ldur x9, [x29, #-16]
add x2, x9, #32
ldr x3, [sp, #24]
ldr x4, [sp, #16]
ldr x0, [x8]
ldr x1, [x8, #8]
bl _matchstar
stur w0, [x29, #-4]
b LBB3_19
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8, #16]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
ldur x8, [x29, #-16]
ldur x9, [x29, #-16]
add x2, x9, #32
ldr x3, [sp, #24]
ldr x4, [sp, #16]
ldr x0, [x8]
ldr x1, [x8, #8]
bl _matchplus
stur w0, [x29, #-4]
b LBB3_19
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrb w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10:
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB3_19
LBB3_11: ; in Loop: Header=BB3_1 Depth=1
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_1 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
add x9, x8, #16
stur x9, [x29, #-16]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
ldrsb w2, [x9]
ldr x0, [x8]
ldr x1, [x8, #8]
bl _matchone
subs w8, w0, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbnz w8, #0, LBB3_1
b LBB3_18
LBB3_18:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
str w8, [x9]
stur wzr, [x29, #-4]
b LBB3_19
LBB3_19:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _re_print ; -- Begin function re_print
.p2align 2
_re_print: ; @re_print
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #24]
add x0, sp, #32
adrp x1, l___const.re_print.types@PAGE
add x1, x1, l___const.re_print.types@PAGEOFF
mov x2, #136
bl _memcpy
str wzr, [sp, #20]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_7 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB4_19
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
lsl x9, x9, #4
ldrb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
b LBB4_19
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
lsl x9, x9, #4
ldrb w8, [x8, x9]
mov x9, x8
add x8, sp, #32
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _libmin_printf
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
lsl x9, x9, #4
ldrb w8, [x8, x9]
subs w8, w8, #8
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
lsl x9, x9, #4
ldrb w8, [x8, x9]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB4_14
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
str wzr, [sp, #16]
b LBB4_7
LBB4_7: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #40
cset w8, ge
tbnz w8, #0, LBB4_13
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_7 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_7 Depth=2
ldrsb w8, [sp, #15]
subs w8, w8, #93
cset w8, ne
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
b LBB4_13
LBB4_11: ; in Loop: Header=BB4_7 Depth=2
ldrsb w10, [sp, #15]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _libmin_printf
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_7 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_7
LBB4_13: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _libmin_printf
b LBB4_17
LBB4_14: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
lsl x9, x9, #4
ldrb w8, [x8, x9]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB4_16
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
add x8, x8, x9, lsl #4
ldrb w10, [x8, #8]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _libmin_printf
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_1 Depth=1
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB4_1
LBB4_19:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_21
b LBB4_20
LBB4_20:
bl ___stack_chk_fail
LBB4_21:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x8, #68
stur x8, [x29, #-48]
stur xzr, [x29, #-56]
str xzr, [sp, #64]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #64]
ldur x9, [x29, #-48]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB5_14
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x10, [sp, #64]
adrp x8, _test_vector@PAGE
add x8, x8, _test_vector@PAGEOFF
mov x9, x8
add x9, x9, x10, lsl #5
ldr x9, [x9, #8]
stur x9, [x29, #-24]
ldr x10, [sp, #64]
mov x9, x8
add x9, x9, x10, lsl #5
ldr x9, [x9, #16]
stur x9, [x29, #-16]
ldr x9, [sp, #64]
lsl x9, x9, #5
ldr x9, [x8, x9]
subs x9, x9, #0
cset w9, eq
and w9, w9, #0x1
stur w9, [x29, #-28]
ldr x9, [sp, #64]
add x8, x8, x9, lsl #5
ldr x8, [x8, #24]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-36]
ldur x0, [x29, #-24]
ldur x1, [x29, #-16]
sub x2, x29, #32
bl _re_match
str w0, [sp, #60]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
ldur x0, [x29, #-24]
bl _re_compile
bl _re_print
ldr x8, [sp, #64]
add x13, x8, #1
ldur x12, [x29, #-48]
ldur x11, [x29, #-24]
ldur x10, [x29, #-16]
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.112@PAGE
add x0, x0, l_.str.112@PAGEOFF
bl _libmin_printf
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
b LBB5_12
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_1 Depth=1
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
ldur x0, [x29, #-24]
bl _re_compile
bl _re_print
ldr x8, [sp, #64]
add x12, x8, #1
ldur x11, [x29, #-48]
ldur x10, [x29, #-24]
ldur x8, [x29, #-16]
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.113@PAGE
add x0, x0, l_.str.113@PAGEOFF
bl _libmin_printf
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
b LBB5_11
LBB5_8: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-32]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #64]
add x14, x8, #1
ldur x13, [x29, #-48]
ldur x12, [x29, #-24]
ldur w8, [x29, #-32]
; implicit-def: $x11
mov x11, x8
ldur x10, [x29, #-16]
ldur w9, [x29, #-36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.114@PAGE
add x0, x0, l_.str.114@PAGEOFF
bl _libmin_printf
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_1 Depth=1
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_1 Depth=1
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_1 Depth=1
b LBB5_13
LBB5_13: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB5_1
LBB5_14:
ldur x8, [x29, #-48]
ldur x9, [x29, #-56]
subs x10, x8, x9
ldur x8, [x29, #-48]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.115@PAGE
add x0, x0, l_.str.115@PAGEOFF
bl _libmin_printf
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_16
b LBB5_15
LBB5_15:
ldur x8, [x29, #-56]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
b LBB5_18
LBB5_16:
bl _libmin_success
b LBB5_17
LBB5_17:
stur wzr, [x29, #-4]
b LBB5_18
LBB5_18:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchquestion
_matchquestion: ; @matchquestion
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #24]
str x1, [sp, #32]
str x2, [sp, #16]
str x3, [sp, #8]
str x4, [sp]
ldrb w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_10
LBB6_2:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr x2, [sp]
bl _matchpattern
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_10
LBB6_4:
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_9
b LBB6_5
LBB6_5:
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrsb w2, [x8]
ldr x0, [sp, #24]
ldr x1, [sp, #32]
bl _matchone
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_9
b LBB6_6
LBB6_6:
ldr x0, [sp, #16]
ldr x1, [sp, #8]
ldr x2, [sp]
bl _matchpattern
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
ldr x10, [sp]
ldr w9, [x10]
mov w8, #1
add w9, w9, #1
str w9, [x10]
stur w8, [x29, #-4]
b LBB6_10
LBB6_8:
b LBB6_9
LBB6_9:
stur wzr, [x29, #-4]
b LBB6_10
LBB6_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchstar
_matchstar: ; @matchstar
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-24]
stur x1, [x29, #-16]
stur x2, [x29, #-32]
str x3, [sp, #40]
str x4, [sp, #32]
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #28]
ldr x8, [sp, #40]
str x8, [sp, #16]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #40]
ldrsb w2, [x8]
ldur x0, [x29, #-24]
ldur x1, [x29, #-16]
bl _matchone
subs w8, w0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB7_5
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB7_1
LBB7_5:
b LBB7_6
LBB7_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB7_10
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_6 Depth=1
ldur x0, [x29, #-32]
ldr x1, [sp, #40]
mov x8, x1
subs x8, x8, #1
str x8, [sp, #40]
ldr x2, [sp, #32]
bl _matchpattern
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB7_9
b LBB7_8
LBB7_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB7_11
LBB7_9: ; in Loop: Header=BB7_6 Depth=1
ldr x9, [sp, #32]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB7_6
LBB7_10:
ldr w8, [sp, #28]
ldr x9, [sp, #32]
str w8, [x9]
stur wzr, [x29, #-4]
b LBB7_11
LBB7_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchplus
_matchplus: ; @matchplus
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-24]
stur x1, [x29, #-16]
str x2, [sp, #32]
str x3, [sp, #24]
str x4, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp, #24]
ldrsb w2, [x8]
ldur x0, [x29, #-24]
ldur x1, [x29, #-16]
bl _matchone
subs w8, w0, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB8_5
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
ldr x9, [sp, #16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB8_1
LBB8_5:
b LBB8_6
LBB8_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB8_10
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_6 Depth=1
ldr x0, [sp, #32]
ldr x1, [sp, #24]
mov x8, x1
subs x8, x8, #1
str x8, [sp, #24]
ldr x2, [sp, #16]
bl _matchpattern
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB8_9
b LBB8_8
LBB8_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB8_11
LBB8_9: ; in Loop: Header=BB8_6 Depth=1
ldr x9, [sp, #16]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB8_6
LBB8_10:
stur wzr, [x29, #-4]
b LBB8_11
LBB8_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchone
_matchone: ; @matchone
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #24]
str x1, [sp, #32]
strb w2, [sp, #23]
ldrb w8, [sp, #24]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #14
cset w8, hi
tbnz w8, #0, LBB9_11
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI9_0@PAGE
add x10, x10, lJTI9_0@PAGEOFF
Ltmp3:
adr x8, Ltmp3
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB9_2:
ldrsb w0, [sp, #23]
bl _matchdot
stur w0, [x29, #-4]
b LBB9_12
LBB9_3:
ldrsb w0, [sp, #23]
ldr x1, [sp, #32]
bl _matchcharclass
stur w0, [x29, #-4]
b LBB9_12
LBB9_4:
ldrsb w0, [sp, #23]
ldr x1, [sp, #32]
bl _matchcharclass
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB9_12
LBB9_5:
ldrsb w0, [sp, #23]
bl _matchdigit
stur w0, [x29, #-4]
b LBB9_12
LBB9_6:
ldrsb w0, [sp, #23]
bl _matchdigit
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB9_12
LBB9_7:
ldrsb w0, [sp, #23]
bl _matchalphanum
stur w0, [x29, #-4]
b LBB9_12
LBB9_8:
ldrsb w0, [sp, #23]
bl _matchalphanum
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB9_12
LBB9_9:
ldrsb w0, [sp, #23]
bl _matchwhitespace
stur w0, [x29, #-4]
b LBB9_12
LBB9_10:
ldrsb w0, [sp, #23]
bl _matchwhitespace
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB9_12
LBB9_11:
ldrb w8, [sp, #32]
ldrsb w9, [sp, #23]
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB9_12
LBB9_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI9_0:
.long LBB9_2-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_11-Ltmp3
.long LBB9_3-Ltmp3
.long LBB9_4-Ltmp3
.long LBB9_5-Ltmp3
.long LBB9_6-Ltmp3
.long LBB9_7-Ltmp3
.long LBB9_8-Ltmp3
.long LBB9_9-Ltmp3
.long LBB9_10-Ltmp3
; -- End function
.p2align 2 ; -- Begin function matchdot
_matchdot: ; @matchdot
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchcharclass
_matchcharclass: ; @matchcharclass
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-5]
str x1, [sp, #16]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldursb w0, [x29, #-5]
ldr x1, [sp, #16]
bl _matchrange
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB11_3
b LBB11_2
LBB11_2:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_22
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #92
cset w8, ne
tbnz w8, #0, LBB11_11
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
ldursb w0, [x29, #-5]
ldr x1, [sp, #16]
bl _matchmetachar
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_22
LBB11_6: ; in Loop: Header=BB11_1 Depth=1
ldursb w8, [x29, #-5]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB11_9
b LBB11_7
LBB11_7: ; in Loop: Header=BB11_1 Depth=1
ldursb w0, [x29, #-5]
bl _ismetachar
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB11_9
b LBB11_8
LBB11_8:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_22
LBB11_9: ; in Loop: Header=BB11_1 Depth=1
b LBB11_10
LBB11_10: ; in Loop: Header=BB11_1 Depth=1
b LBB11_18
LBB11_11: ; in Loop: Header=BB11_1 Depth=1
ldursb w8, [x29, #-5]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB11_17
b LBB11_12
LBB11_12:
ldursb w8, [x29, #-5]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB11_16
b LBB11_13
LBB11_13:
ldr x8, [sp, #16]
ldursb w8, [x8, #-1]
subs w8, w8, #0
cset w8, eq
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB11_15
b LBB11_14
LBB11_14:
ldr x8, [sp, #16]
ldrsb w8, [x8, #1]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB11_15
LBB11_15:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB11_22
LBB11_16:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_22
LBB11_17: ; in Loop: Header=BB11_1 Depth=1
b LBB11_18
LBB11_18: ; in Loop: Header=BB11_1 Depth=1
b LBB11_19
LBB11_19: ; in Loop: Header=BB11_1 Depth=1
b LBB11_20
LBB11_20: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB11_1
b LBB11_21
LBB11_21:
stur wzr, [x29, #-4]
b LBB11_22
LBB11_22:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchdigit
_matchdigit: ; @matchdigit
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
adrp x8, __pctype@GOTPAGE
ldr x8, [x8, __pctype@GOTPAGEOFF]
ldr x8, [x8]
ldrsb x9, [sp, #15]
ldrh w8, [x8, x9, lsl #1]
and w0, w8, #0x4
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchalphanum
_matchalphanum: ; @matchalphanum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-1]
ldursb w8, [x29, #-1]
subs w8, w8, #95
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB13_3
b LBB13_1
LBB13_1:
ldursb w0, [x29, #-1]
bl _matchalpha
subs w8, w0, #0
cset w8, ne
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB13_3
b LBB13_2
LBB13_2:
ldursb w0, [x29, #-1]
bl _matchdigit
subs w8, w0, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB13_3
LBB13_3:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchwhitespace
_matchwhitespace: ; @matchwhitespace
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
adrp x8, __pctype@GOTPAGE
ldr x8, [x8, __pctype@GOTPAGEOFF]
ldr x8, [x8]
ldrsb x9, [sp, #15]
ldrh w8, [x8, x9, lsl #1]
and w0, w8, #0x8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchrange
_matchrange: ; @matchrange
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
strb w0, [sp, #31]
str x1, [sp, #16]
ldrsb w8, [sp, #31]
subs w8, w8, #45
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_8
b LBB15_1
LBB15_1:
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_8
b LBB15_2
LBB15_2:
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_8
b LBB15_3
LBB15_3:
ldr x8, [sp, #16]
ldrsb w8, [x8, #1]
subs w8, w8, #45
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_8
b LBB15_4
LBB15_4:
ldr x8, [sp, #16]
ldrsb w8, [x8, #2]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_8
b LBB15_5
LBB15_5:
ldrsb w8, [sp, #31]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB15_7
b LBB15_6
LBB15_6:
ldrsb w8, [sp, #31]
ldr x9, [sp, #16]
ldrsb w9, [x9, #2]
subs w8, w8, w9
cset w8, le
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB15_7
LBB15_7:
ldr w8, [sp, #8] ; 4-byte Folded Reload
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB15_8
LBB15_8:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchmetachar
_matchmetachar: ; @matchmetachar
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-5]
str x1, [sp, #16]
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #68
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #51
cset w8, hi
tbnz w8, #0, LBB16_8
; %bb.1:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI16_0@PAGE
add x10, x10, lJTI16_0@PAGEOFF
Ltmp8:
adr x8, Ltmp8
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB16_2:
ldursb w0, [x29, #-5]
bl _matchdigit
stur w0, [x29, #-4]
b LBB16_9
LBB16_3:
ldursb w0, [x29, #-5]
bl _matchdigit
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB16_9
LBB16_4:
ldursb w0, [x29, #-5]
bl _matchalphanum
stur w0, [x29, #-4]
b LBB16_9
LBB16_5:
ldursb w0, [x29, #-5]
bl _matchalphanum
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB16_9
LBB16_6:
ldursb w0, [x29, #-5]
bl _matchwhitespace
stur w0, [x29, #-4]
b LBB16_9
LBB16_7:
ldursb w0, [x29, #-5]
bl _matchwhitespace
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB16_9
LBB16_8:
ldursb w8, [x29, #-5]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-4]
b LBB16_9
LBB16_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
.p2align 2
lJTI16_0:
.long LBB16_3-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_7-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_5-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_2-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_6-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_8-Ltmp8
.long LBB16_4-Ltmp8
; -- End function
.p2align 2 ; -- Begin function ismetachar
_ismetachar: ; @ismetachar
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #115
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_6
b LBB17_1
LBB17_1:
ldrsb w8, [sp, #15]
subs w8, w8, #83
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_6
b LBB17_2
LBB17_2:
ldrsb w8, [sp, #15]
subs w8, w8, #119
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_6
b LBB17_3
LBB17_3:
ldrsb w8, [sp, #15]
subs w8, w8, #87
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_6
b LBB17_4
LBB17_4:
ldrsb w8, [sp, #15]
subs w8, w8, #100
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5:
ldrsb w8, [sp, #15]
subs w8, w8, #68
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB17_6
LBB17_6:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchalpha
_matchalpha: ; @matchalpha
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
adrp x8, __pctype@GOTPAGE
ldr x8, [x8, __pctype@GOTPAGEOFF]
ldr x8, [x8]
ldrsb x9, [sp, #15]
ldrh w8, [x8, x9, lsl #1]
and w0, w8, #0x3
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_re_compile.re_compiled,480,3 ; @re_compile.re_compiled
.zerofill __DATA,__bss,_re_compile.ccl_buf,40,0 ; @re_compile.ccl_buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "UNUSED"
l_.str.1: ; @.str.1
.asciz "DOT"
l_.str.2: ; @.str.2
.asciz "BEGIN"
l_.str.3: ; @.str.3
.asciz "END"
l_.str.4: ; @.str.4
.asciz "QUESTIONMARK"
l_.str.5: ; @.str.5
.asciz "STAR"
l_.str.6: ; @.str.6
.asciz "PLUS"
l_.str.7: ; @.str.7
.asciz "CHAR"
l_.str.8: ; @.str.8
.asciz "CHAR_CLASS"
l_.str.9: ; @.str.9
.asciz "INV_CHAR_CLASS"
l_.str.10: ; @.str.10
.asciz "DIGIT"
l_.str.11: ; @.str.11
.asciz "NOT_DIGIT"
l_.str.12: ; @.str.12
.asciz "ALPHA"
l_.str.13: ; @.str.13
.asciz "NOT_ALPHA"
l_.str.14: ; @.str.14
.asciz "WHITESPACE"
l_.str.15: ; @.str.15
.asciz "NOT_WHITESPACE"
l_.str.16: ; @.str.16
.asciz "BRANCH"
.section __DATA,__const
.p2align 3 ; @__const.re_print.types
l___const.re_print.types:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.section __TEXT,__cstring,cstring_literals
l_.str.17: ; @.str.17
.asciz "type: %s"
l_.str.18: ; @.str.18
.asciz " ["
l_.str.19: ; @.str.19
.asciz "%c"
l_.str.20: ; @.str.20
.asciz "]"
l_.str.21: ; @.str.21
.asciz " '%c'"
l_.str.22: ; @.str.22
.asciz "\n"
l_.str.23: ; @.str.23
.asciz "\\d"
l_.str.24: ; @.str.24
.asciz "5"
l_.str.25: ; @.str.25
.asciz "\\w+"
l_.str.26: ; @.str.26
.asciz "hej"
l_.str.27: ; @.str.27
.asciz "\\s"
l_.str.28: ; @.str.28
.asciz "\t \n"
l_.str.29: ; @.str.29
.asciz "\\S"
l_.str.30: ; @.str.30
.asciz "[\\s]"
l_.str.31: ; @.str.31
.asciz "[\\S]"
l_.str.32: ; @.str.32
.asciz "\\D"
l_.str.33: ; @.str.33
.asciz "\\W+"
l_.str.34: ; @.str.34
.asciz "[0-9]+"
l_.str.35: ; @.str.35
.asciz "12345"
l_.str.36: ; @.str.36
.asciz "[^\\w]"
l_.str.37: ; @.str.37
.asciz "\\"
l_.str.38: ; @.str.38
.asciz "[\\W]"
l_.str.39: ; @.str.39
.asciz "[\\w]"
l_.str.40: ; @.str.40
.asciz "[^\\d]"
l_.str.41: ; @.str.41
.asciz "d"
l_.str.42: ; @.str.42
.asciz "[\\d]"
l_.str.43: ; @.str.43
.asciz "[^\\D]"
l_.str.44: ; @.str.44
.asciz "[\\D]"
l_.str.45: ; @.str.45
.asciz "^.*\\\\.*$"
l_.str.46: ; @.str.46
.asciz "c:\\Tools"
l_.str.47: ; @.str.47
.asciz "^[\\+-]*[\\d]+$"
l_.str.48: ; @.str.48
.asciz "+27"
l_.str.49: ; @.str.49
.asciz "[abc]"
l_.str.50: ; @.str.50
.asciz "1c2"
l_.str.51: ; @.str.51
.asciz "1C2"
l_.str.52: ; @.str.52
.asciz "[1-5]+"
l_.str.53: ; @.str.53
.asciz "0123456789"
l_.str.54: ; @.str.54
.asciz "[.2]"
l_.str.55: ; @.str.55
.asciz "a*$"
l_.str.56: ; @.str.56
.asciz "Xaa"
l_.str.57: ; @.str.57
.asciz "[a-h]+"
l_.str.58: ; @.str.58
.asciz "abcdefghxxx"
l_.str.59: ; @.str.59
.asciz "ABCDEFGH"
l_.str.60: ; @.str.60
.asciz "[A-H]+"
l_.str.61: ; @.str.61
.asciz "abcdefgh"
l_.str.62: ; @.str.62
.asciz "[^\\s]+"
l_.str.63: ; @.str.63
.asciz "abc def"
l_.str.64: ; @.str.64
.asciz "[^fc]+"
l_.str.65: ; @.str.65
.asciz "[^d\\sf]+"
l_.str.66: ; @.str.66
.asciz "abc\ndef"
l_.str.67: ; @.str.67
.asciz "b.\\s*\n"
l_.str.68: ; @.str.68
.asciz "aa\r\nbb\r\ncc\r\n\r\n"
l_.str.69: ; @.str.69
.asciz ".*c"
l_.str.70: ; @.str.70
.asciz "abcabc"
l_.str.71: ; @.str.71
.asciz ".+c"
l_.str.72: ; @.str.72
.asciz "[b-z].*"
l_.str.73: ; @.str.73
.asciz "ab"
l_.str.74: ; @.str.74
.asciz "b[k-z]*"
l_.str.75: ; @.str.75
.asciz "[0-9]"
l_.str.76: ; @.str.76
.asciz " - "
l_.str.77: ; @.str.77
.asciz "[^0-9]"
l_.str.78: ; @.str.78
.asciz "0|"
l_.str.79: ; @.str.79
.asciz "\\d\\d:\\d\\d:\\d\\d"
l_.str.80: ; @.str.80
.asciz "0s:00:00"
l_.str.81: ; @.str.81
.asciz "000:00"
l_.str.82: ; @.str.82
.asciz "00:0000"
l_.str.83: ; @.str.83
.asciz "100:0:00"
l_.str.84: ; @.str.84
.asciz "00:100:00"
l_.str.85: ; @.str.85
.asciz "0:00:100"
l_.str.86: ; @.str.86
.asciz "\\d\\d?:\\d\\d?:\\d\\d?"
l_.str.87: ; @.str.87
.asciz "0:0:0"
l_.str.88: ; @.str.88
.asciz "0:00:0"
l_.str.89: ; @.str.89
.asciz "0:0:00"
l_.str.90: ; @.str.90
.asciz "00:0:0"
l_.str.91: ; @.str.91
.asciz "00:00:0"
l_.str.92: ; @.str.92
.asciz "00:0:00"
l_.str.93: ; @.str.93
.asciz "0:00:00"
l_.str.94: ; @.str.94
.asciz "00:00:00"
l_.str.95: ; @.str.95
.asciz "[Hh]ello [Ww]orld\\s*[!]?"
l_.str.96: ; @.str.96
.asciz "Hello world !"
l_.str.97: ; @.str.97
.asciz "hello world !"
l_.str.98: ; @.str.98
.asciz "Hello World !"
l_.str.99: ; @.str.99
.asciz "Hello world! "
l_.str.100: ; @.str.100
.asciz "Hello world !"
l_.str.101: ; @.str.101
.asciz "hello World !"
l_.str.102: ; @.str.102
.asciz "a:0"
l_.str.103: ; @.str.103
.asciz ".?bar"
l_.str.104: ; @.str.104
.asciz "real_bar"
l_.str.105: ; @.str.105
.asciz "real_foo"
l_.str.106: ; @.str.106
.asciz "X?Y"
l_.str.107: ; @.str.107
.asciz "Z"
l_.str.108: ; @.str.108
.asciz "[a-z]+\nbreak"
l_.str.109: ; @.str.109
.asciz "blahblah\nbreak"
l_.str.110: ; @.str.110
.asciz "[a-z\\s]+\nbreak"
l_.str.111: ; @.str.111
.asciz "bla bla \nbreak"
.section __DATA,__data
.globl _test_vector ; @test_vector
.p2align 3
_test_vector:
.quad 1
.quad l_.str.23
.quad l_.str.24
.quad 1
.quad 1
.quad l_.str.25
.quad l_.str.26
.quad 3
.quad 1
.quad l_.str.27
.quad l_.str.28
.quad 1
.quad 0
.quad l_.str.29
.quad l_.str.28
.quad 0
.quad 1
.quad l_.str.30
.quad l_.str.28
.quad 1
.quad 0
.quad l_.str.31
.quad l_.str.28
.quad 0
.quad 0
.quad l_.str.32
.quad l_.str.24
.quad 0
.quad 0
.quad l_.str.33
.quad l_.str.26
.quad 0
.quad 1
.quad l_.str.34
.quad l_.str.35
.quad 5
.quad 1
.quad l_.str.32
.quad l_.str.26
.quad 1
.quad 0
.quad l_.str.23
.quad l_.str.26
.quad 0
.quad 1
.quad l_.str.36
.quad l_.str.37
.quad 1
.quad 1
.quad l_.str.38
.quad l_.str.37
.quad 1
.quad 0
.quad l_.str.39
.quad l_.str.37
.quad 0
.quad 1
.quad l_.str.40
.quad l_.str.41
.quad 1
.quad 0
.quad l_.str.42
.quad l_.str.41
.quad 0
.quad 0
.quad l_.str.43
.quad l_.str.41
.quad 0
.quad 1
.quad l_.str.44
.quad l_.str.41
.quad 1
.quad 1
.quad l_.str.45
.quad l_.str.46
.quad 8
.quad 1
.quad l_.str.47
.quad l_.str.48
.quad 3
.quad 1
.quad l_.str.49
.quad l_.str.50
.quad 1
.quad 0
.quad l_.str.49
.quad l_.str.51
.quad 0
.quad 1
.quad l_.str.52
.quad l_.str.53
.quad 5
.quad 1
.quad l_.str.54
.quad l_.str.51
.quad 1
.quad 1
.quad l_.str.55
.quad l_.str.56
.quad 2
.quad 1
.quad l_.str.55
.quad l_.str.56
.quad 2
.quad 1
.quad l_.str.57
.quad l_.str.58
.quad 8
.quad 0
.quad l_.str.57
.quad l_.str.59
.quad 0
.quad 1
.quad l_.str.60
.quad l_.str.59
.quad 8
.quad 0
.quad l_.str.60
.quad l_.str.61
.quad 0
.quad 1
.quad l_.str.62
.quad l_.str.63
.quad 3
.quad 1
.quad l_.str.64
.quad l_.str.63
.quad 2
.quad 1
.quad l_.str.65
.quad l_.str.63
.quad 3
.quad 1
.quad l_.str.22
.quad l_.str.66
.quad 1
.quad 1
.quad l_.str.67
.quad l_.str.68
.quad 4
.quad 1
.quad l_.str.69
.quad l_.str.70
.quad 6
.quad 1
.quad l_.str.71
.quad l_.str.70
.quad 6
.quad 1
.quad l_.str.72
.quad l_.str.73
.quad 1
.quad 1
.quad l_.str.74
.quad l_.str.73
.quad 1
.quad 0
.quad l_.str.75
.quad l_.str.76
.quad 0
.quad 1
.quad l_.str.77
.quad l_.str.76
.quad 1
.quad 1
.quad l_.str.78
.quad l_.str.78
.quad 2
.quad 0
.quad l_.str.79
.quad l_.str.80
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.81
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.82
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.83
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.84
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.85
.quad 0
.quad 1
.quad l_.str.86
.quad l_.str.87
.quad 5
.quad 1
.quad l_.str.86
.quad l_.str.88
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.89
.quad 5
.quad 1
.quad l_.str.86
.quad l_.str.90
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.91
.quad 7
.quad 1
.quad l_.str.86
.quad l_.str.92
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.93
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.94
.quad 7
.quad 1
.quad l_.str.95
.quad l_.str.96
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.97
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.98
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.99
.quad 11
.quad 1
.quad l_.str.95
.quad l_.str.100
.quad 13
.quad 1
.quad l_.str.95
.quad l_.str.101
.quad 15
.quad 0
.quad l_.str.86
.quad l_.str.102
.quad 0
.quad 1
.quad l_.str.103
.quad l_.str.104
.quad 4
.quad 0
.quad l_.str.103
.quad l_.str.105
.quad 0
.quad 0
.quad l_.str.106
.quad l_.str.107
.quad 0
.quad 1
.quad l_.str.108
.quad l_.str.109
.quad 14
.quad 1
.quad l_.str.110
.quad l_.str.111
.quad 14
.section __TEXT,__cstring,cstring_literals
l_.str.112: ; @.str.112
.asciz "[%lu/%lu]: pattern '%s' matched '%s' unexpectedly, matched %i chars. \n"
l_.str.113: ; @.str.113
.asciz "[%lu/%lu]: pattern '%s' didn't match '%s' as expected. \n"
l_.str.114: ; @.str.114
.asciz "[%lu/%lu]: pattern '%s' matched '%i' chars of '%s'; expected '%i'. \n"
l_.str.115: ; @.str.115
.asciz "%lu/%lu tests succeeded.\n"
.subsections_via_symbols
|
fuzzy-match.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
tiny-NN.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
lz-compress.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
boyer-moore-search.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
kadane.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
strange.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |
topo-sort.s | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) | "\t.section\t__TEXT,__text,regular,pure_instructions\n\t.build_version macos, 13, 0\tsdk_version 13,(...TRUNCATED) |