	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_interface
_query_interface:                       ## @query_interface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_IID_IUnknown@GOTPCREL(%rip), %rsi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_script_site@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	movq	_IID_IActiveScriptSite@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_script_site@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	movq	_IID_IActiveScriptSiteWindow@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualGUID
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_script_site_window@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_TRACE
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	callq	_IUnknown_AddRef
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	$0, (%r14)
	movl	%ebx, %edi
	callq	_wine_dbgstr_guid
	movslq	%eax, %rsi
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_E_NOINTERFACE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_IID_IUnknown,4,2               ## @IID_IUnknown
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(IID_IUnknown %p)\n"

	.comm	_script_site,4,2                ## @script_site
	.comm	_IID_IActiveScriptSite,4,2      ## @IID_IActiveScriptSite
L_.str.1:                               ## @.str.1
	.asciz	"(IID_IActiveScriptSite %p)\n"

	.comm	_IID_IActiveScriptSiteWindow,4,2 ## @IID_IActiveScriptSiteWindow
L_.str.2:                               ## @.str.2
	.asciz	"(IID_IActiveScriptSiteWindow %p)\n"

	.comm	_script_site_window,4,2         ## @script_site_window
L_.str.3:                               ## @.str.3
	.asciz	"(%s %p)\n"

	.comm	_E_NOINTERFACE,4,2              ## @E_NOINTERFACE
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_query_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_interface
_query_interface:                       ; @query_interface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, _IID_IUnknown@GOTPAGE
Lloh1:
	ldr	x1, [x1, _IID_IUnknown@GOTPAGEOFF]
	bl	_IsEqualGUID
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _script_site@GOTPAGE
Lloh3:
	ldr	x20, [x20, _script_site@GOTPAGEOFF]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
Lloh6:
	adrp	x1, _IID_IActiveScriptSite@GOTPAGE
Lloh7:
	ldr	x1, [x1, _IID_IActiveScriptSite@GOTPAGEOFF]
	mov	x0, x20
	bl	_IsEqualGUID
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x20, _script_site@GOTPAGE
Lloh9:
	ldr	x20, [x20, _script_site@GOTPAGEOFF]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x1, _IID_IActiveScriptSiteWindow@GOTPAGE
Lloh13:
	ldr	x1, [x1, _IID_IActiveScriptSiteWindow@GOTPAGEOFF]
	mov	x0, x20
	bl	_IsEqualGUID
	cbz	x0, LBB0_8
; %bb.5:
Lloh14:
	adrp	x20, _script_site_window@GOTPAGE
Lloh15:
	ldr	x20, [x20, _script_site_window@GOTPAGEOFF]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	mov	x1, x19
	bl	_TRACE
	str	x20, [x19]
	mov	x0, x20
	bl	_IUnknown_AddRef
Lloh18:
	adrp	x8, _S_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	str	xzr, [x19]
	mov	x0, x20
	bl	_wine_dbgstr_guid
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	str	x19, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
Lloh22:
	adrp	x8, _E_NOINTERFACE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _E_NOINTERFACE@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IID_IUnknown,4,2               ; @IID_IUnknown
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(IID_IUnknown %p)\n"

	.comm	_script_site,4,2                ; @script_site
	.comm	_IID_IActiveScriptSite,4,2      ; @IID_IActiveScriptSite
l_.str.1:                               ; @.str.1
	.asciz	"(IID_IActiveScriptSite %p)\n"

	.comm	_IID_IActiveScriptSiteWindow,4,2 ; @IID_IActiveScriptSiteWindow
l_.str.2:                               ; @.str.2
	.asciz	"(IID_IActiveScriptSiteWindow %p)\n"

	.comm	_script_site_window,4,2         ; @script_site_window
l_.str.3:                               ; @.str.3
	.asciz	"(%s %p)\n"

	.comm	_E_NOINTERFACE,4,2              ; @E_NOINTERFACE
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_query_interface
.subsections_via_symbols
