	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexp_execute                 ## -- Begin function regexp_execute
	.p2align	4, 0x90
_regexp_execute:                        ## @regexp_execute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_heap_pool_mark
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	xorl	%edi, %edi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, -72(%rbp)
	movslq	%r12d, %rax
	leaq	(%r15,%rax,4), %rax
	movq	%rax, -80(%rbp)
	movq	8(%r13), %rax
	subq	%r15, %rax
	shrq	$2, %rax
	movl	%eax, -104(%rbp)
	movl	$0, -100(%rbp)
	movq	%rbx, -88(%rbp)
	leaq	-104(%rbp), %rcx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_InitMatch
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_pool_clear
	jmp	LBB0_8
LBB0_2:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	-104(%rbp), %rdi
	movq	%r13, %rsi
	callq	_MatchRegExp
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_pool_clear
	cmpl	$0, -96(%rbp)
	je	LBB0_3
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	8(%r13), %rax
	subq	%r12, %rax
	shrq	$2, %rax
	subl	-100(%rbp), %eax
	movl	%eax, (%r13)
	movl	(%r14), %eax
	movl	%eax, 4(%r13)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	$0, (%r13)
	movq	_S_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"InitMatch failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"MatchRegExp failed\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_S_FALSE,4,2                    ## @S_FALSE
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexp_execute                 ; -- Begin function regexp_execute
	.p2align	2
_regexp_execute:                        ; @regexp_execute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x20, x0
	mov	x0, x2
	bl	_heap_pool_mark
	mov	x21, x0
	ldr	x26, [x19, #8]
	cmp	x26, #0
	cset	w0, ne
	bl	_assert
	add	x8, x23, w22, sxtw #2
	ldr	x9, [x19, #8]
	sub	x9, x9, x23
	lsr	x9, x9, #2
	stp	w9, wzr, [sp, #8]
	stp	x8, x23, [sp, #32]
	str	x24, [sp, #24]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	bl	_InitMatch
	mov	x22, x0
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	mov	x0, x21
	bl	_heap_pool_clear
	b	LBB0_8
LBB0_2:
	add	x0, sp, #8
	mov	x1, x19
	bl	_MatchRegExp
	mov	x22, x0
	mov	x0, x21
	bl	_heap_pool_clear
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_5
; %bb.3:
	cbz	x22, LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	sub	x8, x8, x26
	lsr	x8, x8, #2
	ldr	w9, [sp, #12]
	sub	w8, w8, w9
	str	w8, [x19]
	ldr	w8, [x20]
	str	w8, [x19, #4]
Lloh2:
	adrp	x8, _S_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
Lloh6:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	str	wzr, [x19]
Lloh8:
	adrp	x8, _S_FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w22, [x8]
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"InitMatch failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"MatchRegExp failed\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_S_FALSE,4,2                    ; @S_FALSE
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
