	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function have_hgsmi_mode_hints
_have_hgsmi_mode_hints:                 ## @have_hgsmi_mode_hints
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_VBOX_VBVA_CONF32_MODE_HINT_REPORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_hgsmi_query_conf
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	movq	_VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_hgsmi_query_conf
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_VINF_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-32(%rbp), %rcx
	xorq	%rax, %rcx
	xorq	-24(%rbp), %rax
	xorl	%r14d, %r14d
	orq	%rcx, %rax
	sete	%r14b
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VBOX_VBVA_CONF32_MODE_HINT_REPORTING,4,2 ## @VBOX_VBVA_CONF32_MODE_HINT_REPORTING
	.comm	_VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING,4,2 ## @VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING
	.comm	_VINF_SUCCESS,8,3               ## @VINF_SUCCESS
	.no_dead_strip	_have_hgsmi_mode_hints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function have_hgsmi_mode_hints
_have_hgsmi_mode_hints:                 ; @have_hgsmi_mode_hints
	.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, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _VBOX_VBVA_CONF32_MODE_HINT_REPORTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VBOX_VBVA_CONF32_MODE_HINT_REPORTING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_hgsmi_query_conf
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_hgsmi_query_conf
	cbz	w0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh6:
	adrp	x8, _VINF_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VINF_SUCCESS@GOTPAGEOFF]
	ldr	x9, [sp, #8]
Lloh8:
	ldr	x8, [x8]
	cmp	x9, x8
	ldr	x9, [sp]
	ccmp	x9, x8, #0, eq
	cset	w0, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VBOX_VBVA_CONF32_MODE_HINT_REPORTING,4,2 ; @VBOX_VBVA_CONF32_MODE_HINT_REPORTING
	.comm	_VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING,4,2 ; @VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING
	.comm	_VINF_SUCCESS,8,3               ; @VINF_SUCCESS
	.no_dead_strip	_have_hgsmi_mode_hints
.subsections_via_symbols
