	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_requeue_rxd            ## -- Begin function mac_drv_requeue_rxd
	.p2align	4, 0x90
_mac_drv_requeue_rxd:                   ## @mac_drv_requeue_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	$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
	movq	%rsi, %r14
	movq	%rdi, %r13
	cmpl	$1, %edx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printk
	testl	%r12d, %r12d
	jle	LBB0_10
LBB0_2:
	movl	(%r13), %ebx
	leaq	16(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	3(%rbx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	incl	%r12d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 8(%r13)
	movq	(%rax), %r15
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edx
	callq	_pci_map_single
	movq	%rax, %rdx
	movq	%rax, (%r13)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_LAST_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FIRST_FRAG@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %ecx
	callq	_hwm_rx_frag
	decl	%r12d
	cmpl	$1, %r12d
	jle	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_HWM_GET_CURR_RXD
	movq	%rax, %r13
	movq	8(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	%rax, 8(%r13)
	movq	%rax, %rdi
	movl	$3, %esi
	callq	_skb_reserve
	movq	%r15, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_skb_put
	movq	(%r15), %r15
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
	movq	$0, 8(%r13)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %r15
	movq	24(%r13), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fddi: Multi-fragment requeue!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Requeue with no skb in rxd!\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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_requeue_rxd            ; -- Begin function mac_drv_requeue_rxd
	.p2align	2
_mac_drv_requeue_rxd:                   ; @mac_drv_requeue_rxd
	.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	x24, x2
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	cmp	w24, #1
	b.lt	LBB0_10
LBB0_2:
	mov	x21, x19
	ldr	w22, [x21], #16
	add	w8, w22, #3
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	w28, w24, #1
Lloh2:
	adrp	x25, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _FIRST_FRAG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _FIRST_FRAG@GOTPAGEOFF]
Lloh6:
	adrp	x23, _LAST_FRAG@GOTPAGE
Lloh7:
	ldr	x23, [x23, _LAST_FRAG@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [x26, #8]
	ldr	x27, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x27
	mov	x2, x22
	bl	_pci_map_single
	mov	x2, x0
	str	x0, [x26]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x1, x27
	mov	x3, x22
	bl	_hwm_rx_frag
	sub	w28, w28, #1
	cmp	w28, #1
	b.le	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x20
	ldr	x20, [x20, #16]
	mov	x0, x19
	bl	_HWM_GET_CURR_RXD
	mov	x26, x0
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_alloc_skb
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	str	x0, [x26, #8]
	mov	w1, #3
	bl	_skb_reserve
	mov	x0, x27
	mov	x1, x22
	bl	_skb_put
	ldr	x27, [x27]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	str	xzr, [x26, #8]
	ldr	x27, [x19, #8]
	ldr	x2, [x19, #24]
	b	LBB0_5
LBB0_10:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fddi: Multi-fragment requeue!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Requeue with no skb in rxd!\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
.subsections_via_symbols
