	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_fini_rx_queue              ## -- Begin function ef4_fini_rx_queue
	.p2align	4, 0x90
_ef4_fini_rx_queue:                     ## @ef4_fini_rx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %r14
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	16(%r14), %r12d
	callq	_ef4_rx_queue_index
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %r8d
	callq	_netif_dbg
	leaq	32(%r15), %rdi
	callq	_del_timer_sync
	cmpq	$0, 24(%r15)
	je	LBB0_4
## %bb.1:
	movl	(%r15), %ebx
	cmpl	4(%r15), %ebx
	jge	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %esi
	andl	%ebx, %esi
	movq	%r15, %rdi
	callq	_ef4_rx_buffer
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ef4_fini_rx_buffer
	incl	%ebx
	cmpl	4(%r15), %ebx
	jl	LBB0_2
LBB0_4:
	movl	12(%r15), %eax
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	$-1, %rbx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movslq	%eax, %rcx
	incq	%rbx
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movq	8(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_page_address
	movq	8(%r14), %rdi
	movl	(%rax), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	(%r14), %ecx
	shll	%cl, %edx
	movl	(%r13), %ecx
	callq	_dma_unmap_page
	movq	%r12, %rdi
	callq	_put_page
	movl	12(%r15), %eax
	jmp	LBB0_8
LBB0_9:
	movq	16(%r15), %rdi
	callq	_kfree
	movq	$0, 16(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shutting down RX queue %d\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_fini_rx_queue              ; -- Begin function ef4_fini_rx_queue
	.p2align	2
_ef4_fini_rx_queue:                     ; @ef4_fini_rx_queue
	.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
	ldr	x20, [x0, #40]
Lloh0:
	adrp	x8, _drv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w22, [x20, #16]
	bl	_ef4_rx_queue_index
	mov	x4, x0
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_netif_dbg
	add	x0, x19, #32
	bl	_del_timer_sync
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w21, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #8]
	and	w1, w8, w21
	mov	x0, x19
	bl	_ef4_rx_buffer
	mov	x1, x0
	mov	x0, x19
	bl	_ef4_fini_rx_buffer
	add	w21, w21, #1
	b	LBB0_2
LBB0_4:
	ldr	w8, [x19, #12]
	tbnz	w8, #31, LBB0_9
; %bb.5:
	mov	x22, #0
Lloh5:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
Lloh7:
	adrp	x24, _DMA_FROM_DEVICE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x22, w8, sxtw
	add	x22, x22, #1
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x21, [x9, x22, lsl #3]
	cbz	x21, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_page_address
	ldr	x8, [x20, #8]
	ldr	w1, [x0]
	ldr	w9, [x23]
	ldr	w10, [x20]
	lsl	w2, w9, w10
	ldr	w3, [x24]
	mov	x0, x8
	bl	_dma_unmap_page
	mov	x0, x21
	bl	_put_page
	ldr	w8, [x19, #12]
	b	LBB0_6
LBB0_9:
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shutting down RX queue %d\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
.subsections_via_symbols
