	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interp_instanceof
_interp_instanceof:                     ## @interp_instanceof
	.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	%rdi, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, -44(%rbp)
	callq	_stack_pop
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_get_object
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_iface_to_jsdisp
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_IDispatch_Release
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movq	_JSCLASS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_is_class
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	leaq	_interp_instanceof.prototypeW(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_jsdisp_propget_name
	jmp	LBB0_8
LBB0_5:
	movl	%ebx, %edi
	callq	_jsval_release
	movq	_JS_E_FUNCTION_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_type_error               ## TAILCALL
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_23
LBB0_7:
	movq	_JS_E_FUNCTION_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_throw_type_error
LBB0_8:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_jsdisp_release
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_23
## %bb.9:
	movq	%r14, %rdi
	callq	_stack_pop
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_19
## %bb.10:
	movl	%ebx, %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movl	%ebx, %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_iface_to_jsdisp
	testl	%r12d, %r12d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_17
## %bb.12:
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	leaq	-44(%rbp), %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %edi
	callq	_get_object
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_to_disp
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_disp_cmp
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -44(%rbp)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_14
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.18:
	callq	_jsdisp_release
LBB0_20:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_21:
	movl	-48(%rbp), %edi
	callq	_jsval_release
	movl	%ebx, %edi
	callq	_jsval_release
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	movl	-44(%rbp), %edi
	callq	_jsval_bool
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_stack_push
	movl	%eax, %r13d
LBB0_23:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__const
_interp_instanceof.prototypeW:          ## @interp_instanceof.prototypeW
	.asciz	"prototype"

	.comm	_JS_E_FUNCTION_EXPECTED,4,2     ## @JS_E_FUNCTION_EXPECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"non-jsdisp objects not supported\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_JSCLASS_FUNCTION,4,2           ## @JSCLASS_FUNCTION
L_.str.1:                               ## @.str.1
	.asciz	"prototype is not an object\n"

	.no_dead_strip	_interp_instanceof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interp_instanceof
_interp_instanceof:                     ; @interp_instanceof
	.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, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	str	w23, [sp, #8]
	bl	_stack_pop
	mov	x20, x0
	bl	_is_object_instance
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_get_object
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_get_object
	bl	_iface_to_jsdisp
	mov	x21, x0
	mov	x0, x20
	bl	_get_object
	bl	_IDispatch_Release
	cbz	x21, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _JSCLASS_FUNCTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JSCLASS_FUNCTION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_is_class
	cbz	x0, LBB0_7
; %bb.4:
Lloh6:
	adrp	x1, _interp_instanceof.prototypeW@PAGE
Lloh7:
	add	x1, x1, _interp_instanceof.prototypeW@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_jsdisp_propget_name
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_jsval_release
Lloh8:
	adrp	x8, _JS_E_FUNCTION_EXPECTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _JS_E_FUNCTION_EXPECTED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	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
	b	_throw_type_error
LBB0_6:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh13:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	b	LBB0_22
LBB0_7:
Lloh16:
	adrp	x8, _JS_E_FUNCTION_EXPECTED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _JS_E_FUNCTION_EXPECTED@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_throw_type_error
LBB0_8:
	mov	x20, x0
	mov	x0, x21
	bl	_jsdisp_release
	mov	x0, x20
	bl	_FAILED
	cbnz	x0, LBB0_22
; %bb.9:
	mov	x0, x19
	bl	_stack_pop
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_is_object_instance
	cbz	x0, LBB0_19
; %bb.10:
	mov	x0, x21
	bl	_is_object_instance
	cbz	x0, LBB0_20
; %bb.11:
	mov	x0, x21
	bl	_get_object
	bl	_iface_to_jsdisp
	mov	x22, x0
	cbnz	w23, LBB0_17
; %bb.12:
	cbz	x22, LBB0_17
; %bb.13:
	mov	x23, x22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #12]
	bl	_get_object
	mov	x20, x0
	mov	x0, x23
	bl	_to_disp
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_disp_cmp
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x23, [x23]
	cbnz	x23, LBB0_14
LBB0_17:
	cbz	x22, LBB0_20
; %bb.18:
	mov	x0, x22
	bl	_jsdisp_release
	b	LBB0_20
LBB0_19:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
Lloh21:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
LBB0_20:
	ldr	w0, [sp, #12]
	bl	_jsval_release
	mov	x0, x21
	bl	_jsval_release
	mov	x0, x20
	bl	_FAILED
	cbnz	x0, LBB0_22
; %bb.21:
	ldr	w0, [sp, #8]
	bl	_jsval_bool
	mov	x1, x0
	mov	x0, x19
	bl	_stack_push
	mov	x20, x0
LBB0_22:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__const
_interp_instanceof.prototypeW:          ; @interp_instanceof.prototypeW
	.asciz	"prototype"

	.comm	_JS_E_FUNCTION_EXPECTED,4,2     ; @JS_E_FUNCTION_EXPECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"non-jsdisp objects not supported\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_JSCLASS_FUNCTION,4,2           ; @JSCLASS_FUNCTION
l_.str.1:                               ; @.str.1
	.asciz	"prototype is not an object\n"

	.no_dead_strip	_interp_instanceof
.subsections_via_symbols
