	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_rq_destroy
_vmxnet3_rq_destroy:                    ## @vmxnet3_rq_destroy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	16(%r15), %rdx
	cmpl	$0, (%rdx)
	jle	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rcx)
	setne	%dil
	callq	_BUG_ON
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	cmpl	$2, (%rcx)
	jl	LBB0_5
## %bb.3:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	setne	%dil
	callq	_BUG_ON
	incq	%rbx
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_4
LBB0_5:
	movq	8(%rax), %rcx
	movq	16(%r15), %rax
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.6:
	cmpl	$0, 24(%rax)
	jle	LBB0_10
## %bb.7:
	xorl	%edi, %edi
	cmpq	$0, (%rcx)
	setne	%dil
	callq	_BUG_ON
	movq	16(%r15), %rax
	cmpl	$2, 24(%rax)
	jl	LBB0_10
## %bb.8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	setne	%dil
	callq	_BUG_ON
	incq	%rbx
	movq	16(%r15), %rax
	movslq	24(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_9
LBB0_10:
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.11:
	movq	(%r14), %rdi
	movslq	(%rax), %rsi
	shlq	$2, %rsi
	movl	16(%rax), %ecx
	callq	_dma_free_coherent
	movq	16(%r15), %rax
	movq	$0, 8(%rax)
LBB0_12:
	movq	32(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:
	movq	(%r14), %rdi
	movslq	24(%rax), %rsi
	shlq	$2, %rsi
	movl	40(%rax), %ecx
	callq	_dma_free_coherent
	movq	16(%r15), %rax
	movq	$0, 32(%rax)
LBB0_14:
	movq	56(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.15:
	movq	(%r14), %rdi
	movslq	(%rax), %rsi
	imulq	48(%r15), %rsi
	movl	64(%r15), %ecx
	callq	_dma_free_coherent
	movq	$0, 56(%r15)
LBB0_16:
	movq	32(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.17:
	movq	(%r14), %rdi
	movslq	24(%r15), %rsi
	shlq	$2, %rsi
	movl	40(%r15), %ecx
	callq	_dma_free_coherent
	movq	$0, 32(%r15)
LBB0_18:
	movq	(%r15), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.19:
	movq	16(%r15), %rax
	movslq	(%rax), %rcx
	movslq	24(%rax), %rsi
	addq	%rcx, %rsi
	shlq	$2, %rsi
	movq	(%r14), %rdi
	movl	8(%r15), %ecx
	callq	_dma_free_coherent
	movq	(%r15), %rax
	movq	$0, 8(%rax)
	movq	(%r15), %rax
	movq	$0, (%rax)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vmxnet3_rq_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_rq_destroy
_vmxnet3_rq_destroy:                    ; @vmxnet3_rq_destroy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.1:
	ldr	x10, [x19, #16]
	ldr	w10, [x10]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x9]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	ldr	x8, [x19]
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	ldr	x8, [x8, x21, lsl #3]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	ldr	x8, [x19]
	cmp	x21, x9
	b.lt	LBB0_4
LBB0_5:
	ldr	x9, [x8, #8]
	ldr	x8, [x19, #16]
	cbz	x9, LBB0_10
; %bb.6:
	ldr	w10, [x8, #24]
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.7:
	ldr	x8, [x9]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #24]
	cmp	w9, #2
	b.lt	LBB0_10
; %bb.8:
	mov	w21, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x21, lsl #3]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8, #24]
	cmp	x21, x9
	b.lt	LBB0_9
LBB0_10:
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_12
; %bb.11:
	ldr	x0, [x20]
	ldrsw	x9, [x8]
	lsl	x1, x9, #2
	ldr	w3, [x8, #16]
	bl	_dma_free_coherent
	ldr	x8, [x19, #16]
	str	xzr, [x8, #8]
LBB0_12:
	ldr	x2, [x8, #32]
	cbz	x2, LBB0_14
; %bb.13:
	ldr	x0, [x20]
	ldrsw	x9, [x8, #24]
	lsl	x1, x9, #2
	ldr	w3, [x8, #40]
	bl	_dma_free_coherent
	ldr	x8, [x19, #16]
	str	xzr, [x8, #32]
LBB0_14:
	ldr	x2, [x19, #56]
	cbz	x2, LBB0_16
; %bb.15:
	ldr	x0, [x20]
	ldrsw	x8, [x8]
	ldr	x9, [x19, #48]
	mul	x1, x9, x8
	ldr	w3, [x19, #64]
	bl	_dma_free_coherent
	str	xzr, [x19, #56]
LBB0_16:
	ldr	x2, [x19, #32]
	cbz	x2, LBB0_18
; %bb.17:
	ldr	x0, [x20]
	ldrsw	x8, [x19, #24]
	lsl	x1, x8, #2
	ldr	w3, [x19, #40]
	bl	_dma_free_coherent
	str	xzr, [x19, #32]
LBB0_18:
	ldr	x8, [x19]
	ldr	x2, [x8]
	cbz	x2, LBB0_20
; %bb.19:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	ldr	w8, [x8, #24]
	add	w8, w8, w9
	sbfiz	x1, x8, #2, #32
	ldr	x0, [x20]
	ldr	w3, [x19, #8]
	bl	_dma_free_coherent
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	ldr	x8, [x19]
	str	xzr, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vmxnet3_rq_destroy
.subsections_via_symbols
