	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lec_atm_close
_lec_atm_close:                         ## @lec_atm_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	callq	_lec_arp_destroy
	movq	%r15, %rdi
	callq	_sk_atm
	movq	%rax, %rdi
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_2:
	movq	%r15, %rdi
	callq	_sk_atm
	movq	%rax, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_atm_return
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	%r15, %rdi
	callq	_sk_atm
	movq	%rax, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_printk
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_module_put                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s lec_atm_close: closing with messages pending\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Shut down!\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_lec_atm_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lec_atm_close
_lec_atm_close:                         ; @lec_atm_close
	.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, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
	str	xzr, [x0]
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x21
	bl	_lec_arp_destroy
	mov	x0, x20
	bl	_sk_atm
	bl	_skb_peek
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_2:
	mov	x0, x20
	bl	_sk_atm
	bl	_skb_dequeue
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_atm_return
	mov	x0, x21
	bl	_dev_kfree_skb
	mov	x0, x20
	bl	_sk_atm
	bl	_skb_dequeue
	mov	x21, x0
	cbnz	x0, LBB0_4
LBB0_5:
	ldr	w1, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
Lloh4:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	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
	b	_module_put
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s lec_atm_close: closing with messages pending\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Shut down!\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_lec_atm_close
.subsections_via_symbols
