	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kxtj9_verify
_kxtj9_verify:                          ## @kxtj9_verify
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_kxtj9_device_power_on
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r14), %rdi
	movq	_WHO_AM_I@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	addl	$-9, %ebx
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	$-2, %ebx
	cmovael	%eax, %ecx
	movl	%ecx, %ebx
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_5:
	movq	%r14, %rdi
	callq	_kxtj9_device_power_off
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHO_AM_I,4,2                   ## @WHO_AM_I
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read err int source\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_kxtj9_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kxtj9_verify
_kxtj9_verify:                          ; @kxtj9_verify
	.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, x0
	bl	_kxtj9_device_power_on
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _WHO_AM_I@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WHO_AM_I@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	sub	w8, w20, #9
Lloh3:
	adrp	x9, _EIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmn	w8, #2
	csneg	w20, wzr, w9, hs
	b	LBB0_5
LBB0_3:
	mov	x20, x0
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_5:
	mov	x0, x19
	bl	_kxtj9_device_power_off
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WHO_AM_I,4,2                   ; @WHO_AM_I
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read err int source\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_kxtj9_verify
.subsections_via_symbols
