	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_raw
_read_raw:                              ## @read_raw
	.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
	movq	%rdi, %r8
	movq	(%rdi), %rcx
	movl	16(%rdi), %r13d
	movl	20(%rdi), %eax
	movl	24(%rdi), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	28(%r8), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_L1_MODE_HDLC@GOTPCREL(%rip), %rdi
	xorl	%r9d, %r9d
	cmpq	(%rdi), %rcx
	sete	%cl
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_62
## %bb.1:
	movq	8(%r8), %rdx
	movq	_NETJET_DMA_RXSIZE@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	leaq	(%rdx,%rdi,4), %rdx
	addq	$-4, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movb	%cl, %r9b
	leal	7(%r9), %r14d
	shll	$7, %r9d
	orl	$127, %r9d
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r10), %r13d
	xorl	%ebx, %ebx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	40(%r8)
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%ebx, %eax
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	cmpl	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_63
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	(%rsi), %edx
	movl	%edx, %ecx
	sarl	$8, %ecx
	cmpq	$0, 88(%r8)
	cmovel	%edx, %ecx
	addq	$4, %rsi
	cmpq	-72(%rbp), %rsi                 ## 8-byte Folded Reload
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r8), %rsi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, %edx
	notl	%edx
	testl	%edx, %r9d
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%cl, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=2
	leal	1(%rax), %ebx
	cmpl	$6, %eax
	cmovgel	%ecx, %r13d
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	shrl	%r12d
	incl	%r15d
	movl	%ebx, %eax
	cmpl	%r15d, %r14d
	je	LBB0_3
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10), %ecx
	cmpl	%ecx, %r13d
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	$1, %r12b
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	(%r11), %r13d
	movq	72(%r8), %rdi
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	40(%r8), %edx
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_debugl1
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpl	(%r11), %r13d
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	$1, %r12b
	jne	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	cmpl	$6, %eax
	jne	LBB0_10
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FLAG_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	72(%r8), %rdi
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_45
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	40(%r8), %edx
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_debugl1
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_11 Depth=2
	incl	%eax
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=2
	movl	%eax, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FLAG_FOUND@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	$1, %r12b
	jne	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	cmpl	$5, %eax
	je	LBB0_40
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$6, %eax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	je	LBB0_46
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=2
	shrl	%esi
	andl	$127, %esi
	jmp	LBB0_39
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FRAME_FOUND@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	jne	LBB0_9
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	$1, %r12b
	jne	LBB0_36
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$5, %eax
	je	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$6, %eax
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_49
## %bb.30:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movq	72(%r8), %rdi
	testb	$7, %bl
	je	LBB0_50
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_debugl1
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	(%r11), %r13d
	incl	56(%r8)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	jmp	LBB0_57
LBB0_32:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_33:                                ##   in Loop: Header=BB0_11 Depth=2
	leal	1(%rax), %ebx
	cmpl	$5, %eax
	jle	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ecx, %r13d
	jmp	LBB0_10
LBB0_36:                                ##   in Loop: Header=BB0_11 Depth=2
	leal	1(%rax), %ebx
	cmpl	$5, %eax
	jle	LBB0_47
## %bb.37:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ecx, %r13d
	xorl	%ecx, %ecx
	jmp	LBB0_57
LBB0_38:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	sarl	%esi
	orl	$128, %esi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_11 Depth=2
	incl	%eax
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testb	$7, %al
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_10
## %bb.42:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FRAME_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_PPP_INITFCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 48(%r8)
	movq	32(%r8), %rax
	movl	%esi, (%rax)
	callq	_PPP_FCS
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rax, 48(%r8)
	movq	72(%r8), %rdi
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	40(%r8), %edx
	movl	4(%rdi), %r10d
	leaq	L_.str.2(%rip), %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r12
	callq	_debugl1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$16, %rsp
LBB0_44:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	jmp	LBB0_10
LBB0_45:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%ebx, %ebx
LBB0_46:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_10
LBB0_47:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	sarl	%eax
	orl	$128, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	jmp	LBB0_57
LBB0_49:                                ##   in Loop: Header=BB0_11 Depth=2
	shrl	%eax
	andl	$127, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	xorl	%ebx, %ebx
	jmp	LBB0_57
LBB0_50:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	48(%rax), %r8
	movl	4(%rdi), %r9d
	leaq	L_.str.4(%rip), %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_debugl1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	48(%r8), %rax
	movq	_PPP_GOODFCS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	72(%r8), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_debugl1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	72(%rax), %rdi
	movl	%ebx, %edx
	sarl	$3, %edx
	decl	%edx
	leaq	L_.str.6(%rip), %rcx
	callq	_printframe
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	incl	56(%r8)
	jmp	LBB0_56
LBB0_55:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%ebx, %esi
	sarl	$3, %esi
	addl	$-3, %esi
	movq	%r8, %rdi
	callq	_got_frame
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_56:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FLAG_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
LBB0_57:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_HDLC_FRAME_FOUND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_10
## %bb.58:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ecx, %eax
	andl	$7, %eax
	jne	LBB0_10
## %bb.59:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ecx, %eax
	sarl	$3, %eax
	movq	_HSCX_BUFMAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	32(%r8), %rcx
	cltq
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, -4(%rcx,%rax,4)
	movq	48(%r8), %rdi
	callq	_PPP_FCS
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rax, 48(%r8)
	jmp	LBB0_10
LBB0_61:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	72(%r8), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_debugl1
	movq	_HDLC_FLAG_SEARCH@GOTPCREL(%rip), %r11
	movq	_HDLC_ZERO_SEARCH@GOTPCREL(%rip), %r10
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	(%r11), %r13d
	incl	56(%r8)
	jmp	LBB0_10
LBB0_62:
	movl	%eax, %ebx
LBB0_63:
	movl	%r13d, 16(%r8)
	movl	%ebx, 20(%r8)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%r8)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 28(%r8)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETJET_DMA_RXSIZE,4,2          ## @NETJET_DMA_RXSIZE
	.comm	_L1_MODE_HDLC,8,3               ## @L1_MODE_HDLC
	.comm	_HDLC_ZERO_SEARCH,4,2           ## @HDLC_ZERO_SEARCH
	.comm	_HDLC_FLAG_SEARCH,4,2           ## @HDLC_FLAG_SEARCH
	.comm	_L1_DEB_HSCX,4,2                ## @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tiger read_raw: zBit(%d,%d,%d) %x"

	.comm	_HDLC_FLAG_FOUND,4,2            ## @HDLC_FLAG_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"tiger read_raw: flag(%d,%d,%d) %x"

	.comm	_HDLC_FRAME_FOUND,4,2           ## @HDLC_FRAME_FOUND
	.comm	_PPP_INITFCS,8,3                ## @PPP_INITFCS
L_.str.2:                               ## @.str.2
	.asciz	"tiger read_raw: byte1(%d,%d,%d) rval %x val %x i %x"

L_.str.3:                               ## @.str.3
	.asciz	"tiger: frame not byte aligned"

L_.str.4:                               ## @.str.4
	.asciz	"tiger frame end(%d,%d): fcs(%x) i %x"

	.comm	_PPP_GOODFCS,8,3                ## @PPP_GOODFCS
L_.str.5:                               ## @.str.5
	.asciz	"tiger FCS error"

L_.str.6:                               ## @.str.6
	.asciz	"rec"

	.comm	_HSCX_BUFMAX,4,2                ## @HSCX_BUFMAX
L_.str.7:                               ## @.str.7
	.asciz	"tiger: frame too big"

	.no_dead_strip	_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_raw
_read_raw:                              ; @read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x0
	ldp	w22, w8, [x0, #16]
	ldp	w26, w24, [x0, #24]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _L1_MODE_HDLC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _L1_MODE_HDLC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	mov	w9, #7
	cinc	w27, w9, eq
	mov	w9, #127
	mov	w10, #255
	csel	w9, w10, w9, eq
	stp	w9, w2, [sp, #64]               ; 8-byte Folded Spill
	cmp	w2, #1
	b.lt	LBB0_56
; %bb.1:
	mov	w25, #0
Lloh3:
	adrp	x9, _NETJET_DMA_RXSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETJET_DMA_RXSIZE@GOTPAGEOFF]
	ldr	x10, [x19, #8]
Lloh5:
	ldrsw	x9, [x9]
	add	x9, x10, x9, lsl #2
	sub	x9, x9, #4
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
Lloh6:
	adrp	x23, _HDLC_ZERO_SEARCH@GOTPAGE
Lloh7:
	ldr	x23, [x23, _HDLC_ZERO_SEARCH@GOTPAGEOFF]
Lloh8:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh9:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	mov	w24, #0
	ldr	w22, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #40]
	add	w8, w8, #1
	str	w8, [x19, #40]
	add	w25, w25, #1
	mov	x8, x28
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w25, w9
	ldr	x1, [sp, #72]                   ; 8-byte Folded Reload
	b.eq	LBB0_57
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x9, [x19, #88]
	ldr	w10, [x1], #4
	asr	w11, w10, #8
	cmp	x9, #0
	csel	w9, w10, w11, eq
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	cmp	x1, x10
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x1, [sp, #72]                   ; 8-byte Folded Spill
	ldr	w10, [sp, #64]                  ; 4-byte Folded Reload
	bics	wzr, w10, w9
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	and	w21, w9, #0xff
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w8, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	lsr	w21, w21, #1
	add	w20, w20, #1
	mov	x8, x28
	cmp	w27, w20
	b.eq	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x23]
	cmp	w22, w9
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	tbnz	w21, #0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w22, [x12]
	ldr	x0, [x19, #72]
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x19, #40]
	stp	x20, x21, [sp, #16]
	stp	x8, x25, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_debugl1
Lloh15:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh16:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	mov	w28, #0
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w10, [x12]
	cmp	w22, w10
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	tbnz	w21, #0, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #6
	b.eq	LBB0_33
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=2
Lloh17:
	adrp	x10, _HDLC_FLAG_FOUND@GOTPAGE
Lloh18:
	ldr	x10, [x10, _HDLC_FLAG_FOUND@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	cmp	w22, w10
	b.ne	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=2
	tbnz	w21, #0, LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	cmp	w8, #5
	b.eq	LBB0_40
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #6
	b.ne	LBB0_38
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x26, x28
	mov	x24, x28
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w8, #1
	cmp	w8, #5
	csel	w22, w9, w22, gt
	b	LBB0_9
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=2
Lloh20:
	adrp	x10, _HDLC_FRAME_FOUND@GOTPAGE
Lloh21:
	ldr	x10, [x10, _HDLC_FRAME_FOUND@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	cmp	w22, w10
	b.ne	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=2
	tbnz	w21, #0, LBB0_36
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #5
	b.eq	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #6
	b.ne	LBB0_44
; %bb.28:                               ;   in Loop: Header=BB0_10 Depth=2
	add	w22, w24, #1
	ldr	x0, [x19, #72]
	tst	w22, #0x7
	b.eq	LBB0_45
; %bb.29:                               ;   in Loop: Header=BB0_10 Depth=2
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_debugl1
Lloh25:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh26:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	mov	w28, #0
	mov	w26, #0
	mov	w24, #0
	ldr	w22, [x12]
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	b	LBB0_52
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w8, #1
	cmp	w8, #5
	b.le	LBB0_37
; %bb.31:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x9
	b	LBB0_9
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x28, x8
	b	LBB0_9
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=2
Lloh27:
	adrp	x8, _HDLC_FLAG_FOUND@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HDLC_FLAG_FOUND@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
	ldr	x0, [x19, #72]
	ldr	w8, [x0]
Lloh30:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh31:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x8, x21
	ldr	w9, [x19, #40]
	mov	x10, x20
	stp	x10, x8, [sp, #16]
	mov	x8, x25
	stp	x9, x8, [sp]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_debugl1
Lloh35:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh36:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
LBB0_35:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	mov	w26, #0
	mov	w24, #0
	b	LBB0_9
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w8, #1
	asr	w10, w26, #1
	orr	w10, w10, #0x80
	cmp	w8, #5
	csel	w22, w9, w22, gt
	csel	w26, w26, w10, gt
	csinc	w24, wzr, w24, gt
	b	LBB0_52
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=2
	asr	w8, w26, #1
	orr	w26, w8, #0x80
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	ubfx	w26, w26, #1, #7
LBB0_39:                                ;   in Loop: Header=BB0_10 Depth=2
	add	w24, w24, #1
LBB0_40:                                ;   in Loop: Header=BB0_10 Depth=2
	tst	w24, #0x7
	b.ne	LBB0_9
; %bb.41:                               ;   in Loop: Header=BB0_10 Depth=2
Lloh37:
	adrp	x8, _HDLC_FRAME_FOUND@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HDLC_FRAME_FOUND@GOTPAGEOFF]
Lloh39:
	ldr	w22, [x8]
Lloh40:
	adrp	x8, _PPP_INITFCS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PPP_INITFCS@GOTPAGEOFF]
Lloh42:
	ldr	x0, [x8]
	str	x0, [x19, #48]
	ldr	x8, [x19, #32]
	str	w26, [x8]
	mov	x1, x26
	bl	_PPP_FCS
	str	x0, [x19, #48]
	ldr	x0, [x19, #72]
	ldr	w8, [x0]
Lloh43:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh44:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x19, #40]
	ldr	w9, [x0, #4]
	mov	x10, x21
	stp	x10, x9, [sp, #32]
	mov	x9, x20
	stp	x9, x26, [sp, #16]
	mov	x9, x25
	stp	x8, x9, [sp]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_debugl1
LBB0_43:                                ;   in Loop: Header=BB0_10 Depth=2
Lloh48:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh49:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	b	LBB0_9
LBB0_44:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	ubfx	w26, w26, #1, #7
	add	w24, w24, #1
	b	LBB0_52
LBB0_45:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x0]
Lloh50:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh51:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #48]
	ldr	w9, [x0, #4]
	stp	x8, x9, [sp, #16]
	mov	x8, x20
	mov	x9, x25
	stp	x9, x8, [sp]
Lloh53:
	adrp	x1, l_.str.4@PAGE
Lloh54:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_debugl1
LBB0_47:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #48]
Lloh55:
	adrp	x9, _PPP_GOODFCS@GOTPAGE
Lloh56:
	ldr	x9, [x9, _PPP_GOODFCS@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x0, [x19, #72]
	ldr	w8, [x0]
	cbz	w8, LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_10 Depth=2
Lloh58:
	adrp	x1, l_.str.5@PAGE
Lloh59:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_debugl1
	ldr	x0, [x19, #72]
	ldr	x1, [x19, #32]
	asr	w8, w22, #3
	sub	w2, w8, #1
Lloh60:
	adrp	x3, l_.str.6@PAGE
Lloh61:
	add	x3, x3, l_.str.6@PAGEOFF
	bl	_printframe
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	b	LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_10 Depth=2
	asr	w8, w22, #3
	sub	w1, w8, #3
	mov	x0, x19
	bl	_got_frame
LBB0_51:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w28, #0
	mov	w26, #0
	mov	w24, #0
Lloh62:
	adrp	x8, _HDLC_FLAG_FOUND@GOTPAGE
Lloh63:
	ldr	x8, [x8, _HDLC_FLAG_FOUND@GOTPAGEOFF]
Lloh64:
	ldr	w22, [x8]
Lloh65:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh66:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
LBB0_52:                                ;   in Loop: Header=BB0_10 Depth=2
Lloh67:
	adrp	x8, _HDLC_FRAME_FOUND@GOTPAGE
Lloh68:
	ldr	x8, [x8, _HDLC_FRAME_FOUND@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	and	w9, w24, #0x7
	cmp	w22, w8
	ccmp	w9, #0, #0, eq
	b.ne	LBB0_9
; %bb.53:                               ;   in Loop: Header=BB0_10 Depth=2
	asr	w8, w24, #3
Lloh70:
	adrp	x9, _HSCX_BUFMAX@GOTPAGE
Lloh71:
	ldr	x9, [x9, _HSCX_BUFMAX@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x19, #32]
	sub	w8, w8, #1
	str	w26, [x9, w8, sxtw #2]
	ldr	x0, [x19, #48]
	mov	x1, x26
	bl	_PPP_FCS
Lloh73:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh74:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	str	x0, [x19, #48]
	b	LBB0_9
LBB0_55:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	x0, [x19, #72]
Lloh75:
	adrp	x1, l_.str.7@PAGE
Lloh76:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_debugl1
Lloh77:
	adrp	x12, _HDLC_FLAG_SEARCH@GOTPAGE
Lloh78:
	ldr	x12, [x12, _HDLC_FLAG_SEARCH@GOTPAGEOFF]
	mov	w26, #0
	ldr	w22, [x12]
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	b	LBB0_9
LBB0_56:
	mov	x28, x8
LBB0_57:
	stp	w22, w28, [x19, #16]
	stp	w26, w24, [x19, #24]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_NETJET_DMA_RXSIZE,4,2          ; @NETJET_DMA_RXSIZE
	.comm	_L1_MODE_HDLC,8,3               ; @L1_MODE_HDLC
	.comm	_HDLC_ZERO_SEARCH,4,2           ; @HDLC_ZERO_SEARCH
	.comm	_HDLC_FLAG_SEARCH,4,2           ; @HDLC_FLAG_SEARCH
	.comm	_L1_DEB_HSCX,4,2                ; @L1_DEB_HSCX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tiger read_raw: zBit(%d,%d,%d) %x"

	.comm	_HDLC_FLAG_FOUND,4,2            ; @HDLC_FLAG_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"tiger read_raw: flag(%d,%d,%d) %x"

	.comm	_HDLC_FRAME_FOUND,4,2           ; @HDLC_FRAME_FOUND
	.comm	_PPP_INITFCS,8,3                ; @PPP_INITFCS
l_.str.2:                               ; @.str.2
	.asciz	"tiger read_raw: byte1(%d,%d,%d) rval %x val %x i %x"

l_.str.3:                               ; @.str.3
	.asciz	"tiger: frame not byte aligned"

l_.str.4:                               ; @.str.4
	.asciz	"tiger frame end(%d,%d): fcs(%x) i %x"

	.comm	_PPP_GOODFCS,8,3                ; @PPP_GOODFCS
l_.str.5:                               ; @.str.5
	.asciz	"tiger FCS error"

l_.str.6:                               ; @.str.6
	.asciz	"rec"

	.comm	_HSCX_BUFMAX,4,2                ; @HSCX_BUFMAX
l_.str.7:                               ; @.str.7
	.asciz	"tiger: frame too big"

	.no_dead_strip	_read_raw
.subsections_via_symbols
