	.file	"extr_nanocat.c_nn_send_loop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Message not sent (EAGAIN)\n"
.LC1:
	.string	"Can't send"
	.text
	.p2align 4
	.globl	nn_send_loop
	.type	nn_send_loop, @function
nn_send_loop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC1[rip]
	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
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	imul	r13d, DWORD PTR [rdi], 1000
	movsx	r14, r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	not	eax
	mov	rsi, r15
	shr	eax, 31
	mov	edi, eax
	call	nn_assert_errno@PLT
	test	r13d, r13d
	js	.L1
.L11:
	xor	eax, eax
	add	rbx, r14
	call	nn_clock_ms@PLT
	sub	rbx, rax
	test	rbx, rbx
	jg	.L10
.L5:
	xor	eax, eax
	call	nn_clock_ms@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 8[rbp]
	xor	ecx, ecx
	mov	edi, r12d
	mov	rbx, rax
	call	nn_send@PLT
	test	eax, eax
	jns	.L2
	mov	rcx, QWORD PTR EAGAIN[rip]
	cmp	QWORD PTR errno[rip], rcx
	jne	.L2
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	test	r13d, r13d
	jns	.L11
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	mov	edi, ebx
	call	nn_sleep@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	nn_send_loop, .-nn_send_loop
	.comm	stderr,4,4
	.comm	errno,8,8
	.comm	EAGAIN,8,8
	.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_nanocat.c_nn_send_loop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Message not sent (EAGAIN)\012\000"
	.align	2
.LC1:
	.ascii	"Can't send\000"
	.text
	.align	2
	.global	nn_send_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	nn_send_loop, %function
nn_send_loop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	mov	r7, r1
	ldr	r5, [r0]
	ldr	r8, .L11
	rsb	r3, r5, r5, lsl #5
	add	r5, r5, r3, lsl #2
	ldr	r10, .L11+4
	ldr	r9, .L11+8
	lsl	r5, r5, #3
.L6:
	ldr	fp, .L11+12
	b	.L5
.L2:
	mvn	r0, r0
	mov	r1, r8
	lsr	r0, r0, #31
	bl	nn_assert_errno
.L3:
	cmp	r5, #0
	add	r4, r5, r4
	poplt	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	bl	nn_clock_ms
	sub	r4, r4, r0
	cmp	r4, #0
	bgt	.L10
.L5:
	bl	nn_clock_ms
	mov	r3, #0
	mov	r4, r0
	ldr	r2, [r6, #4]
	mov	r0, r7
	ldr	r1, [r6, #8]
	bl	nn_send
	cmp	r0, #0
	bge	.L2
	ldr	r2, [r10]
	ldr	r3, [r9]
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L11+16
	mov	r1, fp
	ldr	r0, [r3]
	bl	fprintf
	b	.L3
.L10:
	mov	r0, r4
	bl	nn_sleep
	b	.L6
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	errno
	.word	EAGAIN
	.word	.LC0
	.word	stderr
	.size	nn_send_loop, .-nn_send_loop
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
