	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e100_eeprom_read
_e100_eeprom_read:                      ## @e100_eeprom_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_op_read@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movb	(%rsi), %cl
	shll	%cl, %r13d
	orl	%edx, %r13d
	shll	$16, %r13d
	movq	_eecs@GOTPCREL(%rip), %rax
	movq	_eesk@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%r15), %rsi
	callq	_iowrite8
	movq	%r15, %rdi
	callq	_e100_write_flush
	movl	$4, %edi
	callq	_udelay
	xorl	%r12d, %r12d
	movl	$31, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	leal	(%rax,%r12,2), %r12d
	leal	-1(%r14), %eax
	testl	%r14d, %r14d
	movl	%eax, %r14d
	jle	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	btl	%r14d, %r13d
	movl	$0, %ebx
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_eedi@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_eecs@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_iowrite8
	movq	%r15, %rdi
	callq	_e100_write_flush
	movl	$4, %edi
	callq	_udelay
	movq	_eesk@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_iowrite8
	movq	%r15, %rdi
	callq	_e100_write_flush
	movl	$4, %edi
	callq	_udelay
	movq	(%r15), %rdi
	callq	_ioread8
	movq	_eedo@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$17, %r14d
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %ecx
	subl	%r14d, %ecx
	addl	$16, %ecx
	movl	%ecx, (%rdx)
	movq	_eedo@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	$17, %r14d
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_7:
	movq	(%r15), %rsi
	xorl	%edi, %edi
	callq	_iowrite8
	movq	%r15, %rdi
	callq	_e100_write_flush
	movl	$4, %edi
	callq	_udelay
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu_to_le16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_op_read,4,2                    ## @op_read
	.comm	_eecs,4,2                       ## @eecs
	.comm	_eesk,4,2                       ## @eesk
	.comm	_eedi,4,2                       ## @eedi
	.comm	_eedo,4,2                       ## @eedo
	.no_dead_strip	_e100_eeprom_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e100_eeprom_read
_e100_eeprom_read:                      ; @e100_eeprom_read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _op_read@GOTPAGE
Lloh1:
	ldr	x8, [x8, _op_read@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x1]
	lsl	w8, w8, w9
	orr	w8, w8, w2
	lsl	w23, w8, #16
Lloh3:
	adrp	x24, _eecs@GOTPAGE
Lloh4:
	ldr	x24, [x24, _eecs@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh5:
	adrp	x25, _eesk@GOTPAGE
Lloh6:
	ldr	x25, [x25, _eesk@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w0, w9, w8
	ldr	x1, [x19]
	bl	_iowrite8
	mov	x0, x19
	bl	_e100_write_flush
	mov	w0, #4
	bl	_udelay
	mov	w21, #0
	mov	w28, #31
Lloh7:
	adrp	x26, _eedi@GOTPAGE
Lloh8:
	ldr	x26, [x26, _eedi@GOTPAGEOFF]
Lloh9:
	adrp	x27, _eedo@GOTPAGE
Lloh10:
	ldr	x27, [x27, _eedo@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #0
	cset	w8, ne
	bfi	w8, w21, #1, #31
	mov	x21, x8
	sub	w8, w28, #1
	cmp	w28, #0
	mov	x28, x8
	b.le	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26]
	lsr	w10, w23, w28
	sbfx	w10, w10, #0, #1
	and	w9, w10, w9
	orr	w22, w9, w8
	ldr	x1, [x19]
	mov	x0, x22
	bl	_iowrite8
	mov	x0, x19
	bl	_e100_write_flush
	mov	w0, #4
	bl	_udelay
	ldr	w8, [x25]
	orr	w0, w8, w22
	ldr	x1, [x19]
	bl	_iowrite8
	mov	x0, x19
	bl	_e100_write_flush
	mov	w0, #4
	bl	_udelay
	ldr	x0, [x19]
	bl	_ioread8
	ldr	w8, [x27]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w28, #17, #0, eq
	b.lo	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	sub	w8, w8, w28
	add	w8, w8, #16
	str	w8, [x20]
	ldr	w8, [x27]
	and	w8, w8, w0
	mov	w28, #17
	b	LBB0_1
LBB0_4:
	ldr	x1, [x19]
	mov	w0, #0
	bl	_iowrite8
	mov	x0, x19
	bl	_e100_write_flush
	mov	w0, #4
	bl	_udelay
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_cpu_to_le16
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_op_read,4,2                    ; @op_read
	.comm	_eecs,4,2                       ; @eecs
	.comm	_eesk,4,2                       ; @eesk
	.comm	_eedi,4,2                       ; @eedi
	.comm	_eedo,4,2                       ; @eedo
	.no_dead_strip	_e100_eeprom_read
.subsections_via_symbols
