	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pclose
_pclose:                                ## @pclose
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_skb_put
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	20(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	16(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	_PKT_PCLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movq	8(%r12), %rdi
	callq	_SOLOS_CHAN
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_fpga_queue
	movq	_ATM_VF_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_clear_bit
	movq	_ATM_VF_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_1:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate sk_buff in pclose()\n"

	.comm	_PKT_PCLOSE,4,2                 ## @PKT_PCLOSE
	.comm	_ATM_VF_ADDR,4,2                ## @ATM_VF_ADDR
	.comm	_ATM_VF_READY,4,2               ## @ATM_VF_READY
	.no_dead_strip	_pclose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pclose
_pclose:                                ; @pclose
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	w1, #32
	bl	_skb_put
	mov	x22, x0
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x22, #24]
	ldr	w0, [x19, #20]
	bl	_cpu_to_le16
	str	x0, [x22, #16]
	ldr	w0, [x19, #16]
	bl	_cpu_to_le16
	str	x0, [x22, #8]
Lloh3:
	adrp	x8, _PKT_PCLOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PKT_PCLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x22]
	ldr	x0, [x19, #8]
	bl	_SOLOS_CHAN
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	x3, #0
	bl	_fpga_queue
Lloh6:
	adrp	x8, _ATM_VF_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATM_VF_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
Lloh9:
	adrp	x8, _ATM_VF_READY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATM_VF_READY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	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	_clear_bit
LBB0_2:
	ldr	x0, [x20]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate sk_buff in pclose()\n"

	.comm	_PKT_PCLOSE,4,2                 ; @PKT_PCLOSE
	.comm	_ATM_VF_ADDR,4,2                ; @ATM_VF_ADDR
	.comm	_ATM_VF_READY,4,2               ; @ATM_VF_READY
	.no_dead_strip	_pclose
.subsections_via_symbols
