	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_ax_site                 ## -- Begin function create_ax_site
	.p2align	4, 0x90
_create_ax_site:                        ## @create_ax_site
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	movl	(%rdi), %edi
	movq	_IID_IServiceProvider@GOTPCREL(%rip), %rsi
	leaq	-16(%rbp), %rdx
	callq	_IActiveScriptSite_QueryInterface
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
LBB0_2:
	movl	$24, %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rcx
	addq	$8, %rax
	movq	_AXSiteVtbl@GOTPCREL(%rip), %rdx
	movq	%rdx, 8(%rcx)
	movl	$1, (%rcx)
	movq	-16(%rbp), %rdx
	movq	%rdx, 16(%rcx)
	jmp	LBB0_5
LBB0_3:
	movq	-16(%rbp), %rdi
	callq	_IServiceProvider_Release
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IID_IServiceProvider,4,2       ## @IID_IServiceProvider
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get IServiceProvider iface: %08x\n"

	.comm	_AXSiteVtbl,4,2                 ## @AXSiteVtbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_ax_site                 ; -- Begin function create_ax_site
	.p2align	2
_create_ax_site:                        ; @create_ax_site
	.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
	str	xzr, [sp, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x1, _IID_IServiceProvider@GOTPAGE
Lloh1:
	ldr	x1, [x1, _IID_IServiceProvider@GOTPAGEOFF]
	add	x2, sp, #8
	bl	_IActiveScriptSite_QueryInterface
	mov	x19, x0
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
LBB0_2:
	mov	w0, #24
	bl	_heap_alloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x8, x0
Lloh4:
	adrp	x9, _AXSiteVtbl@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AXSiteVtbl@GOTPAGEOFF]
	str	x9, [x0, #8]!
	mov	w9, #1
	str	w9, [x8]
	ldr	x9, [sp, #8]
	str	x9, [x8, #16]
	b	LBB0_5
LBB0_4:
	ldr	x0, [sp, #8]
	bl	_IServiceProvider_Release
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IID_IServiceProvider,4,2       ; @IID_IServiceProvider
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get IServiceProvider iface: %08x\n"

	.comm	_AXSiteVtbl,4,2                 ; @AXSiteVtbl
.subsections_via_symbols
