	.file	"extr_lapb_in.c_lapb_state4_machine.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(%p) S4 RX SABM(%d)\n"
.LC1:
	.string	"(%p) S4 TX DM(%d)\n"
.LC2:
	.string	"(%p) S4 TX UA(%d)\n"
.LC3:
	.string	"(%p) S4 -> S3\n"
.LC4:
	.string	"(%p) S4 RX SABME(%d)\n"
	.text
	.p2align 4
	.type	lapb_state4_machine, @function
lapb_state4_machine:
.LFB0:
	.cfi_startproc
	endbr64
	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	eax, DWORD PTR [rdx]
	mov	rbx, rdx
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L3
	mov	ecx, DWORD PTR 4[rdx]
	mov	edx, DWORD PTR 8[rdi]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	mov	edi, 1
	call	lapb_dbg@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbp]
	test	DWORD PTR LAPB_EXTENDED[rip], eax
	je	.L7
.L5:
	lea	rsi, .LC1[rip]
	mov	edi, 1
	xor	eax, eax
	call	lapb_dbg@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR LAPB_RESPONSE[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR LAPB_DM[rip]
	call	lapb_send_control@PLT
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree_skb@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rdx]
	mov	edx, DWORD PTR 8[rdi]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	mov	edi, 1
	call	lapb_dbg@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbp]
	test	DWORD PTR LAPB_EXTENDED[rip], eax
	je	.L5
.L7:
	lea	rsi, .LC2[rip]
	mov	edi, 1
	xor	eax, eax
	call	lapb_dbg@PLT
	mov	edx, DWORD PTR 8[rbp]
	xor	edi, edi
	xor	eax, eax
	lea	rsi, .LC3[rip]
	call	lapb_dbg@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR LAPB_RESPONSE[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR LAPB_UA[rip]
	call	lapb_send_control@PLT
	mov	rdi, rbp
	call	lapb_stop_t1timer@PLT
	mov	rdi, rbp
	call	lapb_stop_t2timer@PLT
	mov	rax, QWORD PTR LAPB_STATE_3[rip]
	mov	rdi, rbp
	mov	DWORD PTR 4[rbp], 0
	mov	QWORD PTR 12[rbp], 0
	mov	esi, DWORD PTR LAPB_OK[rip]
	mov	QWORD PTR 32[rbp], rax
	mov	QWORD PTR 20[rbp], 0
	call	lapb_connect_indication@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree_skb@PLT
	.cfi_endproc
.LFE0:
	.size	lapb_state4_machine, .-lapb_state4_machine
	.comm	LAPB_UA,4,4
	.comm	LAPB_STATE_3,8,8
	.comm	LAPB_RESPONSE,4,4
	.comm	LAPB_OK,4,4
	.comm	LAPB_EXTENDED,4,4
	.comm	LAPB_DM,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_in.c_lapb_state4_machine.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(%p) S4 RX SABM(%d)\012\000"
	.align	2
.LC1:
	.ascii	"(%p) S4 TX DM(%d)\012\000"
	.align	2
.LC2:
	.ascii	"(%p) S4 TX UA(%d)\012\000"
	.align	2
.LC3:
	.ascii	"(%p) S4 -> S3\012\000"
	.align	2
.LC4:
	.ascii	"(%p) S4 RX SABME(%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lapb_state4_machine, %function
lapb_state4_machine:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #128
	mov	r7, r2
	mov	r4, r0
	mov	r6, r1
	beq	.L2
	cmp	r3, #129
	bne	.L3
	ldr	r3, [r2, #4]
	ldr	r1, .L8
	ldr	r2, [r0, #8]
	mov	r0, #1
	bl	lapb_dbg
	ldr	r3, .L8+4
	ldr	r5, [r4]
	ldr	r3, [r3]
	ldr	r2, [r4, #8]
	ands	r5, r5, r3
	ldr	r3, [r7, #4]
	beq	.L4
.L5:
	ldr	r1, .L8+8
	mov	r0, #1
	bl	lapb_dbg
	ldr	r3, .L8+12
	ldr	r1, .L8+16
	mov	r0, r4
	ldr	r2, [r7, #4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	bl	lapb_send_control
.L3:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree_skb
.L2:
	ldr	r3, [r2, #4]
	ldr	r1, .L8+20
	ldr	r2, [r0, #8]
	mov	r0, #1
	bl	lapb_dbg
	ldr	r3, .L8+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	ldr	r3, [r7, #4]
	ldr	r2, [r4, #8]
	beq	.L5
	ldr	r1, .L8+24
	mov	r0, #1
	bl	lapb_dbg
	ldr	r2, [r4, #8]
	ldr	r1, .L8+28
	mov	r0, #0
	bl	lapb_dbg
	ldr	r3, .L8+12
	ldr	r1, .L8+32
	ldr	r2, [r7, #4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r4
	bl	lapb_send_control
	mov	r0, r4
	bl	lapb_stop_t1timer
	mov	r0, r4
	bl	lapb_stop_t2timer
	mov	r3, #0
	ldr	r1, .L8+36
	ldr	r2, .L8+40
	ldr	r1, [r1]
	mov	r0, r4
	str	r1, [r4, #28]
	str	r3, [r4, #4]
	str	r3, [r4, #24]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	ldr	r1, [r2]
	bl	lapb_connect_indication
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree_skb
.L4:
	ldr	r1, .L8+24
	mov	r0, #1
	bl	lapb_dbg
	ldr	r2, [r4, #8]
	mov	r0, r5
	ldr	r1, .L8+28
	bl	lapb_dbg
	ldr	r3, .L8+12
	ldr	r1, .L8+32
	ldr	r2, [r7, #4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r4
	bl	lapb_send_control
	mov	r0, r4
	bl	lapb_stop_t1timer
	mov	r0, r4
	bl	lapb_stop_t2timer
	ldr	r2, .L8+36
	ldr	r3, .L8+40
	ldr	r2, [r2]
	mov	r0, r4
	str	r5, [r4, #4]
	str	r5, [r4, #24]
	str	r5, [r4, #20]
	str	r5, [r4, #16]
	str	r5, [r4, #12]
	str	r2, [r4, #28]
	ldr	r1, [r3]
	bl	lapb_connect_indication
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree_skb
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	LAPB_EXTENDED
	.word	.LC1
	.word	LAPB_RESPONSE
	.word	LAPB_DM
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	LAPB_UA
	.word	LAPB_STATE_3
	.word	LAPB_OK
	.size	lapb_state4_machine, .-lapb_state4_machine
	.comm	LAPB_UA,4,4
	.comm	LAPB_STATE_3,4,4
	.comm	LAPB_RESPONSE,4,4
	.comm	LAPB_OK,4,4
	.comm	LAPB_EXTENDED,4,4
	.comm	LAPB_DM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
