	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_eeprom                    ## -- Begin function read_eeprom
	.p2align	4, 0x90
_read_eeprom:                           ## @read_eeprom
	.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	_AD5258_ADDR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_i2c_start_write
	movq	_AD5258_INST_EEPROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i2c_master_write
	movl	(%rbx), %edi
	callq	_i2c_start_read
	movq	_I2C_NACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_i2c_master_read
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_i2c_master_stop
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5258_ADDR,4,2                ## @AD5258_ADDR
	.comm	_AD5258_INST_EEPROM,4,2         ## @AD5258_INST_EEPROM
	.comm	_I2C_NACK,4,2                   ## @I2C_NACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_eeprom                    ; -- Begin function read_eeprom
	.p2align	2
_read_eeprom:                           ; @read_eeprom
	.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
Lloh0:
	adrp	x19, _AD5258_ADDR@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AD5258_ADDR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_i2c_start_write
Lloh2:
	adrp	x8, _AD5258_INST_EEPROM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AD5258_INST_EEPROM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_i2c_master_write
	ldr	w0, [x19]
	bl	_i2c_start_read
Lloh5:
	adrp	x8, _I2C_NACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2C_NACK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_i2c_master_read
	mov	x19, x0
	bl	_i2c_master_stop
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5258_ADDR,4,2                ; @AD5258_ADDR
	.comm	_AD5258_INST_EEPROM,4,2         ; @AD5258_INST_EEPROM
	.comm	_I2C_NACK,4,2                   ; @I2C_NACK
.subsections_via_symbols
