	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_refill_rq1
_ehea_refill_rq1:                       ## @ehea_refill_rq1
	.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	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	24(%rdi), %r15
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%rdi), %r13d
	addl	%edx, %r13d
	movl	$0, 12(%rdi)
	movq	___EHEA_STOP_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ehea_driver_flags@GOTPCREL(%rip), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.7:
	movl	%ebx, 16(%r14)
LBB0_8:
	movl	%r13d, 12(%r14)
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	decl	%r15d
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	decl	%ebx
	andl	%r15d, %ebx
	incl	%r12d
	cmpl	%r12d, %r13d
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r14
	cmpq	$0, (%rcx,%r14,8)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EHEA_L_PKT_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_alloc_skb
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	subl	%r12d, %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 12(%rax)
	testl	%r12d, %r12d
	jne	LBB0_13
	jmp	LBB0_12
LBB0_10:
	movl	%r13d, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_12
LBB0_13:
	movl	(%rax), %edi
	movl	%r12d, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_update_rq1a               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___EHEA_STOP_XFER,4,2           ## @__EHEA_STOP_XFER
	.comm	_ehea_driver_flags,4,2          ## @ehea_driver_flags
	.comm	_EHEA_L_PKT_SIZE,4,2            ## @EHEA_L_PKT_SIZE
	.no_dead_strip	_ehea_refill_rq1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_refill_rq1
_ehea_refill_rq1:                       ; @ehea_refill_rq1
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x24, x8, [x0, #24]
	ldr	x20, [x8]
	ldp	w25, w8, [x0, #8]
	add	w23, w8, w2
	str	wzr, [x0, #12]
Lloh0:
	adrp	x8, ___EHEA_STOP_XFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___EHEA_STOP_XFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _ehea_driver_flags@GOTPAGE
Lloh4:
	ldr	x1, [x1, _ehea_driver_flags@GOTPAGEOFF]
	bl	_test_bit
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.1:
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.2:
	str	w21, [x19, #16]
LBB0_3:
	str	w23, [x19, #12]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.6:
	mov	w22, #0
	sub	w25, w25, #1
Lloh5:
	adrp	x26, _EHEA_L_PKT_SIZE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EHEA_L_PKT_SIZE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w27, #1
	and	w21, w8, w25
	add	w22, w22, #1
	cmp	w23, w22
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x27, w21
	ldr	x8, [x24, w21, sxtw #3]
	cbnz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x26]
	mov	x0, x20
	bl	_netdev_alloc_skb
	str	x0, [x24, x27, lsl #3]
	cbnz	x0, LBB0_7
; %bb.10:
	sub	w8, w23, w22
	str	w8, [x19, #12]
	cbnz	w22, LBB0_12
	b	LBB0_4
LBB0_11:
	mov	x22, x23
	cbz	w22, LBB0_4
LBB0_12:
	ldr	w0, [x19]
	mov	x1, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ehea_update_rq1a
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	___EHEA_STOP_XFER,4,2           ; @__EHEA_STOP_XFER
	.comm	_ehea_driver_flags,4,2          ; @ehea_driver_flags
	.comm	_EHEA_L_PKT_SIZE,4,2            ; @EHEA_L_PKT_SIZE
	.no_dead_strip	_ehea_refill_rq1
.subsections_via_symbols
