	.file	"extr_lapb_out.c_lapb_send_iframe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(%p) S%d TX I(%d) S%d R%d\n"
	.text
	.p2align 4
	.type	lapb_send_iframe, @function
lapb_send_iframe:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L1
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	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	ebx, edx
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR LAPB_EXTENDED[rip], eax
	jne	.L15
	mov	esi, 1
	mov	rdi, r12
	call	skb_push@PLT
	movzx	ecx, BYTE PTR LAPB_I[rip]
	mov	BYTE PTR [rax], cl
	mov	edx, ecx
	test	ebx, ebx
	je	.L6
	or	cl, BYTE PTR LAPB_SPF[rip]
	mov	edx, ecx
.L6:
	mov	BYTE PTR [rax], cl
	mov	ecx, DWORD PTR 8[rbp]
	sal	ecx, 5
	or	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	esi, DWORD PTR 4[rbp]
	lea	ecx, [rsi+rsi]
	or	edx, ecx
	mov	BYTE PTR [rax], dl
.L5:
	mov	eax, DWORD PTR 8[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR 16[rbp]
	mov	r8d, ebx
	mov	ecx, DWORD PTR 12[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, 1
	push	rax
	.cfi_def_cfa_offset 48
	mov	r9d, DWORD PTR 4[rbp]
	call	lapb_dbg@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	mov	rsi, r12
	mov	edx, DWORD PTR LAPB_COMMAND[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	lapb_transmit_buffer@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, 2
	mov	rdi, r12
	call	skb_push@PLT
	movzx	edx, BYTE PTR LAPB_I[rip]
	mov	BYTE PTR [rax], dl
	mov	esi, DWORD PTR 4[rbp]
	lea	ecx, [rsi+rsi]
	or	edx, ecx
	mov	BYTE PTR [rax], dl
	test	ebx, ebx
	je	.L7
	movzx	edx, BYTE PTR LAPB_EPF[rip]
	mov	ecx, edx
.L4:
	mov	BYTE PTR 1[rax], dl
	mov	edi, DWORD PTR 8[rbp]
	lea	edx, [rdi+rdi]
	or	edx, ecx
	mov	BYTE PTR 1[rax], dl
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	xor	ecx, ecx
	xor	edx, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	lapb_send_iframe, .-lapb_send_iframe
	.comm	LAPB_SPF,1,1
	.comm	LAPB_I,1,1
	.comm	LAPB_EXTENDED,4,4
	.comm	LAPB_EPF,1,1
	.comm	LAPB_COMMAND,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_lapb_out.c_lapb_send_iframe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(%p) S%d TX I(%d) S%d R%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lapb_send_iframe, %function
lapb_send_iframe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r6, r1, #0
	sub	sp, sp, #16
	beq	.L1
	ldr	r3, .L14
	mov	r5, r2
	ldr	r3, [r3]
	ldr	r2, [r0]
	mov	r4, r0
	tst	r2, r3
	bne	.L13
	mov	r1, #1
	mov	r0, r6
	bl	skb_push
	ldr	r3, .L14+4
	cmp	r5, #0
	ldrb	r2, [r3]	@ zero_extendqisi2
	lsl	r3, r2, #24
	strb	r2, [r0]
	asr	r3, r3, #24
	beq	.L6
	ldr	r2, .L14+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r2, r3, r2
	lsl	r3, r2, #24
	asr	r3, r3, #24
	and	r2, r2, #255
.L6:
	strb	r2, [r0]
	ldr	r2, [r4, #8]
	orr	r3, r3, r2, lsl #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [r0]
	ldr	r2, [r4, #4]
	orr	r3, r3, r2, lsl #1
	strb	r3, [r0]
.L5:
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	str	r5, [sp]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r4, #12]
	ldr	r2, [r4, #16]
	ldr	r1, .L14+12
	mov	r0, #1
	bl	lapb_dbg
	mov	r1, r6
	mov	r0, r4
	ldr	r3, .L14+16
	ldr	r2, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	lapb_transmit_buffer
.L13:
	mov	r1, #2
	mov	r0, r6
	bl	skb_push
	ldr	r3, .L14+4
	cmp	r5, #0
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r0]
	ldr	r2, [r4, #4]
	orr	r3, r3, r2, lsl #1
	moveq	r2, r5
	strb	r3, [r0]
	moveq	r3, r5
	ldrne	r3, .L14+20
	ldrbne	r2, [r3]	@ zero_extendqisi2
	strb	r2, [r0, #1]
	lslne	r3, r2, #24
	ldr	r2, [r4, #8]
	asrne	r3, r3, #24
	orr	r3, r3, r2, lsl #1
	strb	r3, [r0, #1]
	b	.L5
.L1:
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	LAPB_EXTENDED
	.word	LAPB_I
	.word	LAPB_SPF
	.word	.LC0
	.word	LAPB_COMMAND
	.word	LAPB_EPF
	.size	lapb_send_iframe, .-lapb_send_iframe
	.comm	LAPB_SPF,1,1
	.comm	LAPB_I,1,1
	.comm	LAPB_EXTENDED,4,4
	.comm	LAPB_EPF,1,1
	.comm	LAPB_COMMAND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
