	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_fill_rxd               ## -- Begin function mac_drv_fill_rxd
	.p2align	4, 0x90
_mac_drv_fill_rxd:                      ## @mac_drv_fill_rxd
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_HWM_GET_RX_FREE
	testq	%rax, %rax
	jle	LBB0_6
## %bb.1:
	leal	3(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	24(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
	movq	8(%rbx), %r15
	movq	16(%rbx), %rdx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, 8(%r13)
	movq	_LAST_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FIRST_FRAG@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_hwm_rx_frag
	movq	%rbx, %rdi
	callq	_HWM_GET_RX_FREE
	testq	%rax, %rax
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_HWM_GET_CURR_RXD
	movq	%rax, %r13
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_alloc_skb
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_skb_reserve
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	(%r12), %r15
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_pci_map_single
	movq	%rax, %rdx
	movq	%rax, (%r13)
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering mac_drv_fill_rxd\n"

L_.str.1:                               ## @.str.1
	.asciz	".\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
L_.str.2:                               ## @.str.2
	.asciz	"Queueing invalid buffer!\n"

	.comm	_FIRST_FRAG,4,2                 ## @FIRST_FRAG
	.comm	_LAST_FRAG,4,2                  ## @LAST_FRAG
L_.str.3:                               ## @.str.3
	.asciz	"leaving mac_drv_fill_rxd\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_fill_rxd               ; -- Begin function mac_drv_fill_rxd
	.p2align	2
_mac_drv_fill_rxd:                      ; @mac_drv_fill_rxd
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w20, [x19]
	mov	x0, x19
	bl	_HWM_GET_RX_FREE
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.1:
	add	w21, w20, #3
	add	x22, x19, #24
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, _FIRST_FRAG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _FIRST_FRAG@GOTPAGEOFF]
Lloh6:
	adrp	x28, _LAST_FRAG@GOTPAGE
Lloh7:
	ldr	x28, [x28, _LAST_FRAG@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	ldp	x27, x2, [x19, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x26, [x25, #8]
	ldr	w8, [x24]
	ldr	w9, [x28]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x1, x27
	mov	x3, x20
	bl	_hwm_rx_frag
	mov	x0, x19
	bl	_HWM_GET_RX_FREE
	cmp	x0, #0
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_pr_debug
	mov	x0, x19
	bl	_HWM_GET_CURR_RXD
	mov	x25, x0
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_alloc_skb
	mov	x26, x0
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #3
	bl	_skb_reserve
	mov	x0, x26
	mov	x1, x20
	bl	_skb_put
	ldr	x27, [x26]
Lloh13:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x27
	mov	x2, x20
	bl	_pci_map_single
	mov	x2, x0
	str	x0, [x25]
	b	LBB0_3
LBB0_6:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	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	_pr_debug
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering mac_drv_fill_rxd\n"

l_.str.1:                               ; @.str.1
	.asciz	".\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
l_.str.2:                               ; @.str.2
	.asciz	"Queueing invalid buffer!\n"

	.comm	_FIRST_FRAG,4,2                 ; @FIRST_FRAG
	.comm	_LAST_FRAG,4,2                  ; @LAST_FRAG
l_.str.3:                               ; @.str.3
	.asciz	"leaving mac_drv_fill_rxd\n"

.subsections_via_symbols
