	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plip_close
_plip_close:                            ## @plip_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movl	(%rbx), %edi
	callq	_DISABLE
	movl	(%rbx), %edi
	callq	_synchronize_irq
	cmpl	$-1, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	24(%r14), %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	movq	%r14, %rdi
	addq	$28, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	callq	_wait_for_completion
LBB0_2:
	movq	$0, 16(%r14)
	movq	_PLIP_CN_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %edi
	callq	_parport_release
	movq	$0, (%r14)
LBB0_4:
	movq	_PLIP_PK_DONE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 56(%r14)
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_dev_kfree_skb
	movq	$0, 48(%r14)
	movq	(%rbx), %rax
LBB0_6:
	movq	%rax, 40(%r14)
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_kfree_skb
	movq	$0, 32(%r14)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLIP_CN_NONE,4,2               ## @PLIP_CN_NONE
	.comm	_PLIP_PK_DONE,8,3               ## @PLIP_PK_DONE
	.no_dead_strip	_plip_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plip_close
_plip_close:                            ; @plip_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netif_stop_queue
	ldr	w0, [x20]
	bl	_DISABLE
	ldr	w0, [x20]
	bl	_synchronize_irq
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_2
; %bb.1:
	add	x20, x19, #24
	mov	x0, x20
	bl	_init_completion
	add	x0, x19, #28
	mov	w1, #1
	bl	_atomic_set
	mov	x0, x20
	bl	_wait_for_completion
LBB0_2:
	str	xzr, [x19, #16]
Lloh0:
	adrp	x8, _PLIP_CN_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLIP_CN_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	bl	_parport_release
	str	xzr, [x19]
LBB0_4:
Lloh3:
	adrp	x20, _PLIP_PK_DONE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PLIP_PK_DONE@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x19, #56]
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_dev_kfree_skb
	str	xzr, [x19, #48]
	ldr	x8, [x20]
LBB0_6:
	str	x8, [x19, #40]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_kfree_skb
	str	xzr, [x19, #32]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PLIP_CN_NONE,4,2               ; @PLIP_CN_NONE
	.comm	_PLIP_PK_DONE,8,3               ; @PLIP_PK_DONE
	.no_dead_strip	_plip_close
.subsections_via_symbols
