	.file	"extr_cbcp.c_cbcp_Timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ACK"
.LC1:
	.string	"RESPONSE"
.LC2:
	.string	"REQ"
.LC3:
	.string	"Terminate REQ"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"%s: Urk - unexpected CBCP timeout !\n"
	.align 8
.LC5:
	.string	"%s: Timeout waiting for peer %s\n"
	.text
	.p2align 4
	.type	cbcp_Timeout, @function
cbcp_Timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	add	rdi, 24
	call	timer_Stop@PLT
	cmp	QWORD PTR 16[rbp], 0
	mov	eax, DWORD PTR 8[rbp]
	je	.L2
	add	eax, -128
	cmp	eax, 4
	ja	.L1
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L6-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR LogCBCP[rip]
	mov	rdx, QWORD PTR [rdx]
	mov	edx, DWORD PTR [rdx]
	cmp	eax, 130
	je	.L13
	jg	.L10
	cmp	eax, 128
	je	.L14
	cmp	eax, 129
	jne	.L11
	lea	rcx, .LC0[rip]
.L9:
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	log_Printf@PLT
	mov	rax, QWORD PTR 0[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	rdi, QWORD PTR [rax]
	jmp	datalink_CBCPFailed@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rcx, .LC3[rip]
	cmp	eax, 132
	je	.L9
.L11:
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	log_Printf@PLT
	mov	rax, QWORD PTR 0[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	rdi, QWORD PTR [rax]
	jmp	datalink_CBCPFailed@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rcx, .LC2[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 0[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, DWORD PTR LogCBCP[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	xor	eax, eax
	jmp	log_Printf@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	cbcp_SendAck@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rcx, .LC1[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	cbcp_SendResponse@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	cbcp_SendReq@PLT
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cbcp_Timeout, .-cbcp_Timeout
	.comm	LogCBCP,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_cbcp.c_cbcp_Timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Terminate REQ\000"
	.align	2
.LC1:
	.ascii	"REQ\000"
	.align	2
.LC2:
	.ascii	"ACK\000"
	.align	2
.LC3:
	.ascii	"RESPONSE\000"
	.align	2
.LC4:
	.ascii	"%s: Urk - unexpected CBCP timeout !\012\000"
	.align	2
.LC5:
	.ascii	"%s: Timeout waiting for peer %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cbcp_Timeout, %function
cbcp_Timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	add	r0, r0, #12
	bl	timer_Stop
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [r4, #4]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L5:
	.word	.L6
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L2:
	ldm	r4, {r2, r3}
	ldr	r1, .L19
	ldr	r2, [r2]
	sub	r3, r3, #128
	ldr	r2, [r2]
	ldr	r0, [r1]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L14
	.word	.L16
	.word	.L12
	.word	.L9
	.word	.L10
.L6:
	ldr	r3, [r4]
	ldr	r2, .L19
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r1, .L19+4
	ldr	r2, [r3]
	pop	{r4, lr}
	b	log_Printf
.L16:
	ldr	r3, .L19+8
.L13:
	ldr	r1, .L19+12
	bl	log_Printf
	ldr	r3, [r4]
	pop	{r4, lr}
	ldr	r0, [r3]
	b	datalink_CBCPFailed
.L14:
	ldr	r3, .L19+16
	b	.L13
.L12:
	ldr	r3, .L19+20
	b	.L13
.L10:
	ldr	r3, .L19+24
	b	.L13
.L8:
	mov	r0, r4
	pop	{r4, lr}
	b	cbcp_SendResponse
.L7:
	mov	r0, r4
	pop	{r4, lr}
	b	cbcp_SendReq
.L4:
	mov	r0, r4
	pop	{r4, lr}
	b	cbcp_SendAck
.L9:
	ldr	r1, .L19+4
	bl	log_Printf
	ldr	r3, [r4]
	pop	{r4, lr}
	ldr	r0, [r3]
	b	datalink_CBCPFailed
.L1:
	pop	{r4, pc}
.L20:
	.align	2
.L19:
	.word	LogCBCP
	.word	.LC4
	.word	.LC2
	.word	.LC5
	.word	.LC1
	.word	.LC3
	.word	.LC0
	.size	cbcp_Timeout, .-cbcp_Timeout
	.comm	LogCBCP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
