	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppol2tp_sock_to_session
_pppol2tp_sock_to_session:              ## @pppol2tp_sock_to_session
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_sock_hold
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rax
	movq	_L2TP_SESSION_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_sock_put
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L2TP_SESSION_MAGIC,8,3         ## @L2TP_SESSION_MAGIC
	.no_dead_strip	_pppol2tp_sock_to_session
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppol2tp_sock_to_session
_pppol2tp_sock_to_session:              ; @pppol2tp_sock_to_session
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_sock_hold
	ldr	x19, [x20]
	cbz	x19, LBB0_4
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _L2TP_SESSION_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L2TP_SESSION_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	b	LBB0_5
LBB0_3:
	mov	x19, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_sock_put
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_L2TP_SESSION_MAGIC,8,3         ; @L2TP_SESSION_MAGIC
	.no_dead_strip	_pppol2tp_sock_to_session
.subsections_via_symbols
