	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_read_i2c_byte_generic_int
_ixgbe_read_i2c_byte_generic_int:       ## @ixgbe_read_i2c_byte_generic_int
	.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
	movl	%r8d, %r15d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	24(%rdi), %r14d
	movq	(%rdi), %rax
	movq	_ixgbe_mac_X550@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$10, %eax
	movl	$3, %r13d
	cmovll	%eax, %r13d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_ixgbe_is_sfp_probe
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_SFP_DETECT_RETRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	$1, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r13d
	movl	$1, %eax
	cmovll	%eax, %r13d
	decl	%r13d
	testl	%r15d, %r15d
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*16(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_start
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_start
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ixgbe_clock_in_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ixgbe_clock_out_i2c_bit
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_bus_clear
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*8(%rbx)
	movl	$100, %edi
	callq	_msleep
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	subl	$1, %r13d
	jb	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_hw_dbg
	testl	%r15d, %r15d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_19:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_dbg
	jmp	LBB0_20
LBB0_5:
	movq	_IXGBE_ERR_SWFW_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_20:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_stop
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.15:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*8(%rbx)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_mac_X550,8,3             ## @ixgbe_mac_X550
	.comm	_IXGBE_SFP_DETECT_RETRIES,4,2   ## @IXGBE_SFP_DETECT_RETRIES
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ## @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C byte read error - Retrying.\n"

L_.str.1:                               ## @.str.1
	.asciz	"I2C byte read error.\n"

	.no_dead_strip	_ixgbe_read_i2c_byte_generic_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_read_i2c_byte_generic_int
_ixgbe_read_i2c_byte_generic_int:       ; @ixgbe_read_i2c_byte_generic_int
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w20, [x0, #24]
Lloh0:
	adrp	x8, _ixgbe_mac_X550@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ixgbe_mac_X550@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #3
	mov	w9, #10
	csel	w25, w9, w8, lt
	bl	_ixgbe_is_sfp_probe
Lloh3:
	adrp	x8, _IXGBE_SFP_DETECT_RETRIES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_SFP_DETECT_RETRIES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w25, w8, eq
	str	wzr, [x22]
	orr	w25, w23, #0x1
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	sub	w28, w8, #1
Lloh6:
	adrp	x26, l_.str@PAGE
Lloh7:
	add	x26, x26, l_.str@PAGEOFF
	cbz	w21, LBB0_2
LBB0_1:
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_15
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ixgbe_i2c_start
	mov	x0, x19
	mov	x1, x23
	bl	_ixgbe_clock_out_i2c_byte
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ixgbe_get_i2c_ack
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_ixgbe_clock_out_i2c_byte
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ixgbe_get_i2c_ack
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ixgbe_i2c_start
	mov	x0, x19
	mov	x1, x25
	bl	_ixgbe_clock_out_i2c_byte
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ixgbe_get_i2c_ack
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_ixgbe_clock_in_i2c_byte
	mov	x27, x0
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_ixgbe_clock_out_i2c_bit
	mov	x27, x0
	cbz	w0, LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ixgbe_i2c_bus_clear
	cbz	w21, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	w0, #100
	bl	_msleep
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w28, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_hw_dbg
	sub	w28, w28, #1
	cbnz	w21, LBB0_1
	b	LBB0_2
LBB0_14:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
	b	LBB0_16
LBB0_15:
Lloh10:
	adrp	x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGEOFF]
Lloh12:
	ldr	w27, [x8]
LBB0_16:
	mov	x0, x27
	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
	ret
LBB0_17:
	mov	x0, x19
	bl	_ixgbe_i2c_stop
	cbz	w21, LBB0_19
; %bb.18:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_19:
	mov	w27, #0
	b	LBB0_16
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_mac_X550,8,3             ; @ixgbe_mac_X550
	.comm	_IXGBE_SFP_DETECT_RETRIES,4,2   ; @IXGBE_SFP_DETECT_RETRIES
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ; @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C byte read error - Retrying.\n"

l_.str.1:                               ; @.str.1
	.asciz	"I2C byte read error.\n"

	.no_dead_strip	_ixgbe_read_i2c_byte_generic_int
.subsections_via_symbols
