	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_input                      ## -- Begin function ppp_input
	.p2align	4, 0x90
_ppp_input:                             ## @ppp_input
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_14
## %bb.1:
	movq	%r14, %rdi
	callq	_read_lock_bh
	movq	%r15, %rdi
	callq	_ppp_decompress_proto
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movq	%r15, %rdi
	callq	_PPP_PROTO
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	cmpl	$49151, %eax                    ## imm = 0xBFFF
	jg	LBB0_7
## %bb.6:
	movq	_PPP_CCPFRAG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.12:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ppp_do_recv
	jmp	LBB0_13
LBB0_14:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_kfree_skb
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.3:
	movq	(%rdi), %rax
	incl	(%rax)
	callq	_ppp_receive_error
	jmp	LBB0_13
LBB0_7:
	leaq	24(%r14), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	24(%r14), %rax
	movq	_PPP_MAX_RQLEN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jle	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rdi
	callq	_kfree_skb
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jg	LBB0_9
LBB0_11:
	leaq	16(%r14), %rdi
	callq	_wake_up_interruptible
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPP_CCPFRAG,4,2                ## @PPP_CCPFRAG
	.comm	_PPP_MAX_RQLEN,8,3              ## @PPP_MAX_RQLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_input                      ; -- Begin function ppp_input
	.p2align	2
_ppp_input:                             ; @ppp_input
	.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	x20, x1
	ldr	x19, [x0]
	cbz	x19, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_read_lock_bh
	mov	x0, x20
	bl	_ppp_decompress_proto
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_PPP_PROTO
	mov	x8, x0
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.3:
	cmp	w8, #12, lsl #12                ; =49152
	b.ge	LBB0_9
; %bb.4:
Lloh0:
	adrp	x9, _PPP_CCPFRAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PPP_CCPFRAG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.5:
	mov	x1, x20
	mov	x2, x19
	bl	_ppp_do_recv
	b	LBB0_14
LBB0_6:
	mov	x0, x20
	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	_kfree_skb
LBB0_7:
	mov	x0, x20
	bl	_kfree_skb
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x8, [x0]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_ppp_receive_error
	b	LBB0_14
LBB0_9:
	add	x21, x19, #24
	mov	x0, x21
	mov	x1, x20
	bl	_skb_queue_tail
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x20, _PPP_MAX_RQLEN@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PPP_MAX_RQLEN@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	b.le	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	bl	_skb_dequeue
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_kfree_skb
	ldr	x8, [x21]
	b	LBB0_10
LBB0_13:
	add	x0, x19, #16
	bl	_wake_up_interruptible
LBB0_14:
	mov	x0, 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	_read_unlock_bh
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PPP_CCPFRAG,4,2                ; @PPP_CCPFRAG
	.comm	_PPP_MAX_RQLEN,8,3              ; @PPP_MAX_RQLEN
.subsections_via_symbols
