	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hgsmi_test_query_conf          ## -- Begin function hgsmi_test_query_conf
	.p2align	4, 0x90
_hgsmi_test_query_conf:                 ## @hgsmi_test_query_conf
	.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)
	movq	_U32_MAX@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	-16(%rbp), %rdx
	callq	_hgsmi_query_conf
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rcx
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	cmpq	(%rbx), %rcx
	cmovel	%esi, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U32_MAX,8,3                    ## @U32_MAX
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hgsmi_test_query_conf          ; -- Begin function hgsmi_test_query_conf
	.p2align	2
_hgsmi_test_query_conf:                 ; @hgsmi_test_query_conf
	.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]
Lloh0:
	adrp	x19, _U32_MAX@GOTPAGE
Lloh1:
	ldr	x19, [x19, _U32_MAX@GOTPAGEOFF]
	ldr	x1, [x19]
	add	x2, sp, #8
	bl	_hgsmi_query_conf
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
Lloh2:
	adrp	x10, _EIO@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	x8, x9
	csneg	w0, wzr, w10, eq
LBB0_2:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_U32_MAX,8,3                    ; @U32_MAX
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
