	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_attribute_mem_xo2
_read_attribute_mem_xo2:                ## @read_attribute_mem_xo2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_DDB_CI_EXTERNAL_XO2@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	cmpq	(%rdi), %rcx
	movq	8(%rax), %rdi
	sete	%sil
	xorl	$19, %esi
	orl	$32768, %edx                    ## imm = 0x8000
	leaq	-4(%rbp), %rcx
	callq	_i2c_read_reg16
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-4(%rbp), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ## @DDB_CI_EXTERNAL_XO2
	.no_dead_strip	_read_attribute_mem_xo2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_attribute_mem_xo2
_read_attribute_mem_xo2:                ; @read_attribute_mem_xo2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DDB_CI_EXTERNAL_XO2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DDB_CI_EXTERNAL_XO2@GOTPAGEOFF]
	ldp	x8, x0, [x8]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #18
	cinc	w1, w8, ne
	orr	w2, w2, #0x8000
	sub	x3, x29, #4
	bl	_i2c_read_reg16
	ldur	w8, [x29, #-4]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ; @DDB_CI_EXTERNAL_XO2
	.no_dead_strip	_read_attribute_mem_xo2
.subsections_via_symbols
