	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdlcdrv_transmitter            ## -- Begin function hdlcdrv_transmitter
	.p2align	4, 0x90
_hdlcdrv_transmitter:                   ## @hdlcdrv_transmitter
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_HDLCDRV_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
## %bb.2:
	movq	%rdi, %r15
	leaq	48(%rbx), %rsi
	xorl	%edi, %edi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
LBB0_37:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	52(%rbx), %r12
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	decl	%edx
	movl	$32382, %esi                    ## imm = 0x7E7E
	movl	%eax, %ecx
	shll	%cl, %esi
	movl	%edx, 20(%rbx)
	orl	%esi, 12(%rbx)
	addl	$16, %eax
	movl	%eax, 8(%rbx)
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %eax
	cmpl	$16, %eax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_hdlcdrv_hbuf_full
	testq	%rax, %rax
	jne	LBB0_36
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%rbx), %esi
	movq	%r12, %rdi
	callq	_hdlcdrv_hbuf_put
	movswl	14(%rbx), %eax
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %eax
	addl	$-16, %eax
	movl	%eax, 8(%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%rbx), %ecx
	cmpl	$2, %ecx
	jae	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	20(%rbx), %edx
	testl	%edx, %edx
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %ecx
	je	LBB0_36
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, 56(%rbx)
	movq	%r15, %rdi
	callq	_netif_wake_queue
	movl	(%r13), %r14d
	cmpl	$3, %r14d
	jl	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_HDLCDRV_MAXFLEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jg	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	-1(%r14), %r15d
	movq	24(%rbx), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	%r15d, %ecx
	callq	_skb_copy_from_linear_data_offset
	movq	%r13, %rdi
	callq	_dev_kfree_skb_irq
	movq	24(%rbx), %rdi
	movq	%rdi, 32(%rbx)
	movl	%r15d, %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	callq	_append_crc_ccitt
	incl	%r14d
	movl	%r14d, 40(%rbx)
	movl	$2, 16(%rbx)
	movl	$0, 44(%rbx)
	incl	(%r15)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	jne	LBB0_36
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	40(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	decl	%ecx
	movl	%ecx, 40(%rbx)
	movq	32(%rbx), %rdx
	movl	(%rdx), %r8d
	movl	%eax, %ecx
	shll	%cl, %r8d
	orl	12(%rbx), %r8d
	movl	%r8d, 12(%rbx)
	movl	44(%rbx), %ecx
	sarl	$8, %ecx
	movl	%ecx, 44(%rbx)
	leaq	4(%rdx), %rdi
	movq	%rdi, 32(%rbx)
	movl	(%rdx), %esi
	shll	$16, %esi
	orl	%ecx, %esi
	movl	%esi, 44(%rbx)
	movb	$31, %cl
	subb	%al, %cl
	movl	$-1, %edi
	shrl	%cl, %edi
	leal	8(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	%esi, %edx
	notl	%edx
	testl	$126976, %edx                   ## imm = 0x1F000
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	andl	$-65537, %esi                   ## imm = 0xFFFEFFFF
	movl	%esi, 44(%rbx)
	movl	%edi, %edx
	notl	%edx
	andl	%r8d, %edx
	andl	%edi, %r8d
	addl	%edx, %edx
	orl	%r8d, %edx
	movl	%edx, 12(%rbx)
	addl	$9, %eax
	movl	%eax, 8(%rbx)
	addl	%edi, %edi
	incl	%edi
	movl	%eax, %ecx
	movl	%edx, %r8d
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rdi,%rdi), %eax
	incl	%eax
	movl	%esi, %edx
	notl	%edx
	testl	$253952, %edx                   ## imm = 0x3E000
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%edi, %edi
	andl	$-131073, %esi                  ## imm = 0xFFFDFFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %edi               ## imm = 0x7FFFFFFE
	andl	%r8d, %edi
	andl	%eax, %r8d
	addl	%edi, %edi
	orl	%r8d, %edi
	movl	%edi, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%eax, %eax
	incl	%eax
	movl	%edi, %r8d
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rax,%rax), %edi
	incl	%edi
	movl	%esi, %edx
	notl	%edx
	testl	$507904, %edx                   ## imm = 0x7C000
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %eax
	andl	$-262145, %esi                  ## imm = 0xFFFBFFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	andl	%r8d, %eax
	andl	%edi, %r8d
	addl	%eax, %eax
	orl	%r8d, %eax
	movl	%eax, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%edi, %edi
	incl	%edi
	movl	%eax, %r8d
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rdi,%rdi), %eax
	incl	%eax
	movl	%esi, %edx
	notl	%edx
	testl	$1015808, %edx                  ## imm = 0xF8000
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%edi, %edi
	andl	$-524289, %esi                  ## imm = 0xFFF7FFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %edi               ## imm = 0x7FFFFFFE
	andl	%r8d, %edi
	andl	%eax, %r8d
	addl	%edi, %edi
	orl	%r8d, %edi
	movl	%edi, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%eax, %eax
	incl	%eax
	movl	%edi, %r8d
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rax,%rax), %edi
	incl	%edi
	movl	%esi, %edx
	notl	%edx
	testl	$2031616, %edx                  ## imm = 0x1F0000
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %eax
	andl	$-1048577, %esi                 ## imm = 0xFFEFFFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	andl	%r8d, %eax
	andl	%edi, %r8d
	addl	%eax, %eax
	orl	%r8d, %eax
	movl	%eax, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%edi, %edi
	incl	%edi
	movl	%eax, %r8d
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rdi,%rdi), %eax
	incl	%eax
	movl	%esi, %edx
	notl	%edx
	testl	$4063232, %edx                  ## imm = 0x3E0000
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%edi, %edi
	andl	$-2097153, %esi                 ## imm = 0xFFDFFFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %edi               ## imm = 0x7FFFFFFE
	andl	%r8d, %edi
	andl	%eax, %r8d
	addl	%edi, %edi
	orl	%r8d, %edi
	movl	%edi, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%eax, %eax
	incl	%eax
	movl	%edi, %r8d
LBB0_32:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rax,%rax), %edi
	incl	%edi
	movl	%esi, %edx
	notl	%edx
	testl	$8126464, %edx                  ## imm = 0x7C0000
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %eax
	andl	$-4194305, %esi                 ## imm = 0xFFBFFFFF
	movl	%esi, 44(%rbx)
	xorl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	andl	%r8d, %eax
	andl	%edi, %r8d
	addl	%eax, %eax
	orl	%r8d, %eax
	movl	%eax, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	addl	%edi, %edi
	incl	%edi
	movl	%eax, %r8d
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %eax
	notl	%eax
	testl	$16252928, %eax                 ## imm = 0xF80000
	jne	LBB0_4
## %bb.35:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %eax
	addl	%edi, %eax
	leal	(%rdi,%rdi), %edx
	incl	%edx
	andl	$-8388609, %esi                 ## imm = 0xFF7FFFFF
	movl	%esi, 44(%rbx)
	andl	%r8d, %edx
	xorl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	andl	%r8d, %eax
	addl	%eax, %eax
	orl	%edx, %eax
	movl	%eax, 12(%rbx)
	incl	%ecx
	movl	%ecx, 8(%rbx)
	jmp	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, 16(%rbx)
	jmp	LBB0_4
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	64(%rbx), %esi
	movq	%rbx, %rdi
	callq	_tenms_to_2flags
	cmpl	$3, %eax
	movl	$2, %ecx
	cmovll	%ecx, %eax
	movl	$1, 16(%rbx)
	movl	%eax, 20(%rbx)
	jmp	LBB0_4
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, 16(%rbx)
	movq	%r13, %rdi
	callq	_dev_kfree_skb_irq
	jmp	LBB0_4
LBB0_36:
	xorl	%edi, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDLCDRV_MAGIC,8,3              ## @HDLCDRV_MAGIC
	.comm	_HDLCDRV_MAXFLEN,4,2            ## @HDLCDRV_MAXFLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hdlcdrv_transmitter
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hdlcdrv_transmitter
	.p2align	2
_hdlcdrv_transmitter:                   ; @hdlcdrv_transmitter
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _HDLCDRV_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDLCDRV_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x20, x0
	add	x21, x19, #48
	mov	w0, #0
	mov	x1, x21
	bl	_test_and_set_bit
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x22, x19, #52
	mvni.2s	v8, #15
	mov	w25, #2
Lloh3:
	adrp	x24, _HDLCDRV_MAXFLEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HDLCDRV_MAXFLEN@GOTPAGEOFF]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d9, [x8, lCPI0_0@PAGEOFF]
	mov	w28, #32382
	mov	w26, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	d9, [x19, #16]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x19, #8]
	cmp	w11, #16
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_hdlcdrv_hbuf_full
	cbnz	x0, LBB0_37
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x22
	bl	_hdlcdrv_hbuf_put
	ldr	d0, [x19, #8]
	add.2s	v1, v0, v8
	sshr.2s	v0, v0, #16
	fmov	w11, s1
	mov.s	v1[1], v0[1]
	str	d1, [x19, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.hs	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19, #20]
	cbz	w9, LBB0_31
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w9, #1
	str	w8, [x19, #20]
	lsl	w8, w28, w11
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	add	w9, w11, #16
	b	LBB0_30
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	b.ne	LBB0_37
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, #1
	str	w8, [x19, #40]
	ldr	x9, [x19, #32]
	ldr	w8, [x9]
	lsl	w8, w8, w11
	ldr	w10, [x19, #12]
	orr	w8, w10, w8
	str	w8, [x19, #12]
	ldr	w10, [x19, #44]
	asr	w10, w10, #8
	str	w10, [x19, #44]
	ldr	w12, [x9], #4
	str	x9, [x19, #32]
	orr	w9, w10, w12, lsl #16
	mvn	w13, w9
	str	w9, [x19, #44]
	mvn	w10, w11
	lsr	w12, w26, w10
	add	w10, w11, #8
	str	w10, [x19, #8]
	tst	w13, #0x1f000
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	and	w9, w9, #0xfffeffff
	str	w9, [x19, #44]
	and	w10, w8, w12
	bic	w8, w8, w12
	orr	w8, w10, w8, lsl #1
	add	w10, w11, #9
	stp	w10, w8, [x19, #8]
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mov	x12, x11
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mvn	w13, w9
	tst	w13, #0x3e000
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w12, w12, #1
	and	w9, w9, #0xfffdffff
	str	w9, [x19, #44]
	and	w13, w8, w11
	eor	w12, w12, #0x7ffffffe
	and	w8, w8, w12
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mov	x11, x12
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mvn	w13, w9
	tst	w13, #0x7c000
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w11, w11, #1
	and	w9, w9, #0xfffbffff
	str	w9, [x19, #44]
	and	w13, w8, w12
	eor	w11, w11, #0x7ffffffe
	and	w8, w8, w11
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mov	x12, x11
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mvn	w13, w9
	tst	w13, #0xf8000
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w12, w12, #1
	and	w9, w9, #0xfff7ffff
	str	w9, [x19, #44]
	and	w13, w8, w11
	eor	w12, w12, #0x7ffffffe
	and	w8, w8, w12
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mov	x11, x12
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mvn	w13, w9
	tst	w13, #0x1f0000
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w11, w11, #1
	and	w9, w9, #0xffefffff
	str	w9, [x19, #44]
	and	w13, w8, w12
	eor	w11, w11, #0x7ffffffe
	and	w8, w8, w11
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mov	x12, x11
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mvn	w13, w9
	tst	w13, #0x3e0000
	b.ne	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w12, w12, #1
	and	w9, w9, #0xffdfffff
	str	w9, [x19, #44]
	and	w13, w8, w11
	eor	w12, w12, #0x7ffffffe
	and	w8, w8, w12
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mov	x11, x12
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w12, #1
	bfi	w12, w11, #1, #31
	mvn	w13, w9
	tst	w13, #0x7c0000
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w11, w11, #1
	and	w9, w9, #0xffbfffff
	str	w9, [x19, #44]
	and	w13, w8, w12
	eor	w11, w11, #0x7ffffffe
	and	w8, w8, w11
	orr	w8, w13, w8, lsl #1
	add	w10, w10, #1
	stp	w10, w8, [x19, #8]
	mov	w11, #1
	bfi	w11, w12, #1, #31
	mov	x12, x11
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	mvn	w11, w9
	tst	w11, #0xf80000
	b.ne	LBB0_6
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w11, w12, #1
	mov	w13, #1
	bfi	w13, w12, #1, #31
	and	w9, w9, #0xff7fffff
	str	w9, [x19, #44]
	and	w9, w8, w13
	eor	w11, w11, #0x7ffffffe
	and	w8, w8, w11
	orr	w8, w9, w8, lsl #1
	add	w9, w10, #1
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	stp	w9, w8, [x19, #8]
	b	LBB0_6
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #1
	b.eq	LBB0_37
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x19, #56]
	cbz	x23, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x19, #56]
	mov	x0, x20
	bl	_netif_wake_queue
	ldr	w27, [x23]
	ldr	w8, [x24]
	cmp	w27, #3
	ccmp	w27, w8, #0, ge
	b.le	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_6 Depth=1
	str	d9, [x19, #16]
	mov	x0, x23
	bl	_dev_kfree_skb_irq
	b	LBB0_6
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x19, #64]
	mov	x0, x19
	bl	_tenms_to_2flags
	cmp	w0, #2
	csel	w8, w0, w25, gt
	mov	w9, #1
	stp	w9, w8, [x19, #16]
	b	LBB0_6
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x24
	sub	w24, w27, #1
	ldr	x2, [x19, #24]
	mov	x0, x23
	mov	w1, #1
	mov	x3, x24
	bl	_skb_copy_from_linear_data_offset
	mov	x0, x23
	bl	_dev_kfree_skb_irq
	ldr	x0, [x19, #24]
	str	x0, [x19, #32]
	mov	x1, x24
	mov	x24, x25
	mov	w25, #2
	bl	_append_crc_ccitt
	add	w8, w27, #1
	str	w25, [x19, #16]
	stp	w8, wzr, [x19, #40]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_6
LBB0_37:
	mov	w0, #0
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HDLCDRV_MAGIC,8,3              ; @HDLCDRV_MAGIC
	.comm	_HDLCDRV_MAXFLEN,4,2            ; @HDLCDRV_MAXFLEN
.subsections_via_symbols
