	.file	"extr_yam.c_yam_tx_byte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	yam_tx_byte, @function
yam_tx_byte:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	add	eax, -128
	cmp	eax, 5
	ja	.L21
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdx, .L4[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L1-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 4[rdi]
	call	THR@PLT
	mov	rdx, QWORD PTR chktabh[rip]
	mov	esi, eax
	movsx	rax, DWORD PTR 28[rbx]
	movzx	edi, BYTE PTR [rdx+rax]
	not	edi
	movzx	edi, dil
	call	outb@PLT
	lea	rdi, 48[rbx]
	call	skb_queue_empty@PLT
	test	eax, eax
	je	.L15
	mov	ecx, DWORD PTR 32[rbx]
	mov	edx, DWORD PTR 36[rbx]
	imul	edx, ecx
	movsx	rax, edx
	sar	edx, 31
	imul	rax, rax, 274877907
	sar	rax, 41
	sub	eax, edx
	cmp	DWORD PTR 40[rbx], 2
	mov	DWORD PTR 4[rbx], eax
	jne	.L16
	imul	ecx, DWORD PTR 44[rbx]
	test	ecx, ecx
	lea	edx, 7[rcx]
	cmovs	ecx, edx
	sar	ecx, 3
	add	eax, ecx
	mov	DWORD PTR 4[rbx], eax
.L16:
	test	eax, eax
	jne	.L17
	mov	DWORD PTR 4[rbx], 1
.L17:
	mov	DWORD PTR [rbx], 128
.L18:
	add	DWORD PTR 0[rbp], 1
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	movsx	rsi, DWORD PTR 24[rsi]
	mov	rcx, QWORD PTR chktabl[rip]
	mov	edi, DWORD PTR 4[rdi]
	movzx	eax, BYTE PTR [rcx+rsi]
	xor	eax, DWORD PTR 28[rbx]
	mov	DWORD PTR 28[rbx], eax
	movsx	rdx, eax
	mov	rax, QWORD PTR chktabh[rip]
	movzx	eax, BYTE PTR [rax+rsi]
	xor	al, BYTE PTR [rcx+rdx]
	not	eax
	movzx	eax, al
	mov	DWORD PTR 24[rbx], eax
	call	THR@PLT
	movzx	edi, BYTE PTR 24[rbx]
	mov	esi, eax
	call	outb@PLT
	mov	DWORD PTR [rbx], 132
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rsi]
	sub	eax, 1
	mov	DWORD PTR 4[rsi], eax
	test	eax, eax
	jg	.L1
	mov	DWORD PTR [rsi], 129
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	ptt_off@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rsi]
	sub	eax, 1
	mov	DWORD PTR 4[rsi], eax
	test	eax, eax
	jg	.L1
	lea	rdi, 48[rsi]
	call	skb_dequeue@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L25
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR [rbx], 131
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L19
	mov	eax, DWORD PTR [rdi]
	lea	ecx, -1[rax]
	cmp	ecx, DWORD PTR YAM_MAX_FRAME[rip]
	mov	DWORD PTR 8[rbx], ecx
	jge	.L19
	cmp	ecx, 1
	jg	.L12
.L19:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	dev_kfree_skb_any@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movsx	rax, DWORD PTR 4[rsi]
	mov	rdx, QWORD PTR 16[rsi]
	mov	edi, DWORD PTR 4[rdi]
	lea	ecx, 1[rax]
	mov	DWORD PTR 4[rsi], ecx
	movzx	r12d, BYTE PTR [rdx+rax]
	call	THR@PLT
	movzx	edi, r12b
	mov	esi, eax
	call	outb@PLT
	movzx	edx, BYTE PTR 24[rbx]
	mov	rax, QWORD PTR chktabl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	xor	eax, DWORD PTR 28[rbx]
	mov	DWORD PTR 24[rbx], eax
	mov	rax, QWORD PTR chktabh[rip]
	xor	r12b, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR 8[rbx]
	movzx	r12d, r12b
	mov	DWORD PTR 28[rbx], r12d
	cmp	DWORD PTR 4[rbx], eax
	jl	.L1
	mov	DWORD PTR [rbx], 133
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	movabs	rax, 4294967426
	mov	QWORD PTR [rbx], rax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
.L25:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdi, rbp
	call	ptt_off@PLT
	mov	DWORD PTR [rbx], 129
	jmp	.L1
.L12:
	mov	rdx, QWORD PTR 16[rbx]
	mov	esi, 1
	mov	QWORD PTR 8[rsp], rdi
	call	skb_copy_from_linear_data_offset@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	dev_kfree_skb_any@PLT
	mov	QWORD PTR [rbx], 131
	movabs	rax, 1043677052961
	mov	QWORD PTR 24[rbx], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	yam_tx_byte, .-yam_tx_byte
	.comm	chktabl,8,8
	.comm	chktabh,8,8
	.comm	YAM_MAX_FRAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_yam.c_yam_tx_byte.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	yam_tx_byte, %function
yam_tx_byte:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, lr}
	sub	r3, r3, #128
	mov	r4, r1
	mov	r5, r0
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L8
	.word	.L1
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L1:
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r3, .L22
	ldr	r2, [r1, #16]
	ldr	r1, [r3]
	ldr	ip, [r4, #20]
	ldrb	r3, [r1, r2]	@ zero_extendqisi2
	ldr	r0, .L22+4
	eor	r3, r3, ip
	ldr	r0, [r0]
	str	r3, [r4, #20]
	ldrb	r1, [r1, r3]	@ zero_extendqisi2
	ldrb	r3, [r0, r2]	@ zero_extendqisi2
	ldr	r0, [r5, #4]
	eor	r5, r3, r1
	mvn	r5, r5
	and	r5, r5, #255
	str	r5, [r4, #16]
	bl	THR
	mov	r1, r0
	mov	r0, r5
	bl	outb
	mov	r3, #132
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, [r1, #4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r1, #4]
	popgt	{r4, r5, r6, r7, r8, pc}
	mov	r3, #129
	pop	{r4, r5, r6, r7, r8, lr}
	str	r3, [r1]
	b	ptt_off
.L7:
	ldr	r3, [r1, #4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r1, #4]
	popgt	{r4, r5, r6, r7, r8, pc}
	add	r0, r1, #40
	bl	skb_dequeue
	subs	r6, r0, #0
	beq	.L21
	mov	r7, #131
	ldr	r3, [r6, #4]
	str	r7, [r4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [r6]
	ldr	r2, .L22+8
	sub	r3, r3, #1
	cmp	r3, #1
	movgt	r5, #0
	movle	r5, #1
	ldr	r2, [r2]
	str	r3, [r4, #8]
	cmp	r3, r2
	orrge	r5, r5, #1
	cmp	r5, #0
	beq	.L12
.L19:
	pop	{r4, r5, r6, r7, r8, lr}
	b	dev_kfree_skb_any
.L6:
	ldr	r3, [r1, #4]
	ldr	r2, [r1, #12]
	add	r1, r3, #1
	str	r1, [r4, #4]
	ldr	r0, [r0, #4]
	ldrb	r5, [r2, r3]	@ zero_extendqisi2
	bl	THR
	mov	r1, r0
	mov	r0, r5
	bl	outb
	ldr	r3, .L22
	ldrb	r2, [r4, #16]	@ zero_extendqisi2
	ldr	r3, [r3]
	ldr	r0, [r4, #20]
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	ldr	r1, .L22+4
	eor	r3, r3, r0
	ldr	r1, [r1]
	str	r3, [r4, #16]
	ldrb	r1, [r1, r2]	@ zero_extendqisi2
	ldmib	r4, {r2, r3}
	eor	r5, r5, r1
	cmp	r2, r3
	str	r5, [r4, #20]
	movge	r3, #133
	strge	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r2, .L22+4
	ldr	r3, [r1, #20]
	ldr	r2, [r2]
	ldr	r0, [r0, #4]
	ldrb	r6, [r2, r3]	@ zero_extendqisi2
	bl	THR
	mvn	r6, r6
	and	r6, r6, #255
	mov	r1, r0
	mov	r0, r6
	bl	outb
	add	r0, r4, #40
	bl	skb_queue_empty
	cmp	r0, #0
	beq	.L14
	ldr	r1, [r4, #24]
	ldr	r2, [r4, #28]
	ldr	r3, .L22+12
	mul	r2, r1, r2
	smull	ip, r0, r3, r2
	ldr	ip, [r4, #32]
	asr	r3, r2, #31
	rsb	r3, r3, r0, asr #9
	cmp	ip, #2
	str	r3, [r4, #4]
	bne	.L15
	ldr	r2, [r4, #36]
	mul	r1, r2, r1
	add	r2, r1, #7
	cmp	r1, #0
	movlt	r1, r2
	add	r3, r3, r1, asr #3
	str	r3, [r4, #4]
.L15:
	cmp	r3, #0
	moveq	r3, #1
	streq	r3, [r4, #4]
	mov	r3, #128
	str	r3, [r4]
.L17:
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r2, #130
	mov	r3, #1
	stm	r4, {r2, r3}
	b	.L17
.L21:
	mov	r0, r5
	bl	ptt_off
	mov	r3, #129
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r2, [r4, #12]
	mov	r1, #1
	bl	skb_copy_from_linear_data_offset
	mov	r0, r6
	bl	dev_kfree_skb_any
	mov	r2, #33
	mov	r3, #243
	str	r5, [r4, #4]
	str	r7, [r4]
	str	r2, [r4, #16]
	str	r3, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	.align	2
.L22:
	.word	chktabl
	.word	chktabh
	.word	YAM_MAX_FRAME
	.word	274877907
	.size	yam_tx_byte, .-yam_tx_byte
	.comm	chktabl,4,4
	.comm	chktabh,4,4
	.comm	YAM_MAX_FRAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
