	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function navigate_hlink
_navigate_hlink:                        ## @navigate_hlink
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movl	$0, -52(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_IMoniker_GetDisplayName
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_FIXME
LBB0_2:
	movq	_IID_IHttpNegotiate@GOTPCREL(%rip), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	callq	_IBindStatusCallback_QueryInterface
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-72(%rbp), %rdi
	leaq	_navigate_hlink.null_string(%rip), %rdx
	leaq	-48(%rbp), %r8
	movq	%rdx, %rsi
	xorl	%ecx, %ecx
	callq	_IHttpNegotiate_BeginningTransaction
	movq	-72(%rbp), %rdi
	callq	_IHttpNegotiate_Release
LBB0_4:
	leaq	-104(%rbp), %rbx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$32, -104(%rbp)
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_IBindStatusCallback_GetBindInfo
	movq	%rbx, %rdi
	callq	_dump_BINDINFO
	movq	-96(%rbp), %rax
	movq	_BINDVERB_POST@GOTPCREL(%rip), %rcx
	movl	$0, %r8d
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movq	-80(%rbp), %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.7:
	movq	-88(%rbp), %r13
	jmp	LBB0_8
LBB0_6:
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
LBB0_8:
	cmpq	$0, (%r15)
	movq	-64(%rbp), %rsi
	movq	-48(%rbp), %rax
	je	LBB0_10
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%r13, %rcx
	callq	_async_doc_navigate
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	movq	%r13, %rdx
	movq	%r8, %rcx
	movq	%rax, %r8
	callq	_create_callback
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_navigate_bsc
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_IBindStatusCallback_Release
LBB0_11:
	movq	-64(%rbp), %rdi
	callq	_CoTaskMemFree
	movq	-48(%rbp), %rdi
	callq	_CoTaskMemFree
	leaq	-104(%rbp), %rdi
	callq	_ReleaseBindInfo
	movl	%ebx, %eax
	addq	$72, %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"

L_.str.1:                               ## @.str.1
	.asciz	"GetDisplayName failed: %08x\n"

	.comm	_IID_IHttpNegotiate,4,2         ## @IID_IHttpNegotiate
	.section	__TEXT,__const
	.p2align	2                               ## @navigate_hlink.null_string
_navigate_hlink.null_string:
	.space	4

	.comm	_BINDVERB_POST,8,3              ## @BINDVERB_POST
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_navigate_hlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function navigate_hlink
_navigate_hlink:                        ; @navigate_hlink
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #48]
	str	wzr, [sp, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x3, sp, #40
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	bl	_IMoniker_GetDisplayName
	mov	x22, x0
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_FIXME
LBB0_2:
Lloh4:
	adrp	x1, _IID_IHttpNegotiate@GOTPAGE
Lloh5:
	ldr	x1, [x1, _IID_IHttpNegotiate@GOTPAGEOFF]
	sub	x2, x29, #40
	mov	x0, x21
	bl	_IBindStatusCallback_QueryInterface
	bl	_SUCCEEDED
	cbz	x0, LBB0_4
; %bb.3:
	ldur	x0, [x29, #-40]
Lloh6:
	adrp	x1, _navigate_hlink.null_string@PAGE
Lloh7:
	add	x1, x1, _navigate_hlink.null_string@PAGEOFF
	add	x4, sp, #48
	mov	x2, x1
	mov	w3, #0
	bl	_IHttpNegotiate_BeginningTransaction
	ldur	x0, [x29, #-40]
	bl	_IHttpNegotiate_Release
LBB0_4:
	mov	w22, #32
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	w22, [sp, #8]
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x21
	bl	_IBindStatusCallback_GetBindInfo
	add	x0, sp, #8
	bl	_dump_BINDINFO
	ldr	x8, [sp, #16]
Lloh8:
	adrp	x9, _BINDVERB_POST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BINDVERB_POST@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	x4, [sp, #32]
	cbz	x4, LBB0_8
; %bb.6:
	ldr	x3, [sp, #24]
	b	LBB0_9
LBB0_7:
	mov	x3, #0
	mov	x4, #0
	b	LBB0_9
LBB0_8:
	mov	x3, #0
LBB0_9:
	ldr	x9, [x19]
	ldp	x1, x8, [sp, #40]
	cbz	x9, LBB0_11
; %bb.10:
Lloh11:
	adrp	x9, _FALSE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x9]
	mov	x0, x19
	mov	x2, x8
	bl	_async_doc_navigate
	mov	x19, x0
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x2, x3
	mov	x3, x4
	mov	x4, x8
	bl	_create_callback
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_navigate_bsc
	mov	x19, x0
	mov	x0, x21
	bl	_IBindStatusCallback_Release
LBB0_12:
	ldr	x0, [sp, #40]
	bl	_CoTaskMemFree
	ldr	x0, [sp, #48]
	bl	_CoTaskMemFree
	add	x0, sp, #8
	bl	_ReleaseBindInfo
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"GetDisplayName failed: %08x\n"

	.comm	_IID_IHttpNegotiate,4,2         ; @IID_IHttpNegotiate
	.section	__TEXT,__const
	.p2align	2                               ; @navigate_hlink.null_string
_navigate_hlink.null_string:
	.space	4

	.comm	_BINDVERB_POST,8,3              ; @BINDVERB_POST
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_navigate_hlink
.subsections_via_symbols
