	.file	"extr_TCP_connection.c_tcp_response_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_response_callback, @function
tcp_response_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13d, DWORD PTR [rdi]
	mov	r14, QWORD PTR 8[rdi]
	mov	esi, r13d
	mov	rdi, r14
	call	get_tcp_connection@PLT
	test	rax, rax
	je	.L4
	mov	rsi, r12
	mov	rdi, r14
	mov	rbx, rax
	call	find_tcp_connection_to@PLT
	mov	r12d, eax
	cmp	eax, -1
	je	.L4
	mov	rdi, r14
	mov	esi, eax
	call	get_connection@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR TCP_CONNECTIONS_STATUS_REGISTERED[rip]
	mov	ecx, ebp
	mov	esi, r13d
	call	set_tcp_connection_status@PLT
	cmp	eax, -1
	je	.L4
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	mov	esi, ebp
	call	set_tcp_connection_number@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tcp_response_callback, .-tcp_response_callback
	.comm	TCP_CONNECTIONS_STATUS_REGISTERED,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_TCP_connection.c_tcp_response_callback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_response_callback, %function
tcp_response_callback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r7, r8}
	mov	r6, r1
	mov	r0, r8
	mov	r1, r7
	mov	r4, r2
	bl	get_tcp_connection
	subs	r5, r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r8
	bl	find_tcp_connection_to
	cmn	r0, #1
	mov	r4, r0
	beq	.L4
	mov	r0, r8
	mov	r1, r4
	bl	get_connection
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L16
	mov	r1, r7
	ldr	r2, [r3]
	mov	r3, r6
	bl	set_tcp_connection_status
	cmn	r0, #1
	beq	.L4
	mov	r2, r4
	mov	r1, r6
	ldr	r0, [r5]
	bl	set_tcp_connection_number
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	TCP_CONNECTIONS_STATUS_REGISTERED
	.size	tcp_response_callback, .-tcp_response_callback
	.comm	TCP_CONNECTIONS_STATUS_REGISTERED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
