	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_read_i2c_combined_generic_int ## -- Begin function ixgbe_read_i2c_combined_generic_int
	.p2align	4, 0x90
_ixgbe_read_i2c_combined_generic_int:   ## @ixgbe_read_i2c_combined_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	16(%rdi), %r15d
	movzbl	%dl, %esi
	shrl	$7, %edx
	orl	$1, %edx
	movzbl	%dl, %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_ixgbe_ones_comp_byte_add
	notl	%eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %eax
	orl	$1, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$2, %r14d
	testl	%r12d, %r12d
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*8(%rbx)
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_start
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ixgbe_out_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_out_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_out_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_out_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_start
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ixgbe_out_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	callq	_ixgbe_in_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-60(%rbp), %rsi
	callq	_ixgbe_in_i2c_byte_ack
	testq	%rax, %rax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-76(%rbp), %rsi
	callq	_ixgbe_clock_in_i2c_byte
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ixgbe_clock_out_i2c_bit
	testq	%rax, %rax
	je	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_bus_clear
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rbx)
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	subl	$1, %r14d
	jb	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_hw_dbg
	testl	%r12d, %r12d
	jne	LBB0_2
	jmp	LBB0_4
LBB0_20:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_I2C@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_3:
	movq	_IXGBE_ERR_SWFW_SYNC@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rbx, %rdi
	callq	_ixgbe_i2c_stop
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rbx)
LBB0_15:
	movl	-64(%rbp), %eax
	shll	$8, %eax
	orl	-60(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ## @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C byte read combined error - Retry.\n"

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

	.comm	_IXGBE_ERR_I2C,4,2              ## @IXGBE_ERR_I2C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_read_i2c_combined_generic_int ; -- Begin function ixgbe_read_i2c_combined_generic_int
	.p2align	2
_ixgbe_read_i2c_combined_generic_int:   ; @ixgbe_read_i2c_combined_generic_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x4
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x1
	mov	x20, x0
	ldr	w21, [x0, #16]
	lsr	w8, w2, #7
	and	w8, w8, #0xfe
	orr	w24, w8, #0x1
	and	w25, w2, #0xff
	mov	x0, x24
	mov	x1, x25
	bl	_ixgbe_ones_comp_byte_add
	mvn	w26, w0
	orr	w27, w23, #0x1
	mov	w19, #2
Lloh0:
	adrp	x28, l_.str@PAGE
Lloh1:
	add	x28, x28, l_.str@PAGEOFF
	cbz	w22, LBB0_2
LBB0_1:
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	cbnz	x0, LBB0_16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_ixgbe_i2c_start
	mov	x0, x20
	mov	x1, x23
	bl	_ixgbe_out_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_ixgbe_out_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_ixgbe_out_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_ixgbe_out_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_ixgbe_i2c_start
	mov	x0, x20
	mov	x1, x27
	bl	_ixgbe_out_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #24
	mov	x0, x20
	bl	_ixgbe_in_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #20
	mov	x0, x20
	bl	_ixgbe_in_i2c_byte_ack
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #28
	mov	x0, x20
	bl	_ixgbe_clock_in_i2c_byte
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_ixgbe_clock_out_i2c_bit
	cbz	x0, LBB0_19
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_ixgbe_i2c_bus_clear
	cbz	w22, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x21
	blr	x8
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w19, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x28
	bl	_hw_dbg
	sub	w19, w19, #1
	cbnz	w22, LBB0_1
	b	LBB0_2
LBB0_15:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_hw_dbg
Lloh4:
	adrp	x8, _IXGBE_ERR_I2C@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IXGBE_ERR_I2C@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh6:
	adrp	x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_ERR_SWFW_SYNC@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	mov	x0, x20
	bl	_ixgbe_i2c_stop
	cbz	w22, LBB0_21
; %bb.20:
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x21
	blr	x8
LBB0_21:
	mov	w0, #0
	ldp	w9, w8, [sp, #20]
	orr	w8, w9, w8, lsl #8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_SWFW_SYNC,4,2        ; @IXGBE_ERR_SWFW_SYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C byte read combined error - Retry.\n"

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

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