	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppoe_release
_pppoe_release:                         ## @pppoe_release
	.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), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	%rbx, %rdi
	callq	_lock_sock
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_release_sock
	movq	_EBADF@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_pppox_sk
	movq	%rax, %r12
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_dev_put
	movq	$0, 16(%r12)
LBB0_5:
	movq	%rbx, %rdi
	callq	_pppox_unbind_sock
	movq	_PPPOX_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_sock_net
	movq	%rax, %rdi
	callq	_pppoe_pernet
	movl	8(%r12), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%rax, %rdi
	callq	_delete_item
	movq	%rbx, %rdi
	callq	_sock_orphan
	movq	$0, (%r15)
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	movq	%rbx, %rdi
	callq	_release_sock
	movq	%rbx, %rdi
	callq	_sock_put
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_PPPOX_DEAD,4,2                 ## @PPPOX_DEAD
	.no_dead_strip	_pppoe_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppoe_release
_pppoe_release:                         ; @pppoe_release
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_lock_sock
Lloh0:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_release_sock
Lloh3:
	adrp	x8, _EBADF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_pppox_sk
	mov	x21, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_dev_put
	str	xzr, [x21, #16]
LBB0_5:
	mov	x0, x19
	bl	_pppox_unbind_sock
Lloh6:
	adrp	x8, _PPPOX_DEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PPPOX_DEAD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_sock_net
	bl	_pppoe_pernet
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	bl	_delete_item
	mov	x0, x19
	bl	_sock_orphan
	str	xzr, [x20]
	mov	x0, x19
	bl	_skb_queue_purge
	mov	x0, x19
	bl	_release_sock
	mov	x0, x19
	bl	_sock_put
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_PPPOX_DEAD,4,2                 ; @PPPOX_DEAD
	.no_dead_strip	_pppoe_release
.subsections_via_symbols
