	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_webbrowser
_create_webbrowser:                     ## @create_webbrowser
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movl	%edx, %edi
	callq	_debugstr_guid
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movl	%r13d, %r8d
	callq	_TRACE
	movl	$72, %edi
	callq	_heap_alloc_zero
	movq	%rax, %rbx
	leaq	8(%rax), %r12
	movq	_WebBrowser2Vtbl@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_ServiceProviderVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 64(%rbx)
	movl	$1, (%rbx)
	movl	%r13d, 4(%rbx)
	leaq	16(%rbx), %r13
	movq	_DocHostContainerVtbl@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_DocHost_Init
	movq	_VARIANT_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movq	%rax, 48(%rbx)
	movq	%rax, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_WebBrowser_OleObject_Init
	movq	%rbx, %rdi
	callq	_WebBrowser_ViewObject_Init
	movq	%rbx, %rdi
	callq	_WebBrowser_Persist_Init
	movq	%rbx, %rdi
	callq	_WebBrowser_ClassInfo_Init
	addq	$20, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_HlinkFrame_Init
	xorl	%eax, %eax
	callq	_lock_module
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_IWebBrowser2_QueryInterface
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_IWebBrowser2_Release
	movl	%ebx, %eax
	addq	$8, %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	"(%p %s %p) version=%d\n"

	.comm	_WebBrowser2Vtbl,4,2            ## @WebBrowser2Vtbl
	.comm	_ServiceProviderVtbl,4,2        ## @ServiceProviderVtbl
	.comm	_DocHostContainerVtbl,4,2       ## @DocHostContainerVtbl
	.comm	_VARIANT_TRUE,8,3               ## @VARIANT_TRUE
	.no_dead_strip	_create_webbrowser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_webbrowser
_create_webbrowser:                     ; @create_webbrowser
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_debugstr_guid
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x3, x19
	mov	x4, x22
	bl	_TRACE
	mov	w0, #72
	bl	_heap_alloc_zero
	mov	x21, x0
Lloh2:
	adrp	x8, _WebBrowser2Vtbl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WebBrowser2Vtbl@GOTPAGEOFF]
	mov	x23, x0
	str	x8, [x23, #8]!
Lloh4:
	adrp	x8, _ServiceProviderVtbl@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ServiceProviderVtbl@GOTPAGEOFF]
	str	x8, [x0, #64]
	mov	w8, #1
	stp	w8, w22, [x0]
	add	x22, x0, #16
Lloh6:
	adrp	x2, _DocHostContainerVtbl@GOTPAGE
Lloh7:
	ldr	x2, [x2, _DocHostContainerVtbl@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x23
	bl	_DocHost_Init
Lloh8:
	adrp	x8, _VARIANT_TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VARIANT_TRUE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	stp	x8, x8, [x21, #48]
	stp	x8, x8, [x21, #32]
	str	x8, [x21, #24]
	mov	x0, x21
	bl	_WebBrowser_OleObject_Init
	mov	x0, x21
	bl	_WebBrowser_ViewObject_Init
	mov	x0, x21
	bl	_WebBrowser_Persist_Init
	mov	x0, x21
	bl	_WebBrowser_ClassInfo_Init
	add	x0, x21, #20
	mov	x1, x23
	mov	x2, x22
	bl	_HlinkFrame_Init
	bl	_lock_module
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_IWebBrowser2_QueryInterface
	mov	x19, x0
	mov	x0, x23
	bl	_IWebBrowser2_Release
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p %s %p) version=%d\n"

	.comm	_WebBrowser2Vtbl,4,2            ; @WebBrowser2Vtbl
	.comm	_ServiceProviderVtbl,4,2        ; @ServiceProviderVtbl
	.comm	_DocHostContainerVtbl,4,2       ; @DocHostContainerVtbl
	.comm	_VARIANT_TRUE,8,3               ; @VARIANT_TRUE
	.no_dead_strip	_create_webbrowser
.subsections_via_symbols
