	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RegExp_exec
_RegExp_exec:                           ## @RegExp_exec
	.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	%r9, %r15
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%r12, %rdi
	callq	_heap_pool_mark
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %edx
	jmp	LBB0_3
LBB0_2:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_jsstr_empty
	movl	%eax, %edi
	callq	_jsval_string
	movl	%eax, %edx
LBB0_3:
	leaq	-48(%rbp), %rcx
	leaq	-72(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_run_exec
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_heap_pool_clear
	jmp	LBB0_12
LBB0_5:
	testq	%r15, %r15
	je	LBB0_11
## %bb.6:
	cmpq	$0, -64(%rbp)
	je	LBB0_9
## %bb.7:
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	callq	_create_match_array
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	-56(%rbp), %rdi
	callq	_jsval_disp
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_jsval_null
LBB0_10:
	movl	%eax, (%r15)
LBB0_11:
	movq	%r14, %rdi
	callq	_heap_pool_clear
	movq	-48(%rbp), %rdi
	callq	_jsstr_release
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %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	"\n"

	.no_dead_strip	_RegExp_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RegExp_exec
_RegExp_exec:                           ; @RegExp_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x21
	bl	_heap_pool_mark
	mov	x19, x0
	cbz	w24, LBB0_2
; %bb.1:
	ldr	w2, [x23]
	b	LBB0_3
LBB0_2:
	bl	_jsstr_empty
	bl	_jsval_string
	mov	x2, x0
LBB0_3:
	add	x3, sp, #8
	add	x4, sp, #24
	add	x5, sp, #16
	mov	x0, x21
	mov	x1, x22
	bl	_run_exec
	mov	x22, x0
	bl	_FAILED
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_heap_pool_clear
	b	LBB0_12
LBB0_5:
	cbz	x20, LBB0_11
; %bb.6:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x1, [sp, #8]
	ldr	x2, [sp, #24]
	mov	x3, sp
	mov	x0, x21
	bl	_create_match_array
	mov	x22, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x0, [sp]
	bl	_jsval_disp
	b	LBB0_10
LBB0_9:
	bl	_jsval_null
LBB0_10:
	str	w0, [x20]
LBB0_11:
	mov	x0, x19
	bl	_heap_pool_clear
	ldr	x0, [sp, #8]
	bl	_jsstr_release
LBB0_12:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.no_dead_strip	_RegExp_exec
.subsections_via_symbols
