	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_read_eeprom_buffer_bit_bang
_ixgbe_read_eeprom_buffer_bit_bang:     ## @ixgbe_read_eeprom_buffer_bit_bang
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_IXGBE_EEPROM_READ_OPCODE_SPI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_ixgbe_acquire_eeprom
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_ixgbe_ready_eeprom
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movq	%r15, %rdi
	callq	_ixgbe_release_eeprom
	movq	_IXGBE_ERR_EEPROM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.3:
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$8, (%r15)
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	orl	%eax, %ebx
	movq	_IXGBE_EEPROM_OPCODE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ixgbe_shift_out_eeprom_bits
	movl	(%r15), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ixgbe_shift_out_eeprom_bits
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_ixgbe_shift_in_eeprom_bits
	movl	%eax, %ecx
	sarl	$8, %ecx
	shll	$8, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14,%r13,4)
	incq	%r13
	addl	$2, %r12d
	cmpq	%r13, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ixgbe_standby_eeprom
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %ecx
	movl	$0, %eax
	cmpl	$127, %ecx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_IXGBE_EEPROM_A8_OPCODE_SPI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_ixgbe_release_eeprom
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_EEPROM_READ_OPCODE_SPI,4,2 ## @IXGBE_EEPROM_READ_OPCODE_SPI
	.comm	_IXGBE_ERR_EEPROM,8,3           ## @IXGBE_ERR_EEPROM
	.comm	_IXGBE_EEPROM_A8_OPCODE_SPI,4,2 ## @IXGBE_EEPROM_A8_OPCODE_SPI
	.comm	_IXGBE_EEPROM_OPCODE_BITS,4,2   ## @IXGBE_EEPROM_OPCODE_BITS
	.no_dead_strip	_ixgbe_read_eeprom_buffer_bit_bang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_read_eeprom_buffer_bit_bang
_ixgbe_read_eeprom_buffer_bit_bang:     ; @ixgbe_read_eeprom_buffer_bit_bang
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IXGBE_EEPROM_READ_OPCODE_SPI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_EEPROM_READ_OPCODE_SPI@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_ixgbe_acquire_eeprom
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_ixgbe_ready_eeprom
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ixgbe_release_eeprom
Lloh3:
	adrp	x8, _IXGBE_ERR_EEPROM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_ERR_EEPROM@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_3:
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.4:
	lsl	w23, w21, #1
Lloh6:
	adrp	x25, _IXGBE_EEPROM_A8_OPCODE_SPI@GOTPAGE
Lloh7:
	ldr	x25, [x25, _IXGBE_EEPROM_A8_OPCODE_SPI@GOTPAGEOFF]
Lloh8:
	adrp	x26, _IXGBE_EEPROM_OPCODE_BITS@GOTPAGE
Lloh9:
	ldr	x26, [x26, _IXGBE_EEPROM_OPCODE_BITS@GOTPAGEOFF]
	mov	w24, w24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ixgbe_standby_eeprom
	ldr	w8, [x19]
	cmp	w21, #127
	ccmp	w8, #8, #0, gt
	ldr	w8, [x25]
	csel	w8, w8, wzr, eq
	orr	w22, w8, w22
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_ixgbe_shift_out_eeprom_bits
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x23
	bl	_ixgbe_shift_out_eeprom_bits
	mov	x0, x19
	mov	w1, #16
	bl	_ixgbe_shift_in_eeprom_bits
	asr	w8, w0, #8
	orr	w8, w8, w0, lsl #8
	str	w8, [x20], #4
	add	w23, w23, #2
	add	w21, w21, #1
	subs	x24, x24, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_ixgbe_release_eeprom
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_EEPROM_READ_OPCODE_SPI,4,2 ; @IXGBE_EEPROM_READ_OPCODE_SPI
	.comm	_IXGBE_ERR_EEPROM,8,3           ; @IXGBE_ERR_EEPROM
	.comm	_IXGBE_EEPROM_A8_OPCODE_SPI,4,2 ; @IXGBE_EEPROM_A8_OPCODE_SPI
	.comm	_IXGBE_EEPROM_OPCODE_BITS,4,2   ; @IXGBE_EEPROM_OPCODE_BITS
	.no_dead_strip	_ixgbe_read_eeprom_buffer_bit_bang
.subsections_via_symbols
