	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r3964_close
_r3964_close:                           ## @r3964_close
	.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), %r14
	leaq	L_.str(%rip), %rdi
	callq	_TRACE_L
	leaq	80(%r14), %rdi
	callq	_del_timer_sync
	movq	72(%r14), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	56(%r13), %edi
	callq	_put_pid
	movq	%r13, %rdi
	callq	_kfree
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	callq	_TRACE_M
	movq	%r15, %r13
	testq	%r15, %r15
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	24(%r13), %r15
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 64(%r13)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_remove_msg
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_kfree
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_TRACE_M
	jmp	LBB0_3
LBB0_7:
	leaq	32(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	48(%r14), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testq	%rbx, %rbx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %r15
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r15, %rbx
	testq	%r15, %r15
	jne	LBB0_8
LBB0_9:
	leaq	16(%r14), %rdi
	callq	_wake_up_interruptible
	movq	8(%r14), %rdi
	callq	_kfree
	movq	8(%r14), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_TRACE_M
	movq	(%r14), %rdi
	callq	_kfree
	movq	(%r14), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_TRACE_M
	movq	%r14, %rdi
	callq	_kfree
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TRACE_M                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"close"

L_.str.1:                               ## @.str.1
	.asciz	"r3964_close - msg kfree %p"

L_.str.2:                               ## @.str.2
	.asciz	"r3964_close - client kfree %p"

L_.str.3:                               ## @.str.3
	.asciz	"r3964_close - rx_buf kfree %p"

L_.str.4:                               ## @.str.4
	.asciz	"r3964_close - tx_buf kfree %p"

L_.str.5:                               ## @.str.5
	.asciz	"r3964_close - info kfree %p"

	.no_dead_strip	_r3964_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r3964_close
_r3964_close:                           ; @r3964_close
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_L
	add	x0, x19, #80
	bl	_del_timer_sync
	ldr	x20, [x19, #72]
	cbz	x20, LBB0_7
; %bb.1:
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #56]
	bl	_put_pid
	mov	x0, x20
	bl	_kfree
	mov	x0, x21
	mov	x1, x20
	bl	_TRACE_M
	mov	x20, x24
	cbz	x24, LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x24, [x20, #24]
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x19
	mov	x1, x20
	bl	_remove_msg
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x23, x0
	bl	_kfree
	mov	x0, x22
	mov	x1, x23
	bl	_TRACE_M
	b	LBB0_4
LBB0_7:
	add	x21, x19, #32
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x20, [x19, #48]
	stp	xzr, xzr, [x19, #40]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	cbz	x20, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #24]
	mov	x0, x20
	bl	_kfree
	mov	x20, x21
	cbnz	x21, LBB0_8
LBB0_9:
	add	x0, x19, #16
	bl	_wake_up_interruptible
	ldr	x0, [x19, #8]
	bl	_kfree
	ldr	x1, [x19, #8]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE_M
	ldr	x0, [x19]
	bl	_kfree
	ldr	x1, [x19]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE_M
	mov	x0, x19
	bl	_kfree
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, 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
	b	_TRACE_M
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"close"

l_.str.1:                               ; @.str.1
	.asciz	"r3964_close - msg kfree %p"

l_.str.2:                               ; @.str.2
	.asciz	"r3964_close - client kfree %p"

l_.str.3:                               ; @.str.3
	.asciz	"r3964_close - rx_buf kfree %p"

l_.str.4:                               ; @.str.4
	.asciz	"r3964_close - tx_buf kfree %p"

l_.str.5:                               ; @.str.5
	.asciz	"r3964_close - info kfree %p"

	.no_dead_strip	_r3964_close
.subsections_via_symbols
