	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_read_i2c_byte_82599
_ixgbe_read_i2c_byte_82599:             ## @ixgbe_read_i2c_byte_82599
	.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, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	cmpl	$1, (%rdi)
	jne	LBB0_5
## %bb.1:
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_ESDP_SDP0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$-200, %r14d
	movq	_IXGBE_ESDP_SDP1@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%r15)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$5000, %edi                     ## imm = 0x1388
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_usleep_range
	incl	%r14d
	jne	LBB0_2
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$1, (%rbx)
	je	LBB0_7
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_ixgbe_read_i2c_byte_generic
	movl	%eax, %r14d
	cmpl	$1, (%rbx)
	jne	LBB0_8
LBB0_7:
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_ESDP_SDP0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ESDP,4,2                 ## @IXGBE_ESDP
	.comm	_IXGBE_ESDP_SDP0,4,2            ## @IXGBE_ESDP_SDP0
	.comm	_IXGBE_ESDP_SDP1,4,2            ## @IXGBE_ESDP_SDP1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver can't access resource, acquiring I2C bus timeout.\n"

	.comm	_IXGBE_ERR_I2C,4,2              ## @IXGBE_ERR_I2C
	.no_dead_strip	_ixgbe_read_i2c_byte_82599
.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_82599
_ixgbe_read_i2c_byte_82599:             ; @ixgbe_read_i2c_byte_82599
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x23, _IXGBE_ESDP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IXGBE_ESDP@GOTPAGEOFF]
Lloh2:
	adrp	x24, _IXGBE_ESDP_SDP0@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IXGBE_ESDP_SDP0@GOTPAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	orr	w2, w8, w0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	mov	w25, #-200
Lloh4:
	adrp	x26, _IXGBE_ESDP_SDP1@GOTPAGE
Lloh5:
	ldr	x26, [x26, _IXGBE_ESDP_SDP1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x26]
	tst	w8, w0
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #5000
	mov	w1, #10000
	bl	_usleep_range
	adds	w25, w25, #1
	b.lo	LBB0_2
; %bb.4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh8:
	adrp	x8, _IXGBE_ERR_I2C@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_ERR_I2C@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_ixgbe_read_i2c_byte_generic
	mov	x20, x0
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.7:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	bic	w2, w0, w8
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_8:
	mov	x0, x20
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ESDP,4,2                 ; @IXGBE_ESDP
	.comm	_IXGBE_ESDP_SDP0,4,2            ; @IXGBE_ESDP_SDP0
	.comm	_IXGBE_ESDP_SDP1,4,2            ; @IXGBE_ESDP_SDP1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver can't access resource, acquiring I2C bus timeout.\n"

	.comm	_IXGBE_ERR_I2C,4,2              ; @IXGBE_ERR_I2C
	.no_dead_strip	_ixgbe_read_i2c_byte_82599
.subsections_via_symbols
