	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_skb_tx_queue
_free_skb_tx_queue:                     ## @free_skb_tx_queue
	.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, %r12
	movl	24(%rdi), %edi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	16(%r12), %r14
	xorl	%r15d, %r15d
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r13
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_dev_kfree_skb_any
	movq	8(%r12), %rax
	movq	$0, (%rax,%r15,8)
	movl	(%r12), %eax
	movq	%r13, %r14
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r12), %rcx
	cmpq	$0, (%rcx,%r15,8)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r15d
	movl	4(%r14), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_be16_to_cpu
	movl	(%r13), %ecx
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	$0, 8(%r14)
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	16(%r14), %r13
	movl	(%rbx), %r15d
	movl	20(%r14), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movl	16(%r14), %edi
	callq	_be16_to_cpu
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_page
	incl	%r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_skb_shinfo
	movq	%r13, %r14
	cmpl	(%rax), %r12d
	jl	LBB0_6
	jmp	LBB0_7
LBB0_9:
	movq	8(%r12), %rdi
	callq	_kfree
	movq	$0, 8(%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_free_skb_tx_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_skb_tx_queue
_free_skb_tx_queue:                     ; @free_skb_tx_queue
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_netdev_priv
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x23, #0
	ldr	x24, [x19, #16]
Lloh0:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #16
	ldr	x8, [x19, #8]
	lsl	x21, x23, #3
	ldr	x0, [x8, x21]
	bl	_dev_kfree_skb_any
	ldr	x8, [x19, #8]
	str	xzr, [x8, x21]
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x23, lsl #3]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x20]
	ldr	w0, [x24, #4]
	bl	_be32_to_cpu
	mov	x22, x0
	ldr	w0, [x24]
	bl	_be16_to_cpu
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_single
	str	xzr, [x24, #8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w21, [x20]
	ldr	w0, [x24, #20]
	bl	_be32_to_cpu
	mov	x22, x0
	ldr	w0, [x24, #16]!
	bl	_be16_to_cpu
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_page
	add	w26, w26, #1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w26, w8
	b.lt	LBB0_7
	b	LBB0_2
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_free_skb_tx_queue
.subsections_via_symbols
