	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_i2c_data
_ixgbe_set_i2c_data:                    ## @ixgbe_set_i2c_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_IXGBE_I2C_DATA_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orl	(%rbx), %edx
	jmp	LBB0_3
LBB0_2:
	notl	%edx
	andl	(%rbx), %edx
LBB0_3:
	movl	%edx, (%rbx)
	movq	_IXGBE_I2CCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	_IXGBE_I2C_T_RISE@GOTPCREL(%rip), %rax
	movq	_IXGBE_I2C_T_FALL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movq	_IXGBE_I2C_T_SU_DATA@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_data
	xorl	%ebx, %ebx
	cmpl	%r14d, %eax
	je	LBB0_5
## %bb.4:
	movq	_IXGBE_ERR_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_hw_dbg
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_I2C_DATA_OUT,4,2         ## @IXGBE_I2C_DATA_OUT
	.comm	_IXGBE_I2CCTL,4,2               ## @IXGBE_I2CCTL
	.comm	_IXGBE_I2C_T_RISE,8,3           ## @IXGBE_I2C_T_RISE
	.comm	_IXGBE_I2C_T_FALL,8,3           ## @IXGBE_I2C_T_FALL
	.comm	_IXGBE_I2C_T_SU_DATA,8,3        ## @IXGBE_I2C_T_SU_DATA
	.comm	_IXGBE_ERR_I2C,4,2              ## @IXGBE_ERR_I2C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error - I2C data was not set to %X.\n"

	.no_dead_strip	_ixgbe_set_i2c_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_i2c_data
_ixgbe_set_i2c_data:                    ; @ixgbe_set_i2c_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IXGBE_I2C_DATA_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_I2C_DATA_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w9, [x21]
	orr	w2, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	w9, [x21]
	bic	w2, w9, w8
LBB0_3:
	str	w2, [x21]
Lloh3:
	adrp	x22, _IXGBE_I2CCTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_I2CCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	bl	_IXGBE_WRITE_FLUSH
Lloh5:
	adrp	x8, _IXGBE_I2C_T_RISE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_I2C_T_RISE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _IXGBE_I2C_T_FALL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_I2C_T_FALL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _IXGBE_I2C_T_SU_DATA@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IXGBE_I2C_T_SU_DATA@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x0, x8, x10
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	str	w0, [x21]
	mov	x0, x21
	bl	_ixgbe_get_i2c_data
	cmp	w0, w19
	b.ne	LBB0_5
; %bb.4:
	mov	w21, #0
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _IXGBE_ERR_I2C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_ERR_I2C@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_hw_dbg
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_I2C_DATA_OUT,4,2         ; @IXGBE_I2C_DATA_OUT
	.comm	_IXGBE_I2CCTL,4,2               ; @IXGBE_I2CCTL
	.comm	_IXGBE_I2C_T_RISE,8,3           ; @IXGBE_I2C_T_RISE
	.comm	_IXGBE_I2C_T_FALL,8,3           ; @IXGBE_I2C_T_FALL
	.comm	_IXGBE_I2C_T_SU_DATA,8,3        ; @IXGBE_I2C_T_SU_DATA
	.comm	_IXGBE_ERR_I2C,4,2              ; @IXGBE_ERR_I2C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error - I2C data was not set to %X.\n"

	.no_dead_strip	_ixgbe_set_i2c_data
.subsections_via_symbols
