	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlc_unpack
_hdlc_unpack:                           ## @hdlc_unpack
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %edx
	movl	(%rax), %r14d
	movl	4(%rax), %ecx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	je	LBB0_70
## %bb.1:
	movl	%esi, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r12d
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movzbl	(%rax,%rsi), %r15d
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	_bitcounts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rax,%r15), %r13d
	movl	%r13d, %ebx
	andl	$15, %ebx
	movl	%r13d, %r14d
	shrl	$4, %r14d
	addl	%ebx, %r12d
	movq	_INS_flag_hunt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	andl	%edx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PPP_FLAG@GOTPCREL(%rip), %rax
	cmpb	(%rax), %r15b
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INS_flag_hunt@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%eax, %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	cmpl	$5, %r12d
	setb	%al
	cmpb	$112, %r13b
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $rcx
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	shll	%cl, %r12d
	orl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movzbl	%r12b, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_hdlc_putbyte
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	shrl	$8, %r12d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$6, %r12d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$7, %r14d
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INS_flag_hunt@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, %edx
	leal	1(%rbx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	shrl	%cl, %r12d
	testb	%r13b, %r13b
	js	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %eax
	subl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %r15d
	subl	%ebx, %r15d
	xorl	%eax, %eax
	cmpl	$6, %r12d
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%r15d, %edx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r14), %ecx
	cmpl	%edx, %ecx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_INS_have_data@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%al
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_25
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$6, %eax
	subl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpb	$-66, %r15b
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$63, %eax
	cmovel	%eax, %r12d
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpl	$7, %r12d
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	12(%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_hdlc_flush
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_INS_flag_hunt@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	$7, %r14d
	incq	%rsi
	movl	%r12d, %ecx
	cmpl	%esi, -104(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_2
	jmp	LBB0_71
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$6, %r12d
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r15d, %eax
	jbe	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rax,%rbx), %esi
	addl	$-7, %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_hdlc_frag
	movq	_INS_have_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_39
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PPP_FLAG@GOTPCREL(%rip), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	cmpb	(%rax), %dl
	jne	LBB0_42
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$5, %r12d
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testl	%esi, %esi
	movq	_INS_have_data@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_49
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hdlc_frag
	xorl	%r12d, %r12d
	jmp	LBB0_51
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	jae	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_INS_have_data@GOTPCREL(%rip), %r12
	testl	%edx, (%r12)
	je	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_hdlc_done
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	(%r12), %eax
	notl	%eax
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	andl	%eax, %edx
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	_PPP_FLAG@GOTPCREL(%rip), %rax
	cmpb	(%rax), %sil
	jne	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	20(%rax)
	jmp	LBB0_5
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$7, %r14d
	je	LBB0_22
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$111, %r13b
	ja	LBB0_53
## %bb.44:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	movl	%edx, %eax
	notl	%eax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	andl	%ecx, %eax
	andl	%ecx, %edx
	shrl	%edx
	orl	%eax, %edx
	jmp	LBB0_55
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$7, %r14d
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	12(%rax)
	jmp	LBB0_23
LBB0_47:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r12d
	testb	%r13b, %r13b
	js	LBB0_56
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rbx)
	je	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_hdlc_done
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, %edx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
LBB0_53:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %r12d
	ja	LBB0_57
## %bb.54:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-66, %dl
	movzbl	%dl, %edx
	movl	$126, %eax
	cmovel	%eax, %edx
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %r13d
	movq	_INS_have_data@GOTPCREL(%rip), %r12
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_66
LBB0_56:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$6, %eax
	subl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpb	$-66, %sil
	jmp	LBB0_20
LBB0_57:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$6, %r13d
	cmpb	$123, %dl
	jg	LBB0_61
## %bb.58:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-66, %dl
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_63
## %bb.59:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$62, %dl
	jne	LBB0_65
## %bb.60:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$31, %dl
	jmp	LBB0_65
LBB0_61:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$124, %dl
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_64
## %bb.62:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$125, %dl
	jne	LBB0_65
LBB0_63:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	$63, %dl
	jmp	LBB0_65
LBB0_64:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	$62, %dl
LBB0_65:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_INS_have_data@GOTPCREL(%rip), %r12
LBB0_66:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%dl, %ebx
	shll	%cl, %ebx
	addl	%ecx, %r13d
	orl	%eax, %ebx
	cmpl	$8, %r13d
	jb	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	$-8, %r13d
	movzbl	%bl, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_hdlc_putbyte
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orl	(%r12), %edx
	shrl	$8, %ebx
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_69
LBB0_68:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_69:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r12d
	jmp	LBB0_25
LBB0_70:
	movl	%ecx, %r12d
LBB0_71:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, (%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movl	%r12d, 4(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bitcounts,8,3                  ## @bitcounts
	.comm	_INS_flag_hunt,4,2              ## @INS_flag_hunt
	.comm	_PPP_FLAG,1,0                   ## @PPP_FLAG
	.comm	_INS_have_data,4,2              ## @INS_have_data
	.no_dead_strip	_hdlc_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlc_unpack
_hdlc_unpack:                           ; @hdlc_unpack
	.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
	ldr	x9, [x2, #8]
	ldr	w24, [x2]
	ldp	w8, w10, [x9]
	str	x9, [sp]                        ; 8-byte Folded Spill
	ldr	w22, [x9, #8]
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	cbz	w1, LBB0_57
; %bb.1:
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x26, _INS_have_data@GOTPAGE
Lloh1:
	ldr	x26, [x26, _INS_have_data@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #5
	mov	w8, #112
	ccmp	w28, w8, #2, lo
	cset	w0, lo
	bl	_likely
	cbz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w23, w22
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	orr	w19, w8, w9
	and	w0, w19, #0xff
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_hdlc_putbyte
	ldr	w8, [x26]
	orr	w24, w8, w24
	lsr	w8, w19, #8
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ubfx	w8, w28, #4, #3
	cbz	w20, LBB0_57
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x21], #1
Lloh2:
	adrp	x9, _bitcounts@GOTPAGE
Lloh3:
	ldr	x9, [x9, _bitcounts@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldrb	w28, [x9, x23]
	sub	w20, w20, #1
	and	w19, w28, #0xf
	lsr	w25, w28, #4
	add	w27, w19, w8
Lloh5:
	adrp	x8, _INS_flag_hunt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INS_flag_hunt@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w0, w8, w24
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x8, _PPP_FLAG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PPP_FLAG@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	mov	w22, #0
Lloh10:
	adrp	x8, _INS_flag_hunt@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INS_flag_hunt@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	bic	w24, w24, w8
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #6
	ccmp	w25, #7, #4, eq
	b.eq	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _INS_flag_hunt@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INS_flag_hunt@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	bic	w24, w24, w8
	add	w8, w19, #1
	lsr	w8, w23, w8
	mov	w9, #7
	sub	w9, w9, w19
	mov	w10, #6
	sub	w10, w10, w19
	cmp	w23, #190
	mov	w11, #63
	csel	w11, w11, w8, eq
	tst	w28, #0x80
	csel	w8, w8, w11, eq
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	csel	w22, w9, w10, eq
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #7
	sub	w10, w8, w19
	add	w8, w25, #1
	cmp	w27, #6
	mov	x9, x22
	stp	w10, w22, [sp, #8]              ; 8-byte Folded Spill
	ccmp	w22, w10, #0, eq
	ccmp	w8, w22, #0, eq
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	bl	_likely
	cbnz	x0, LBB0_4
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	tst	w8, w24
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #6
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #12]
	add	w8, w8, #1
	str	w8, [x9, #12]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_hdlc_flush
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x8, _INS_flag_hunt@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INS_flag_hunt@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w24, w8, w24
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #6
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	w9, w8, [sp, #8]                ; 8-byte Folded Reload
	cmp	w8, w9
	b.ls	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, w19
	sub	w1, w8, #7
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_hdlc_frag
	b	LBB0_30
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh19:
	adrp	x8, _PPP_FLAG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PPP_FLAG@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_33
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #5
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #16]
	add	w8, w8, #1
	str	w8, [x9, #16]
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w1, LBB0_40
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_hdlc_frag
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_42
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	b.hs	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #16]
	add	w8, w8, #1
	str	w8, [x9, #16]
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	tst	w8, w24
	b.eq	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_hdlc_done
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	bic	w24, w24, w8
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh21:
	adrp	x8, _PPP_FLAG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PPP_FLAG@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	mov	w22, #0
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #20]
	add	w8, w8, #1
	str	w8, [x9, #20]
	b	LBB0_4
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #7
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	b.ne	LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #12]
	add	w8, w8, #1
	str	w8, [x9, #12]
	mov	x0, x1
	b	LBB0_16
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #7
	b.ne	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x9, #12]
	add	w8, w8, #1
	str	w8, [x9, #12]
	b	LBB0_17
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w28, #111
	b.hi	LBB0_43
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #-1
	lsl	w8, w8, w19
	bic	w9, w23, w8
	and	w8, w8, w23
	orr	w23, w9, w8, lsr #1
	mov	w8, #7
	b	LBB0_54
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w19, #1
	lsr	w8, w23, w8
	mov	w9, #6
	sub	w9, w9, w19
	cmp	w23, #190
	mov	w10, #63
	csel	w10, w10, w8, eq
	tst	w28, #0x80
	csel	w8, w8, w10, eq
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	csel	w22, w8, w9, eq
	b	LBB0_4
LBB0_40:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	tst	w8, w24
	b.eq	LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_hdlc_done
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w22, #0
	ldr	w8, [x26]
	b	LBB0_8
LBB0_43:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #4
	b.hi	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #190
	mov	w8, #126
	csel	w23, w8, w23, eq
	mov	w8, #7
	b	LBB0_54
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #6
	cmp	w23, #124
	b.gt	LBB0_49
; %bb.46:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #62
	b.eq	LBB0_52
; %bb.47:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #124
	b.ne	LBB0_54
; %bb.48:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #62
	b	LBB0_53
LBB0_49:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #190
	b.eq	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #125
	b.ne	LBB0_54
LBB0_51:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #63
	b	LBB0_53
LBB0_52:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #31
LBB0_53:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #6
LBB0_54:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w9, w8
	lsl	w9, w23, w9
	ldr	w19, [sp, #28]                  ; 4-byte Folded Reload
	orr	w19, w9, w19
	subs	w22, w8, #8
	b.lo	LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_5 Depth=1
	and	w0, w19, #0xff
	bl	_hdlc_putbyte
	ldr	w8, [x26]
	orr	w24, w8, w24
	lsr	w19, w19, #8
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_4
LBB0_56:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	mov	x22, x8
	b	LBB0_4
LBB0_57:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w24, [x9]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	stp	w8, w22, [x9, #4]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_bitcounts,8,3                  ; @bitcounts
	.comm	_INS_flag_hunt,4,2              ; @INS_flag_hunt
	.comm	_PPP_FLAG,1,0                   ; @PPP_FLAG
	.comm	_INS_have_data,4,2              ; @INS_have_data
	.no_dead_strip	_hdlc_unpack
.subsections_via_symbols
