	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function String_match
_String_match:                          ## @String_match
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r13
	movl	%ecx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.4:
	movl	(%r13), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	(%r13), %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_iface_to_jsdisp
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	movq	_JSCLASS_REGEXP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_is_class
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_jsdisp_release
	movq	$0, -56(%rbp)
LBB0_8:
	movl	(%r13), %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_to_string
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_create_regexp
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_jsstr_release
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_13
LBB0_10:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_get_string_val
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_regexp_string_match
	movl	%eax, %ebx
LBB0_12:
	movq	-56(%rbp), %rdi
	callq	_jsdisp_release
	movq	-48(%rbp), %rdi
	callq	_jsstr_release
	jmp	LBB0_13
LBB0_1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_jsval_null
	movl	%eax, (%r14)
LBB0_3:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %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"

	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_JSCLASS_REGEXP,4,2             ## @JSCLASS_REGEXP
	.no_dead_strip	_String_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function String_match
_String_match:                          ; @String_match
	.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	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w23, LBB0_10
; %bb.1:
	ldr	w0, [x22]
	bl	_is_object_instance
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x22]
	bl	_get_object
	bl	_iface_to_jsdisp
	str	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.3:
	mov	x23, x0
Lloh2:
	adrp	x8, _JSCLASS_REGEXP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JSCLASS_REGEXP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_is_class
	cbnz	w0, LBB0_7
; %bb.4:
	mov	x0, x23
	bl	_jsdisp_release
	str	xzr, [sp, #8]
LBB0_5:
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x20
	bl	_to_string
	mov	x22, x0
	bl	_FAILED
	cbnz	x0, LBB0_13
; %bb.6:
	ldr	x1, [sp]
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_create_regexp
	mov	x22, x0
	ldr	x0, [sp]
	bl	_jsstr_release
	mov	x0, x22
	bl	_FAILED
	cbnz	x0, LBB0_13
LBB0_7:
	mov	x2, sp
	mov	x0, x20
	mov	x1, x21
	bl	_get_string_val
	mov	x22, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_9
; %bb.8:
	ldp	x2, x1, [sp]
	mov	x0, x20
	mov	x3, x19
	bl	_regexp_string_match
	mov	x22, x0
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_jsdisp_release
	ldr	x0, [sp]
	bl	_jsstr_release
	b	LBB0_13
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	bl	_jsval_null
	str	w0, [x19]
LBB0_12:
Lloh5:
	adrp	x8, _S_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
LBB0_13:
	mov	x0, x22
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_JSCLASS_REGEXP,4,2             ; @JSCLASS_REGEXP
	.no_dead_strip	_String_match
.subsections_via_symbols
