	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regexec_e
_regexec_e:                             ## @regexec_e
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_defpreg@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, (%rax)
	jmp	LBB0_4
LBB0_1:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movq	_defpreg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_4:
	movq	_match@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r13, (%rcx)
	movq	%r12, 8(%rcx)
	movq	_maxnsub@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	xorl	%edx, %edx
	testl	%r15d, %r15d
	cmoveq	%rax, %rdx
	movq	_REG_STARTEND@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rsi
	movl	%ebx, %r8d
	callq	_regexec
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_8:
	movq	_defpreg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_strregerror
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errx
                                        ## implicit-def: $eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_defpreg,8,3                    ## @defpreg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"first RE may not be empty"

	.comm	_match,8,3                      ## @match
	.comm	_maxnsub,8,3                    ## @maxnsub
	.comm	_REG_STARTEND,4,2               ## @REG_STARTEND
L_.str.1:                               ## @.str.1
	.asciz	"RE error: %s"

	.no_dead_strip	_regexec_e
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regexec_e
_regexec_e:                             ; @regexec_e
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	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
	.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	x22, x5
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _defpreg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _defpreg@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x24, _defpreg@GOTPAGE
Lloh4:
	ldr	x24, [x24, _defpreg@GOTPAGEOFF]
	ldr	x0, [x24]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x0, [x24]
LBB0_4:
Lloh7:
	adrp	x8, _match@GOTPAGE
Lloh8:
	ldr	x8, [x8, _match@GOTPAGEOFF]
Lloh9:
	ldr	x3, [x8]
	stp	x23, x22, [x3]
Lloh10:
	adrp	x8, _maxnsub@GOTPAGE
Lloh11:
	ldr	x8, [x8, _maxnsub@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	w21, #0
	csinc	x2, xzr, x8, ne
Lloh13:
	adrp	x8, _REG_STARTEND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REG_STARTEND@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w4, w8, w20
	mov	x1, x19
	bl	_regexec
	cbz	w0, LBB0_7
; %bb.5:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _defpreg@GOTPAGE
Lloh17:
	ldr	x8, [x8, _defpreg@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	bl	_strregerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
                                        ; implicit-def: $w0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_defpreg,8,3                    ; @defpreg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"first RE may not be empty"

	.comm	_match,8,3                      ; @match
	.comm	_maxnsub,8,3                    ; @maxnsub
	.comm	_REG_STARTEND,4,2               ; @REG_STARTEND
l_.str.1:                               ; @.str.1
	.asciz	"RE error: %s"

	.no_dead_strip	_regexec_e
.subsections_via_symbols
