	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgs8gxx_is_autodetect_finished
_lgs8gxx_is_autodetect_finished:        ## @lgs8gxx_is_autodetect_finished
	.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	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_LGS8GXX_PROD_LGS8G75@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$31, %eax
	movl	$164, %esi
	cmovel	%eax, %esi
	movl	$192, %eax
	movl	$3, %edx
	cmovel	%eax, %edx
	movl	$128, %eax
	movl	$1, %ecx
	cmovel	%eax, %ecx
	movl	$10, %r8d
	movl	$20, %r9d
	callq	_wait_reg_mask
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LGS8GXX_PROD_LGS8G75,8,3       ## @LGS8GXX_PROD_LGS8G75
	.no_dead_strip	_lgs8gxx_is_autodetect_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgs8gxx_is_autodetect_finished
_lgs8gxx_is_autodetect_finished:        ; @lgs8gxx_is_autodetect_finished
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _LGS8GXX_PROD_LGS8G75@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LGS8GXX_PROD_LGS8G75@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #164
	mov	w9, #31
	csel	w1, w9, w8, eq
	mov	w8, #3
	mov	w9, #192
	csel	w2, w9, w8, eq
	mov	w8, #128
	csinc	w3, w8, wzr, eq
	mov	w4, #10
	mov	w5, #20
	bl	_wait_reg_mask
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LGS8GXX_PROD_LGS8G75,8,3       ; @LGS8GXX_PROD_LGS8G75
	.no_dead_strip	_lgs8gxx_is_autodetect_finished
.subsections_via_symbols
