	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppol2tp_recvmsg
_pppol2tp_recvmsg:                      ## @pppol2tp_recvmsg
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	(%rsi), %rdi
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movq	_PPPOX_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %rbx
	movq	$0, 8(%rdx)
	movl	$0, -36(%rbp)
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%r8d, %esi
	andl	%r8d, %edx
	leaq	-36(%rbp), %rcx
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r14
	movq	(%rax), %r12
	cmpq	%r15, %r12
	jb	LBB0_6
## %bb.3:
	jbe	LBB0_5
## %bb.4:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_5:
	movq	%r15, %r12
LBB0_6:
	movl	(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_skb_copy_datagram_iovec
	movl	%eax, -36(%rbp)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r12d, -36(%rbp)
LBB0_8:
	movq	%r14, %rdi
	callq	_kfree_skb
LBB0_9:
	movl	-36(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_PPPOX_BOUND,4,2                ## @PPPOX_BOUND
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.no_dead_strip	_pppol2tp_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppol2tp_recvmsg
_pppol2tp_recvmsg:                      ; @pppol2tp_recvmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x0, [x1]
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _PPPOX_BOUND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPPOX_BOUND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	str	xzr, [x2, #8]
	str	wzr, [sp, #12]
Lloh6:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w1, w4, w8
	and	w2, w8, w4
	add	x3, sp, #12
	bl	_skb_recv_datagram
	cbz	x0, LBB0_9
; %bb.2:
	mov	x21, x0
	ldr	x22, [x0]
	cmp	x22, x20
	b.lo	LBB0_6
; %bb.3:
	b.ls	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
	mov	x22, x20
LBB0_6:
	ldr	w2, [x19]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x22
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #12]
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_8
; %bb.7:
	str	w22, [sp, #12]
LBB0_8:
	mov	x0, x21
	bl	_kfree_skb
LBB0_9:
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_PPPOX_BOUND,4,2                ; @PPPOX_BOUND
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.no_dead_strip	_pppol2tp_recvmsg
.subsections_via_symbols
