	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tc35815_clear_queues
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tc35815_clear_queues:                  ## @tc35815_clear_queues
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	_TX_FD_NUM@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.1:
	movq	%rax, %r15
	movq	(%rax), %rcx
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx)
	incq	%r14
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rbx), %edi
	callq	_le32_to_cpu
	movq	8(%r15), %rcx
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cltq
	shlq	$4, %rax
	movq	8(%rcx,%rax), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	%r13, 8(%rcx,%rbx,4)
	setne	%dil
	callq	_BUG_ON
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,4), %rsi
	movl	(%r13), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	8(%r15), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rbx,4)
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tc35815_init_queues            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_FD_NUM,4,2                  ## @TX_FD_NUM
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_tc35815_clear_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc35815_clear_queues
_tc35815_clear_queues:                  ; @tc35815_clear_queues
	.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
	bl	_netdev_priv
Lloh0:
	adrp	x22, _TX_FD_NUM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_FD_NUM@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x23, #0
	mov	x24, #0
	ldr	x8, [x0]
Lloh2:
	adrp	x25, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #-1
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	w0, [x8, x24, lsl #2]
	add	x24, x24, #1
	ldrsw	x9, [x22]
	add	x23, x23, #16
	cmp	x24, x9
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, x24, lsl #2]
	bl	_le32_to_cpu
	ldr	x8, [x20, #8]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x8, w0, sxtw #4
	ldr	x21, [x9, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x23
	ldr	x8, [x8, #8]
	cmp	x8, x21
	cset	w0, ne
	bl	_BUG_ON
	cbz	x21, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x23]
	ldr	w2, [x21]
	ldr	w3, [x25]
	bl	_pci_unmap_single
	ldr	x8, [x20, #8]
	add	x8, x8, x23
	stp	xzr, xzr, [x8]
	mov	x0, x21
	bl	_dev_kfree_skb_any
	b	LBB0_2
LBB0_8:
	mov	x0, x19
	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
	b	_tc35815_init_queues
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_FD_NUM,4,2                  ; @TX_FD_NUM
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_tc35815_clear_queues
.subsections_via_symbols
