	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regexec2
_regexec2:                              ## @regexec2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r15d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_BIGLISTSIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	shll	$2, %edi
	callq	_malloc
	movq	_nil@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	(%r12), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, %r15
	cmpq	(%r14), %rax
	je	LBB0_3
## %bb.4:
	movq	8(%r13), %rax
	movq	%rbx, (%rax)
	movq	8(%r13), %rax
	movq	%r15, 8(%rax)
	movslq	(%r12), %rax
	leaq	-8(%rbx,%rax,4), %rcx
	movq	(%r13), %rdx
	movq	%rcx, (%rdx)
	leaq	-8(%r15,%rax,4), %rax
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_regexec1
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %r14d
LBB0_5:
	movq	%r15, %rdi
	callq	_free
LBB0_6:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIGLISTSIZE,4,2                ## @BIGLISTSIZE
	.comm	_nil,8,3                        ## @nil
	.no_dead_strip	_regexec2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regexec2
_regexec2:                              ; @regexec2
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	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
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x25, x0
Lloh0:
	adrp	x26, _BIGLISTSIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _BIGLISTSIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	w0, w8, #2
	bl	_malloc
Lloh2:
	adrp	x27, _nil@GOTPAGE
Lloh3:
	ldr	x27, [x27, _nil@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x23, x0
	ldr	w8, [x26]
	lsl	w0, w8, #2
	bl	_malloc
	mov	x24, x0
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	str	x23, [x8]
	ldr	x8, [x19, #8]
	str	x24, [x8, #8]
	ldrsw	x8, [x26]
	lsl	x8, x8, #2
	add	x9, x23, x8
	sub	x9, x9, #8
	ldr	x10, [x19]
	str	x9, [x10]
	add	x8, x24, x8
	sub	x8, x8, #8
	ldr	x9, [x19]
	str	x8, [x9, #8]
	mov	x0, x25
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_regexec1
	mov	x19, x0
	mov	x0, x23
	bl	_free
	b	LBB0_5
LBB0_3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	mov	w19, #-1
LBB0_5:
	mov	x0, x24
	bl	_free
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIGLISTSIZE,4,2                ; @BIGLISTSIZE
	.comm	_nil,8,3                        ; @nil
	.no_dead_strip	_regexec2
.subsections_via_symbols
