	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111e_free_skbs
_amd8111e_free_skbs:                    ## @amd8111e_free_skbs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NUM_TX_BUFFERS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r15), %edi
	movq	32(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%rcx), %rdx
	movl	(%r12), %ecx
	callq	_pci_unmap_single
	movq	40(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_dev_kfree_skb
	movq	40(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movq	32(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movl	(%r14), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_NUM_RX_BUFFERS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r15), %edi
	movq	(%r15), %rax
	movq	16(%r15), %rdx
	movq	(%rax,%rbx,8), %rsi
	addq	$-2, %rdx
	movl	(%r12), %ecx
	callq	_pci_unmap_single
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_dev_kfree_skb
	movq	8(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movq	(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movl	(%r14), %eax
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_TX_BUFFERS,4,2             ## @NUM_TX_BUFFERS
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_NUM_RX_BUFFERS,4,2             ## @NUM_RX_BUFFERS
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_amd8111e_free_skbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd8111e_free_skbs
_amd8111e_free_skbs:                    ; @amd8111e_free_skbs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x20, _NUM_TX_BUFFERS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NUM_TX_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, #0
Lloh2:
	adrp	x22, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #40]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #32]
	lsl	x23, x21, #3
	ldr	x1, [x8, x23]
	ldr	x2, [x9]
	ldr	w3, [x22]
	bl	_pci_unmap_single
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x23]
	bl	_dev_kfree_skb
	ldr	x8, [x19, #40]
	str	xzr, [x8, x23]
	ldr	x8, [x19, #32]
	str	xzr, [x8, x23]
	ldr	w8, [x20]
	b	LBB0_2
LBB0_5:
Lloh4:
	adrp	x20, _NUM_RX_BUFFERS@GOTPAGE
Lloh5:
	ldr	x20, [x20, _NUM_RX_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x21, #0
Lloh6:
	adrp	x22, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #24]
	ldr	x8, [x19]
	lsl	x23, x21, #3
	ldr	x1, [x8, x23]
	ldr	x8, [x19, #16]
	sub	x2, x8, #2
	ldr	w3, [x22]
	bl	_pci_unmap_single
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23]
	bl	_dev_kfree_skb
	ldr	x8, [x19, #8]
	str	xzr, [x8, x23]
	ldr	x8, [x19]
	str	xzr, [x8, x23]
	ldr	w8, [x20]
	b	LBB0_7
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_TX_BUFFERS,4,2             ; @NUM_TX_BUFFERS
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_NUM_RX_BUFFERS,4,2             ; @NUM_RX_BUFFERS
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_amd8111e_free_skbs
.subsections_via_symbols
