	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_write_i2c_byte_generic_int
_ixgbe_write_i2c_byte_generic_int:      ## @ixgbe_write_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	testl	%r8d, %r8d
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_IXGBE_ERR_SWFW_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_13
LBB0_3:
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_start
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_clock_out_i2c_byte
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_ixgbe_get_i2c_ack
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_bus_clear
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_dbg
	testl	%r15d, %r15d
	je	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
LBB0_13:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_stop
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ## @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"I2C byte write error.\n"

	.no_dead_strip	_ixgbe_write_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_write_i2c_byte_generic_int
_ixgbe_write_i2c_byte_generic_int:      ; @ixgbe_write_i2c_byte_generic_int
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	cbz	w4, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	b	LBB0_11
LBB0_3:
	mov	x0, x20
	bl	_ixgbe_i2c_start
	mov	x0, x20
	mov	x1, x23
	bl	_ixgbe_clock_out_i2c_byte
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_ixgbe_get_i2c_ack
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.5:
	mov	x0, x20
	mov	x1, x24
	bl	_ixgbe_clock_out_i2c_byte
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_ixgbe_get_i2c_ack
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	mov	x1, x22
	bl	_ixgbe_clock_out_i2c_byte
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_ixgbe_get_i2c_ack
	mov	x23, x0
	cbz	w0, LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_ixgbe_i2c_bus_clear
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_hw_dbg
	cbz	w21, LBB0_11
; %bb.10:
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_11:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x20
	bl	_ixgbe_i2c_stop
	cbz	w21, LBB0_14
; %bb.13:
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_14:
	mov	w23, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ; @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"I2C byte write error.\n"

	.no_dead_strip	_ixgbe_write_i2c_byte_generic_int
.subsections_via_symbols
