	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlc_loop
_hdlc_loop:                             ## @hdlc_loop
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	8(%rcx), %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rcx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_INS_byte_stuff@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	movl	%r13d, -92(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.1:
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_2:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_PPP_TRANS@GOTPCREL(%rip), %rax
	xorb	(%rax), %r12b
	movzbl	%r12b, %r14d
	movl	%r14d, %edi
	callq	_muststuff
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	_DEBUG_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	jmp	LBB0_16
LBB0_4:
	movq	_PPP_ESCAPE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpb	(%rax), %r12b
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movb	(%r15), %r12b
	incq	%r15
	decl	%r13d
	movq	_DLE_FLAG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpb	(%rcx), %r12b
	jne	LBB0_9
## %bb.7:
	movb	$1, %al
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	_INS_DLE_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	setne	%al
LBB0_9:
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	_INS_DLE_char@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_11:
	orl	(%r14), %ebx
	jmp	LBB0_25
LBB0_12:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, %r14d
	movq	_PPP_FLAG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpb	(%rax), %r12b
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_30
## %bb.13:
	movzbl	%r12b, %ebx
	movl	%ebx, %edi
	callq	_muststuff
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_DEBUG_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
LBB0_15:
	movl	%r14d, %ebx
LBB0_16:
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_INS_skip_frame@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	movl	(%r14), %eax
	andl	%ebx, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %eax
	movq	_SBUFSIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_26
## %bb.18:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	___skb_put
	movb	%r12b, (%rax)
	movzbl	%r12b, %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_crc_ccitt_byte
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_19:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_INS_byte_stuff@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_25
## %bb.20:
	movb	(%r15), %r12b
	incq	%r15
	decl	%r13d
	movq	_DLE_FLAG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpb	(%rcx), %r12b
	jne	LBB0_23
## %bb.21:
	movb	$1, %al
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx)
	jne	LBB0_23
## %bb.22:
	movq	_INS_DLE_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	setne	%al
LBB0_23:
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.24:
	movq	_INS_DLE_char@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_25:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_26:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_warn
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	orl	(%r14), %ebx
	xorl	%eax, %eax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_27:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_28:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_29:
	movl	%ebx, (%r12)
	movq	%r15, 8(%r12)
	movq	%rax, 24(%r12)
	movl	-92(%rbp), %eax                 ## 4-byte Reload
	subl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_INS_skip_frame@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	%r14d, %ebx
	andl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_38
## %bb.31:
	xorl	%edi, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_32:
	movq	%r12, %rdx
	callq	_gigaset_rcv_error
	movb	$1, %r15b
LBB0_33:
	movzbl	%r15b, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_36
## %bb.34:
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.35:
	callq	_dev_kfree_skb
LBB0_36:
	movq	_PPP_INITFCS@GOTPCREL(%rip), %rax
	movq	_INS_have_data@GOTPCREL(%rip), %rcx
	movl	(%r13), %edx
	orl	(%rcx), %edx
	movq	(%rax), %r15
	notl	%edx
	andl	%edx, %r14d
	movl	20(%r12), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:
	orl	(%r13), %r14d
	xorl	%eax, %eax
	movl	%r14d, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_29
LBB0_38:
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_43
## %bb.39:
	movq	_DEBUG_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_gig_dbg
	movq	_PPP_GOODFCS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_46
## %bb.40:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	xorl	%edi, %edi
	movq	%rbx, %rsi
	jmp	LBB0_32
LBB0_41:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	movq	_SBUFSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	_HW_HDR_LEN@GOTPCREL(%rip), %r15
	addq	(%r15), %rdi
	callq	_dev_alloc_skb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_44
## %bb.42:
	movq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_skb_reserve
	jmp	LBB0_45
LBB0_43:
	movl	%r14d, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_44:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_warn
	orl	(%r13), %ebx
LBB0_45:
	movq	%r14, %rax
	jmp	LBB0_27
LBB0_46:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %r15d
	xorl	%edi, %edi
	cmpl	$3, %r15d
	setge	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	addl	$-2, 4(%rbx)
	addl	$-2, (%rbx)
	movb	$1, %al
	jmp	LBB0_51
LBB0_48:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	orl	(%r13), %r14d
	cmpl	$1, %r15d
	jne	LBB0_50
## %bb.49:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_dev_err
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_gigaset_rcv_error
	movb	$1, %r15b
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_50:
	movb	$1, %al
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
LBB0_51:
	xorl	%r15d, %r15d
LBB0_52:
	movl	(%r13), %ecx
	andl	%r14d, %ecx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_33
## %bb.53:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_gigaset_rcv_skb
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_INS_byte_stuff,4,2             ## @INS_byte_stuff
	.comm	_PPP_ESCAPE,1,0                 ## @PPP_ESCAPE
	.comm	_DLE_FLAG,1,0                   ## @DLE_FLAG
	.comm	_INS_DLE_command,4,2            ## @INS_DLE_command
	.comm	_INS_DLE_char,4,2               ## @INS_DLE_char
	.comm	_PPP_TRANS,1,0                  ## @PPP_TRANS
	.comm	_DEBUG_HDLC,4,2                 ## @DEBUG_HDLC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"byte stuffed: 0x%02x"

	.comm	_PPP_FLAG,1,0                   ## @PPP_FLAG
	.comm	_INS_skip_frame,4,2             ## @INS_skip_frame
	.comm	_INS_have_data,4,2              ## @INS_have_data
L_.str.1:                               ## @.str.1
	.asciz	"7e----------------------------"

	.comm	_PPP_GOODFCS,8,3                ## @PPP_GOODFCS
L_.str.2:                               ## @.str.2
	.asciz	"Checksum failed, %u bytes corrupted!\n"

L_.str.3:                               ## @.str.3
	.asciz	"invalid packet size (1)!\n"

	.comm	_PPP_INITFCS,8,3                ## @PPP_INITFCS
	.comm	_SBUFSIZE,4,2                   ## @SBUFSIZE
	.comm	_HW_HDR_LEN,8,3                 ## @HW_HDR_LEN
L_.str.4:                               ## @.str.4
	.asciz	"could not allocate new skb\n"

L_.str.5:                               ## @.str.5
	.asciz	"not byte stuffed: 0x%02x"

L_.str.6:                               ## @.str.6
	.asciz	"received packet too long\n"

	.no_dead_strip	_hdlc_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlc_loop
_hdlc_loop:                             ; @hdlc_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x20, x2
	mov	x25, x1
	mov	x26, x0
	ldp	x8, x22, [x3, #8]
	ldr	w27, [x8]
	ldr	x23, [x8, #8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x21, [x8, #24]
Lloh0:
	adrp	x28, _INS_byte_stuff@GOTPAGE
Lloh1:
	ldr	x28, [x28, _INS_byte_stuff@GOTPAGEOFF]
	ldr	w8, [x28]
	and	w0, w8, w27
	bl	_unlikely
Lloh2:
	adrp	x19, _DLE_FLAG@GOTPAGE
Lloh3:
	ldr	x19, [x19, _DLE_FLAG@GOTPAGEOFF]
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x28]
	bic	w27, w27, w8
	mov	x28, x20
Lloh4:
	adrp	x20, _INS_skip_frame@GOTPAGE
Lloh5:
	ldr	x20, [x20, _INS_skip_frame@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x28, x20
LBB0_3:
	and	w20, w26, #0xff
Lloh6:
	adrp	x8, _PPP_ESCAPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PPP_ESCAPE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w20, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.4:
	cmp	w28, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.5:
	ldrb	w26, [x25], #1
	sub	w28, w28, #1
	ldrb	w8, [x19]
	cmp	w26, w8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x22]
	mov	w0, #1
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x24]
Lloh8:
	adrp	x9, _INS_DLE_command@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INS_DLE_command@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
LBB0_8:
	bl	_unlikely
Lloh11:
	adrp	x20, _INS_skip_frame@GOTPAGE
Lloh12:
	ldr	x20, [x20, _INS_skip_frame@GOTPAGEOFF]
	cbnz	x0, LBB0_25
LBB0_9:
Lloh13:
	adrp	x8, _PPP_TRANS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PPP_TRANS@GOTPAGEOFF]
	ldrb	w8, [x8]
	eor	w26, w8, w26
	and	w0, w26, #0xff
	bl	_muststuff
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.10:
Lloh15:
	adrp	x8, _DEBUG_HDLC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DEBUG_HDLC@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	and	x8, x26, #0xff
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gig_dbg
	b	LBB0_15
LBB0_11:
Lloh20:
	adrp	x8, _PPP_FLAG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PPP_FLAG@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w26, uxtb
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_30
; %bb.12:
	and	w0, w26, #0xff
	bl	_muststuff
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
Lloh22:
	adrp	x8, _DEBUG_HDLC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DEBUG_HDLC@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_gig_dbg
LBB0_14:
Lloh27:
	adrp	x20, _INS_skip_frame@GOTPAGE
Lloh28:
	ldr	x20, [x20, _INS_skip_frame@GOTPAGEOFF]
LBB0_15:
Lloh29:
	adrp	x8, _INS_have_data@GOTPAGE
Lloh30:
	ldr	x8, [x8, _INS_have_data@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	orr	w27, w8, w27
	ldr	w8, [x20]
	tst	w27, w8
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_18
; %bb.16:
	ldr	w8, [x21]
Lloh32:
	adrp	x9, _SBUFSIZE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SBUFSIZE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_24
; %bb.17:
	mov	x0, x21
	mov	w1, #1
	bl	___skb_put
	strb	w26, [x0]
	and	w1, w26, #0xff
	mov	x0, x23
	bl	_crc_ccitt_byte
	mov	x23, x0
LBB0_18:
	cmp	w28, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_28
; %bb.19:
	ldrb	w26, [x25], #1
	sub	w28, w28, #1
	ldrb	w8, [x19]
	cmp	w26, w8
	b.ne	LBB0_21
; %bb.20:
	ldr	x8, [x22]
	mov	w0, #1
	cbz	x8, LBB0_23
LBB0_21:
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_22:
Lloh35:
	adrp	x8, _INS_DLE_char@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INS_DLE_char@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
	b	LBB0_28
LBB0_23:
	ldr	w8, [x24]
Lloh38:
	adrp	x9, _INS_DLE_command@GOTPAGE
Lloh39:
	ldr	x9, [x9, _INS_DLE_command@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_3
	b	LBB0_22
LBB0_24:
	ldr	w0, [x22, #8]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_warn
	mov	x0, x21
	bl	_dev_kfree_skb_any
	mov	x21, #0
	ldr	w8, [x20]
	b	LBB0_27
LBB0_25:
Lloh43:
	adrp	x8, _INS_DLE_char@GOTPAGE
Lloh44:
	ldr	x8, [x8, _INS_DLE_char@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
LBB0_26:
Lloh46:
	adrp	x8, _INS_byte_stuff@GOTPAGE
Lloh47:
	ldr	x8, [x8, _INS_byte_stuff@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
LBB0_27:
	orr	w27, w8, w27
LBB0_28:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
LBB0_29:
	str	w27, [x20]
	str	x23, [x20, #8]
	str	x21, [x20, #24]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	sub	w0, w8, w28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_30:
Lloh49:
	adrp	x8, _INS_skip_frame@GOTPAGE
Lloh50:
	ldr	x8, [x8, _INS_skip_frame@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	and	w0, w8, w27
	bl	_unlikely
	cbz	x0, LBB0_38
; %bb.31:
	mov	x0, #0
	mov	x1, x22
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
LBB0_32:
	mov	x2, x20
	bl	_gigaset_rcv_error
	mov	w23, #1
LBB0_33:
	mov	x0, x23
	bl	_unlikely
	cbz	x0, LBB0_36
; %bb.34:
	cbz	x21, LBB0_36
; %bb.35:
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_36:
Lloh52:
	adrp	x8, _PPP_INITFCS@GOTPAGE
Lloh53:
	ldr	x8, [x8, _PPP_INITFCS@GOTPAGEOFF]
Lloh54:
	ldr	x23, [x8]
Lloh55:
	adrp	x8, _INS_have_data@GOTPAGE
Lloh56:
	ldr	x8, [x8, _INS_have_data@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
Lloh58:
	adrp	x19, _INS_skip_frame@GOTPAGE
Lloh59:
	ldr	x19, [x19, _INS_skip_frame@GOTPAGEOFF]
	ldr	w9, [x19]
	orr	w8, w9, w8
	bic	w27, w27, w8
	ldr	w0, [x20, #20]
	bl	_unlikely
	cbz	x0, LBB0_41
; %bb.37:
	mov	x21, #0
	ldr	w8, [x19]
	orr	w27, w8, w27
	b	LBB0_29
LBB0_38:
Lloh60:
	adrp	x8, _INS_have_data@GOTPAGE
Lloh61:
	ldr	x8, [x8, _INS_have_data@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w27
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	b.eq	LBB0_29
; %bb.39:
Lloh63:
	adrp	x8, _DEBUG_HDLC@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DEBUG_HDLC@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x1, l_.str.1@PAGE
Lloh67:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gig_dbg
Lloh68:
	adrp	x8, _PPP_GOODFCS@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PPP_GOODFCS@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	cmp	x23, x8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_44
; %bb.40:
	ldr	w0, [x22, #8]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh71:
	adrp	x1, l_.str.2@PAGE
Lloh72:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	mov	x0, #0
	mov	x1, x22
	b	LBB0_32
LBB0_41:
Lloh73:
	adrp	x8, _SBUFSIZE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _SBUFSIZE@GOTPAGEOFF]
Lloh75:
	ldrsw	x8, [x8]
Lloh76:
	adrp	x19, _HW_HDR_LEN@GOTPAGE
Lloh77:
	ldr	x19, [x19, _HW_HDR_LEN@GOTPAGEOFF]
	ldr	x9, [x19]
	add	x0, x9, x8
	bl	_dev_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_43
; %bb.42:
	ldr	x1, [x19]
	mov	x0, x21
	bl	_skb_reserve
	b	LBB0_29
LBB0_43:
	ldr	w0, [x22, #8]
Lloh78:
	adrp	x1, l_.str.4@PAGE
Lloh79:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_warn
Lloh80:
	adrp	x8, _INS_skip_frame@GOTPAGE
Lloh81:
	ldr	x8, [x8, _INS_skip_frame@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	orr	w27, w8, w27
	b	LBB0_29
LBB0_44:
	ldr	w19, [x21]
	cmp	w19, #2
	cset	w0, gt
	bl	_likely
	cbz	x0, LBB0_46
; %bb.45:
	mov	w23, #0
	ldr	d0, [x21]
	mvni.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x21]
	b	LBB0_49
LBB0_46:
	mov	x0, x21
	bl	_dev_kfree_skb
Lloh83:
	adrp	x8, _INS_skip_frame@GOTPAGE
Lloh84:
	ldr	x8, [x8, _INS_skip_frame@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	orr	w27, w8, w27
	cmp	w19, #1
	b.ne	LBB0_48
; %bb.47:
	ldr	w0, [x22, #8]
Lloh86:
	adrp	x1, l_.str.3@PAGE
Lloh87:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	mov	x0, #0
	mov	x1, x22
	mov	x2, x20
	bl	_gigaset_rcv_error
	mov	x21, #0
	mov	w8, #0
	mov	w23, #1
	b	LBB0_50
LBB0_48:
	mov	x21, #0
	mov	w23, #0
LBB0_49:
	mov	w8, #1
LBB0_50:
Lloh88:
	adrp	x9, _INS_skip_frame@GOTPAGE
Lloh89:
	ldr	x9, [x9, _INS_skip_frame@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	tst	w9, w27
	cset	w9, eq
	and	w0, w8, w9
	bl	_likely
	cbz	x0, LBB0_33
; %bb.51:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_gigaset_rcv_skb
	b	LBB0_33
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_INS_byte_stuff,4,2             ; @INS_byte_stuff
	.comm	_PPP_ESCAPE,1,0                 ; @PPP_ESCAPE
	.comm	_DLE_FLAG,1,0                   ; @DLE_FLAG
	.comm	_INS_DLE_command,4,2            ; @INS_DLE_command
	.comm	_INS_DLE_char,4,2               ; @INS_DLE_char
	.comm	_PPP_TRANS,1,0                  ; @PPP_TRANS
	.comm	_DEBUG_HDLC,4,2                 ; @DEBUG_HDLC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"byte stuffed: 0x%02x"

	.comm	_PPP_FLAG,1,0                   ; @PPP_FLAG
	.comm	_INS_skip_frame,4,2             ; @INS_skip_frame
	.comm	_INS_have_data,4,2              ; @INS_have_data
l_.str.1:                               ; @.str.1
	.asciz	"7e----------------------------"

	.comm	_PPP_GOODFCS,8,3                ; @PPP_GOODFCS
l_.str.2:                               ; @.str.2
	.asciz	"Checksum failed, %u bytes corrupted!\n"

l_.str.3:                               ; @.str.3
	.asciz	"invalid packet size (1)!\n"

	.comm	_PPP_INITFCS,8,3                ; @PPP_INITFCS
	.comm	_SBUFSIZE,4,2                   ; @SBUFSIZE
	.comm	_HW_HDR_LEN,8,3                 ; @HW_HDR_LEN
l_.str.4:                               ; @.str.4
	.asciz	"could not allocate new skb\n"

l_.str.5:                               ; @.str.5
	.asciz	"not byte stuffed: 0x%02x"

l_.str.6:                               ; @.str.6
	.asciz	"received packet too long\n"

	.no_dead_strip	_hdlc_loop
.subsections_via_symbols
