	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_tq_cleanup
_vmxnet3_tq_cleanup:                    ## @vmxnet3_tq_cleanup
	.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, %r12
	leaq	16(%rdi), %r14
	movq	16(%rdi), %rbx
	cmpq	24(%rdi), %rbx
	jne	LBB0_1
LBB0_5:
	cmpl	$0, 32(%r12)
	jle	LBB0_10
## %bb.6:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	movq	_VMXNET3_MAP_NONE@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movzbl	%al, %edi
	callq	_BUG_ON
	incq	%r15
	movslq	32(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %rcx
	movb	$1, %al
	cmpq	$0, (%rcx,%rbx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-8(%rcx,%rbx), %rax
	cmpq	(%r13), %rax
	setne	%al
	jmp	LBB0_9
LBB0_10:
	movq	_VMXNET3_INIT_GEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	%rax, 8(%r12)
	movq	$0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_vmxnet3_cmd_ring_adv_next2comp
	movq	16(%r12), %rbx
	cmpq	24(%r12), %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %r13
	shlq	$4, %rbx
	leaq	(%rbx,%r13), %rdi
	movl	(%r15), %esi
	callq	_vmxnet3_unmap_tx_buf
	movq	8(%r13,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r13, %rbx
	addq	$8, %rbx
	callq	_dev_kfree_skb_any
	movq	$0, (%rbx)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_MAP_NONE,8,3           ## @VMXNET3_MAP_NONE
	.comm	_VMXNET3_INIT_GEN,8,3           ## @VMXNET3_INIT_GEN
	.no_dead_strip	_vmxnet3_tq_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_tq_cleanup
_vmxnet3_tq_cleanup:                    ; @vmxnet3_tq_cleanup
	.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
	mov	x19, x0
	mov	x20, x0
	ldp	x8, x9, [x20, #16]!
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_1:
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	mov	x22, #0
Lloh0:
	adrp	x23, _VMXNET3_MAP_NONE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VMXNET3_MAP_NONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x8, x21]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, ne
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_BUG_ON
	add	x22, x22, #1
	ldrsw	x8, [x19, #32]
	add	x21, x21, #16
	cmp	x22, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x9, x8, x21
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	b	LBB0_4
LBB0_7:
Lloh2:
	adrp	x8, _VMXNET3_INIT_GEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMXNET3_INIT_GEN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	stp	xzr, xzr, [x20]
	stp	xzr, x8, [x19]
	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
LBB0_8:
	mov	x21, x1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_vmxnet3_cmd_ring_adv_next2comp
	ldp	x8, x9, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #48]
	add	x22, x9, x8, lsl #4
	ldr	w1, [x21]
	mov	x0, x22
	bl	_vmxnet3_unmap_tx_buf
	ldr	x0, [x22, #8]!
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_dev_kfree_skb_any
	str	xzr, [x22]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VMXNET3_MAP_NONE,8,3           ; @VMXNET3_MAP_NONE
	.comm	_VMXNET3_INIT_GEN,8,3           ; @VMXNET3_INIT_GEN
	.no_dead_strip	_vmxnet3_tq_cleanup
.subsections_via_symbols
