	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexec                        ## -- Begin function regexec
	.p2align	4, 0x90
_regexec:                               ## @regexec
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r8d
	movl	12(%r15), %eax
	movq	_REG_NOTBOL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%r13d, %ecx
	setne	%dl
	movq	_REG_NOTEOL@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	andl	(%rcx), %r13d
	setne	%sil
	movups	(%r15), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	%edx, -64(%rbp)
	movl	%esi, -60(%rbp)
	movq	_REGS_FIXED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movl	%r8d, %r15d
	movq	%r14, -88(%rbp)
	leaq	(%r14,%r14), %rdi
	movq	_regoff_t@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TALLOC
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	(%rax,%r14,4), %rax
	movq	%rax, -72(%rbp)
	leaq	-64(%rbp), %rdi
	leaq	-88(%rbp), %r9
	movq	%r12, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	callq	_re_search
	movl	%eax, %r15d
	movq	-80(%rbp), %rdi
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movq	-72(%rbp), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rcx,4), %edx
	movl	%edx, 4(%rbx,%rcx,8)
	movl	(%rax,%rcx,4), %edx
	movl	%edx, (%rbx,%rcx,8)
	incl	%ecx
	cmpq	%r14, %rcx
	jb	LBB0_5
LBB0_6:
	callq	_free
	testl	%r15d, %r15d
	js	LBB0_9
LBB0_8:
	movq	_REG_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	movl	%r8d, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_re_search
	movl	%eax, %r15d
	testl	%r15d, %r15d
	jns	LBB0_8
LBB0_9:
	movq	_REG_NOMATCH@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_NOTBOL,4,2                 ## @REG_NOTBOL
	.comm	_REG_NOTEOL,4,2                 ## @REG_NOTEOL
	.comm	_REGS_FIXED,4,2                 ## @REGS_FIXED
	.comm	_regoff_t,4,2                   ## @regoff_t
	.comm	_REG_NOMATCH,8,3                ## @REG_NOMATCH
	.comm	_REG_NOERROR,8,3                ## @REG_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexec                        ; -- Begin function regexec
	.p2align	2
_regexec:                               ; @regexec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
Lloh0:
	adrp	x8, _REG_NOTBOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_NOTBOL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	cset	w9, ne
Lloh3:
	adrp	x8, _REG_NOTEOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_NOTEOL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w23
	ldr	w8, [x24, #12]
	ldr	q0, [x24]
	str	q0, [sp]
	cset	w10, ne
	stp	w9, w10, [sp]
Lloh6:
	adrp	x9, _REGS_FIXED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REGS_FIXED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	cbz	x20, LBB0_7
; %bb.1:
	cbnz	w8, LBB0_7
; %bb.2:
	str	x20, [sp, #24]
	lsl	x0, x20, #1
Lloh9:
	adrp	x8, _regoff_t@GOTPAGE
Lloh10:
	ldr	x8, [x8, _regoff_t@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_TALLOC
	str	x0, [sp, #32]
	cbz	x0, LBB0_10
; %bb.3:
	add	x8, x0, x20, lsl #2
	str	x8, [sp, #40]
	mov	x0, sp
	add	x5, sp, #24
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x4, x22
	bl	_re_search
	mov	x21, x0
	ldr	x0, [sp, #32]
	tbnz	w21, #31, LBB0_6
; %bb.4:
	mov	x8, #0
	ldr	x9, [sp, #40]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x0, x10]
	add	x12, x19, x8, lsl #3
	str	w11, [x12, #4]
	ldr	w10, [x9, x10]
	str	w10, [x12]
	add	w8, w8, #1
	cmp	x8, x20
	b.lo	LBB0_5
LBB0_6:
	bl	_free
	b	LBB0_8
LBB0_7:
	mov	x0, sp
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x4, x22
	mov	x5, #0
	bl	_re_search
	mov	x21, x0
LBB0_8:
Lloh12:
	adrp	x8, _REG_NOERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_NOERROR@GOTPAGEOFF]
Lloh14:
	adrp	x9, _REG_NOMATCH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _REG_NOMATCH@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, lt
LBB0_9:
	ldr	x0, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
Lloh16:
	adrp	x8, _REG_NOMATCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_NOMATCH@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_NOTBOL,4,2                 ; @REG_NOTBOL
	.comm	_REG_NOTEOL,4,2                 ; @REG_NOTEOL
	.comm	_REGS_FIXED,4,2                 ; @REGS_FIXED
	.comm	_regoff_t,4,2                   ; @regoff_t
	.comm	_REG_NOMATCH,8,3                ; @REG_NOMATCH
	.comm	_REG_NOERROR,8,3                ; @REG_NOERROR
.subsections_via_symbols
