	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx18_getsda
_cx18_getsda:                           ## @cx18_getsda
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_CX18_REG_I2C_1_RD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CX18_REG_I2C_2_RD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_cx18_read_reg
	movq	_GETSDL_BIT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX18_REG_I2C_2_RD,4,2          ## @CX18_REG_I2C_2_RD
	.comm	_CX18_REG_I2C_1_RD,4,2          ## @CX18_REG_I2C_1_RD
	.comm	_GETSDL_BIT,4,2                 ## @GETSDL_BIT
	.no_dead_strip	_cx18_getsda
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx18_getsda
_cx18_getsda:                           ; @cx18_getsda
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _CX18_REG_I2C_2_RD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CX18_REG_I2C_2_RD@GOTPAGEOFF]
	ldr	w10, [x0]
Lloh2:
	adrp	x11, _CX18_REG_I2C_1_RD@GOTPAGE
Lloh3:
	ldr	x11, [x11, _CX18_REG_I2C_1_RD@GOTPAGEOFF]
	cmp	w10, #0
	csel	x9, x11, x9, eq
	ldr	w1, [x9]
	mov	x0, x8
	bl	_cx18_read_reg
Lloh4:
	adrp	x8, _GETSDL_BIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GETSDL_BIT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	and	w0, w8, w0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CX18_REG_I2C_2_RD,4,2          ; @CX18_REG_I2C_2_RD
	.comm	_CX18_REG_I2C_1_RD,4,2          ; @CX18_REG_I2C_1_RD
	.comm	_GETSDL_BIT,4,2                 ; @GETSDL_BIT
	.no_dead_strip	_cx18_getsda
.subsections_via_symbols
