	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_i2c_ack
_ixgbe_get_i2c_ack:                     ## @ixgbe_get_i2c_ack
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_IXGBE_I2C_DATA_OE_N_EN
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_IXGBE_I2C_DATA_OUT
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	%ebx, -28(%rbp)
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_2:
	leaq	-28(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ixgbe_raise_i2c_clk
	movq	_IXGBE_I2C_T_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.3:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.4:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.5:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.6:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.7:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.8:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.9:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	callq	_IXGBE_I2CCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_get_i2c_data
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	cmpl	$1, %ebx
	jne	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ixgbe_lower_i2c_clk
	movq	_IXGBE_I2C_T_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_I2C_T_HIGH,4,2           ## @IXGBE_I2C_T_HIGH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C ack was not received.\n"

	.comm	_IXGBE_ERR_I2C,4,2              ## @IXGBE_ERR_I2C
	.comm	_IXGBE_I2C_T_LOW,4,2            ## @IXGBE_I2C_T_LOW
	.no_dead_strip	_ixgbe_get_i2c_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_i2c_ack
_ixgbe_get_i2c_ack:                     ; @ixgbe_get_i2c_ack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_IXGBE_I2C_DATA_OE_N_EN
	mov	x20, x0
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_IXGBE_I2C_DATA_OUT
	orr	w8, w0, w20
	orr	w20, w8, w21
	str	w20, [sp, #12]
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_2:
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_raise_i2c_clk
Lloh0:
	adrp	x8, _IXGBE_I2C_T_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_I2C_T_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_udelay
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.3:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.4:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.5:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.6:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.8:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.9:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cbz	w20, LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_IXGBE_I2CCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_get_i2c_data
	mov	x20, x0
	mov	w0, #1
	bl	_udelay
	cmp	w20, #1
	b.ne	LBB0_13
; %bb.12:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh5:
	adrp	x8, _IXGBE_ERR_I2C@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_ERR_I2C@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	b	LBB0_14
LBB0_13:
	mov	w20, #0
LBB0_14:
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_lower_i2c_clk
Lloh8:
	adrp	x8, _IXGBE_I2C_T_LOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_I2C_T_LOW@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_udelay
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_I2C_T_HIGH,4,2           ; @IXGBE_I2C_T_HIGH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C ack was not received.\n"

	.comm	_IXGBE_ERR_I2C,4,2              ; @IXGBE_ERR_I2C
	.comm	_IXGBE_I2C_T_LOW,4,2            ; @IXGBE_I2C_T_LOW
	.no_dead_strip	_ixgbe_get_i2c_ack
.subsections_via_symbols
