	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function object_available
_object_available:                      ## @object_available
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_TRACE
	movl	8(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.1:
	movq	_IID_IHlinkTarget@GOTPCREL(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_IUnknown_QueryInterface
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	-32(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_IHlinkTarget_Navigate
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_IHlinkTarget_Release
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	8(%rbx), %edi
	movq	_IID_IOleObject@GOTPCREL(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_IUnknown_QueryInterface
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	jmp	LBB0_8
LBB0_6:
	movl	(%rbx), %edi
	leaq	-36(%rbp), %r14
	movq	%r14, %rsi
	callq	_GetClientRect
	movq	-24(%rbp), %rdi
	movq	_OLEIVERB_SHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r9d
	addq	$4, %rbx
	movq	%r14, (%rsp)
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movl	$-1, %r8d
	callq	_IOleObject_DoVerb
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	callq	_IOleObject_Release
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
LBB0_8:
	xorl	%eax, %eax
	callq	_FIXME
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"document == NULL\n"

	.comm	_IID_IHlinkTarget,4,2           ## @IID_IHlinkTarget
L_.str.2:                               ## @.str.2
	.asciz	"Navigate failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"No IHlink iface\n"

	.comm	_IID_IOleObject,4,2             ## @IID_IOleObject
L_.str.4:                               ## @.str.4
	.asciz	"Could not get IOleObject iface: %08x\n"

	.comm	_OLEIVERB_SHOW,4,2              ## @OLEIVERB_SHOW
L_.str.5:                               ## @.str.5
	.asciz	"DoVerb failed: %08x\n"

	.no_dead_strip	_object_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function object_available
_object_available:                      ; @object_available
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #8]
	cbz	w0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, _IID_IHlinkTarget@GOTPAGE
Lloh3:
	ldr	x1, [x1, _IID_IHlinkTarget@GOTPAGEOFF]
	add	x2, sp, #24
	bl	_IUnknown_QueryInterface
	bl	_SUCCEEDED
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [sp, #24]
	mov	w1, #0
	mov	x2, #0
	bl	_IHlinkTarget_Navigate
	mov	x19, x0
	ldr	x0, [sp, #24]
	bl	_IHlinkTarget_Release
	mov	x0, x19
	bl	_FAILED
	cbz	x0, LBB0_10
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_WARN
LBB0_5:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x1, _IID_IOleObject@GOTPAGE
Lloh11:
	ldr	x1, [x1, _IID_IOleObject@GOTPAGEOFF]
	add	x2, sp, #16
	bl	_IUnknown_QueryInterface
	mov	x20, x0
	bl	_FAILED
	cbz	x0, LBB0_7
; %bb.6:
	str	x20, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldr	w0, [x19]
	add	x1, sp, #12
	bl	_GetClientRect
	ldr	x0, [sp, #16]
Lloh14:
	adrp	x8, _OLEIVERB_SHOW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OLEIVERB_SHOW@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w5, [x19], #4
	add	x6, sp, #12
	mov	x2, #0
	mov	x3, x19
	mov	w4, #-1
	bl	_IOleObject_DoVerb
	mov	x19, x0
	ldr	x0, [sp, #16]
	bl	_IOleObject_Release
	mov	x0, x19
	bl	_FAILED
	cbz	x0, LBB0_10
; %bb.8:
	str	x19, [sp]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_9:
	bl	_FIXME
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"document == NULL\n"

	.comm	_IID_IHlinkTarget,4,2           ; @IID_IHlinkTarget
l_.str.2:                               ; @.str.2
	.asciz	"Navigate failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"No IHlink iface\n"

	.comm	_IID_IOleObject,4,2             ; @IID_IOleObject
l_.str.4:                               ; @.str.4
	.asciz	"Could not get IOleObject iface: %08x\n"

	.comm	_OLEIVERB_SHOW,4,2              ; @OLEIVERB_SHOW
l_.str.5:                               ; @.str.5
	.asciz	"DoVerb failed: %08x\n"

	.no_dead_strip	_object_available
.subsections_via_symbols
