	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_clean_rx_irq
_igb_clean_rx_irq:                      ## @igb_clean_rx_irq
	.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
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r12
	movq	8(%r12), %r13
	movq	%r12, %rdi
	callq	_igb_desc_unused
	movq	%rax, %rbx
	leaq	16(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	callq	_le16_to_cpu
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_igb_receive_skb
	incl	%r14d
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	xorl	%edi, %edi
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	setb	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IGB_RX_BUFFER_WRITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jl	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_igb_alloc_rx_buffers
	xorl	%ebx, %ebx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%r12), %esi
	movq	%r12, %rdi
	callq	_IGB_RX_DESC
	movq	%rax, %r15
	movq	_E1000_RXD_STAT_DD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_igb_test_staterr
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_igb_fetch_rx_buffer
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_igb_is_non_eop
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_igb_cleanup_headers
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_igb_process_skb_fields
	movq	_E1000_RXDEXT_STATERR_LB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_igb_test_staterr
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	callq	_be16_to_cpu
	jmp	LBB0_12
LBB0_5:
	xorl	%r13d, %r13d
LBB0_15:
	movq	%r13, 8(%r12)
	addl	%r14d, (%r12)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, 4(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, (%rax)
	addl	%ecx, 4(%rax)
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_igb_alloc_rx_buffers
LBB0_17:
	xorl	%eax, %eax
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	setb	%al
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_RX_BUFFER_WRITE,8,3        ## @IGB_RX_BUFFER_WRITE
	.comm	_E1000_RXD_STAT_DD,4,2          ## @E1000_RXD_STAT_DD
	.comm	_E1000_RXDEXT_STATERR_LB,4,2    ## @E1000_RXDEXT_STATERR_LB
	.comm	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP,4,2 ## @IGB_RING_FLAG_RX_LB_VLAN_BSWAP
	.no_dead_strip	_igb_clean_rx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_clean_rx_irq
_igb_clean_rx_irq:                      ; @igb_clean_rx_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x20, [x0, #8]
	ldr	x23, [x20, #8]
	mov	x0, x20
	bl	_igb_desc_unused
	mov	x22, x0
	mov	w27, #0
	mov	w26, #0
	add	x8, x20, #16
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh0:
	adrp	x28, _IGB_RX_BUFFER_WRITE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _IGB_RX_BUFFER_WRITE@GOTPAGEOFF]
Lloh2:
	adrp	x21, _E1000_RXD_STAT_DD@GOTPAGE
Lloh3:
	ldr	x21, [x21, _E1000_RXD_STAT_DD@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	w26, w19
	cset	w0, lo
	bl	_likely
	cbz	x0, LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cmp	x22, x8
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_igb_alloc_rx_buffers
	mov	x22, #0
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x20, #20]
	mov	x0, x20
	bl	_IGB_RX_DESC
	mov	x25, x0
	ldr	w1, [x21]
	bl	_igb_test_staterr
	cbz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	bl	_igb_fetch_rx_buffer
	mov	x23, x0
	cbz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_igb_is_non_eop
	cbnz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	bl	_igb_cleanup_headers
	cbnz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x28
	ldr	w28, [x23]
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	bl	_igb_process_skb_fields
Lloh4:
	adrp	x8, _E1000_RXDEXT_STATERR_LB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E1000_RXDEXT_STATERR_LB@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_igb_test_staterr
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh7:
	adrp	x8, _IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_be16_to_cpu
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_le16_to_cpu
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	add	w27, w27, w28
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x23
	bl	_igb_receive_skb
	mov	x23, #0
	add	w26, w26, #1
	mov	x28, x24
	b	LBB0_2
LBB0_14:
	str	x23, [x20, #8]
	ldp	w8, w9, [x20]
	add	w8, w8, w26
	add	w9, w9, w27
	stp	w8, w9, [x20]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldp	w8, w9, [x10]
	add	w8, w8, w26
	add	w9, w9, w27
	stp	w8, w9, [x10]
	cbz	x22, LBB0_16
; %bb.15:
	mov	x0, x20
	mov	x1, x22
	bl	_igb_alloc_rx_buffers
LBB0_16:
	cmp	w26, w19
	cset	w0, lo
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_RX_BUFFER_WRITE,8,3        ; @IGB_RX_BUFFER_WRITE
	.comm	_E1000_RXD_STAT_DD,4,2          ; @E1000_RXD_STAT_DD
	.comm	_E1000_RXDEXT_STATERR_LB,4,2    ; @E1000_RXDEXT_STATERR_LB
	.comm	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP,4,2 ; @IGB_RING_FLAG_RX_LB_VLAN_BSWAP
	.no_dead_strip	_igb_clean_rx_irq
.subsections_via_symbols
