	.file	"extr_net_crypto.c_send_requested_packets.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	send_requested_packets, @function
send_requested_packets:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdi
	mov	DWORD PTR 28[rsp], esi
	mov	QWORD PTR 32[rsp], rdx
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rcx
	xor	ecx, ecx
	test	rdx, rdx
	je	.L4
	mov	esi, DWORD PTR 28[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	get_crypto_connection@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L4
	xor	eax, eax
	lea	r12, 8[rbx]
	call	current_time_monotonic@PLT
	mov	rdi, r12
	mov	QWORD PTR 40[rsp], rax
	call	num_packets_array@PLT
	mov	rbp, rax
	test	rax, rax
	jle	.L13
	mov	QWORD PTR 8[rsp], 0
	xor	r14d, r14d
	lea	r13, 48[rsp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR 48[rsp]
	cmp	QWORD PTR [rax], 0
	jne	.L10
	mov	r9d, DWORD PTR 8[rax]
	mov	r8d, DWORD PTR 12[rax]
	mov	rcx, r15
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 28[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	send_data_packet_helper@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR 48[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	add	QWORD PTR 8[rsp], 1
	mov	QWORD PTR [rax], rcx
.L8:
	mov	rcx, QWORD PTR 32[rsp]
	cmp	QWORD PTR 8[rsp], rcx
	jge	.L23
.L10:
	add	r14, 1
	cmp	rbp, r14
	je	.L23
.L11:
	mov	r15, QWORD PTR 8[rbx]
	mov	rsi, r13
	mov	rdi, r12
	add	r15, r14
	mov	rdx, r15
	call	get_data_pointer@PLT
	cmp	eax, -1
	jne	.L25
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L26
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rsp]
	jmp	.L1
.L13:
	xor	eax, eax
	jmp	.L1
.L4:
	mov	eax, -1
	jmp	.L1
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	send_requested_packets, .-send_requested_packets
	.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_net_crypto.c_send_requested_packets.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_requested_packets, %function
send_requested_packets:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r3, r2, #0
	sub	sp, sp, #28
	str	r3, [sp, #8]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	mov	r10, r0
	mov	fp, r1
	bl	get_crypto_connection
	subs	r5, r0, #0
	beq	.L2
	bl	current_time_monotonic
	mov	r3, r0
	add	r7, r5, #4
	mov	r0, r7
	str	r3, [sp, #12]
	bl	num_packets_array
	subs	r6, r0, #0
	mov	r8, #0
	ble	.L1
	mov	r4, r8
	b	.L9
.L4:
	cmp	r0, #0
	beq	.L8
	ldr	r1, [sp, #16]
	ldr	r2, [r1]
	cmp	r2, #0
	bne	.L8
	ldr	r0, [r1, #4]
	ldr	r2, [r5]
	str	r0, [sp, #4]
	ldr	r1, [r1, #8]
	mov	r3, r9
	str	r1, [sp]
	mov	r0, r10
	mov	r1, fp
	bl	send_data_packet_helper
	cmp	r0, #0
	ldreq	r3, [sp, #16]
	ldreq	r2, [sp, #12]
	addeq	r8, r8, #1
	streq	r2, [r3]
	ldr	r3, [sp, #8]
	cmp	r8, r3
	bge	.L1
.L8:
	add	r4, r4, #1
	cmp	r6, r4
	beq	.L1
.L9:
	ldr	r3, [r5, #4]
	mov	r0, r7
	add	r9, r4, r3
	mov	r2, r9
	add	r1, sp, #16
	bl	get_data_pointer
	cmn	r0, #1
	bne	.L4
.L2:
	mvn	r8, #0
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC0
	.size	send_requested_packets, .-send_requested_packets
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
