	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeprom_i2c_out
_eeprom_i2c_out:                        ## @eeprom_i2c_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_eeprom_i2c@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%rax), %edx
	leal	-130(%rdx), %esi
	cmpl	$4, %esi
	jb	LBB0_6
## %bb.1:
	cmpl	$128, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_7
## %bb.3:
	movl	8(%rax), %esi
	cmpl	$8, %esi
	jg	LBB0_7
## %bb.4:
	movl	16(%rax), %edx
	movl	12(%rax), %ecx
	orl	%edx, %ecx
	movzwl	%cx, %ecx
	movq	_sram@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%rdi,%rcx,4), %edi
	movb	$8, %cl
	subb	%sil, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %edi
	setb	%cl
	cmpl	$8, %esi
	jne	LBB0_7
## %bb.5:
	incl	%edx
	andl	20(%rax), %edx
	movl	%edx, 16(%rax)
	jmp	LBB0_7
LBB0_6:
	xorl	%edx, %edx
	cmpl	$9, 8(%rax)
	movzbl	%cl, %ecx
	cmovel	%edx, %ecx
LBB0_7:
	movzbl	%cl, %edx
	movb	24(%rax), %cl
	shll	%cl, %edx
	movzbl	%dl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eeprom_i2c,28,2                ## @eeprom_i2c
	.comm	_sram,8,3                       ## @sram
	.no_dead_strip	_eeprom_i2c_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeprom_i2c_out
_eeprom_i2c_out:                        ; @eeprom_i2c_out
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _eeprom_i2c@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eeprom_i2c@GOTPAGEOFF]
	ldrb	w9, [x8]
	ldr	w10, [x8, #4]
	sub	w11, w10, #130
	cmp	w11, #4
	b.lo	LBB0_6
; %bb.1:
	cmp	w10, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w10, #129
	b.ne	LBB0_7
; %bb.3:
	ldr	w10, [x8, #8]
	cmp	w10, #8
	b.gt	LBB0_7
; %bb.4:
	ldp	w9, w11, [x8, #12]
	orr	w9, w11, w9
	and	x9, x9, #0xffff
Lloh2:
	adrp	x12, _sram@GOTPAGE
Lloh3:
	ldr	x12, [x12, _sram@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x12]
	ldr	w9, [x12, x9, lsl #2]
	mov	w12, #8
	sub	w12, w12, w10
	lsr	w9, w9, w12
	and	w9, w9, #0x1
	cmp	w10, #8
	b.ne	LBB0_7
; %bb.5:
	add	w10, w11, #1
	ldr	w11, [x8, #20]
	and	w10, w11, w10
	str	w10, [x8, #16]
	b	LBB0_7
LBB0_6:
	ldr	w10, [x8, #8]
	cmp	w10, #9
	csel	w9, wzr, w9, eq
LBB0_7:
	ldrb	w8, [x8, #24]
	lsl	w8, w9, w8
	and	w0, w8, #0xff
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_eeprom_i2c,28,2                ; @eeprom_i2c
	.comm	_sram,8,3                       ; @sram
	.no_dead_strip	_eeprom_i2c_out
.subsections_via_symbols
