	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_rx_pool
_fill_rx_pool:                          ## @fill_rx_pool
	.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
	movq	%rdx, %r8
	movl	%esi, %ecx
	movq	%rdi, %rbx
	movq	_DBG_FLOW@GOTPCREL(%rip), %rax
	movq	_DBG_POOL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	xorl	%eax, %eax
	callq	_PRINTD
	movq	_dead@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	24(%rbx), %rcx
	movzbl	-44(%rbp), %edx                 ## 1-byte Folded Reload
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	shlq	$5, %rdx
	movq	(%rcx,%rdx), %rax
	cmpq	8(%rcx,%rdx), %rax
	jge	LBB0_11
## %bb.2:
	leaq	(%rcx,%rdx), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %r15
	addq	$8, %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	8(%r15), %rax
	jge	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r15), %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	8(%rax), %rdi
	movl	16(%rax), %esi
	callq	_check_area
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_DBG_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movzbl	(%r13), %r12d
	movq	%r13, %rdi
	callq	_skb_end_pointer
	movzbl	%al, %r8d
	movzbl	(%r13), %eax
	subq	%rax, %r8
	movl	%r14d, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_PRINTD
	movq	%r13, %rdi
	callq	_virt_to_bus
	movl	%eax, -52(%rbp)
	movq	8(%r13), %rdi
	callq	_virt_to_bus
	movl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, -56(%rbp)
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rx_give
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_10
LBB0_5:
	movq	_DBG_POOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DBG_SKB@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_PRINTD
	jmp	LBB0_11
LBB0_7:
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_FLOW,4,2                   ## @DBG_FLOW
	.comm	_DBG_POOL,4,2                   ## @DBG_POOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fill_rx_pool %p %hu %x"

	.comm	_dead,4,2                       ## @dead
	.comm	_DBG_SKB,4,2                    ## @DBG_SKB
L_.str.1:                               ## @.str.1
	.asciz	"failed to allocate skb for RX pool %hu"

L_.str.2:                               ## @.str.2
	.asciz	"allocated skb at %p, head %p, area %li"

	.no_dead_strip	_fill_rx_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_rx_pool
_fill_rx_pool:                          ; @fill_rx_pool
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _DBG_FLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DBG_POOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DBG_POOL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	mov	w22, w1
	stp	x22, x2, [sp, #8]
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PRINTD
Lloh8:
	adrp	x8, _dead@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dead@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x21, #32
	bl	_test_bit
	cbnz	x0, LBB0_11
; %bb.1:
	ldr	x8, [x21, #24]
	add	x26, x8, x22, lsl #5
	mov	x27, x26
	ldr	x9, [x27, #8]!
	ldr	x8, [x26]
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.2:
	add	x28, x26, #16
	add	x25, x26, #24
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_alloc_skb
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	x0, [x0, #8]
	ldr	w1, [x23, #16]
	bl	_check_area
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh11:
	adrp	x8, _DBG_SKB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DBG_SKB@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
	ldrb	w22, [x23]
	mov	x0, x23
	bl	_skb_end_pointer
	mov	w8, w0
	ldrb	w9, [x23]
	sub	x8, x8, x9
	stp	x22, x8, [sp, #8]
	str	x23, [sp]
	mov	x0, x24
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PRINTD
	mov	x0, x23
	bl	_virt_to_bus
	str	w0, [sp, #28]
	ldr	x0, [x23, #8]
	bl	_virt_to_bus
	bl	_cpu_to_be32
	str	w0, [sp, #24]
	add	x1, sp, #24
	mov	x0, x21
	mov	x2, x19
	bl	_rx_give
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_dev_kfree_skb_any
	b	LBB0_3
LBB0_9:
Lloh16:
	adrp	x8, _DBG_SKB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DBG_SKB@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _DBG_POOL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DBG_POOL@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w0, w9, w8
	str	x19, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_PRINTD
	b	LBB0_11
LBB0_10:
	mov	x0, x23
	bl	_dev_kfree_skb_any
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_FLOW,4,2                   ; @DBG_FLOW
	.comm	_DBG_POOL,4,2                   ; @DBG_POOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fill_rx_pool %p %hu %x"

	.comm	_dead,4,2                       ; @dead
	.comm	_DBG_SKB,4,2                    ; @DBG_SKB
l_.str.1:                               ; @.str.1
	.asciz	"failed to allocate skb for RX pool %hu"

l_.str.2:                               ; @.str.2
	.asciz	"allocated skb at %p, head %p, area %li"

	.no_dead_strip	_fill_rx_pool
.subsections_via_symbols
