	.file	"extr_net-udp.c_udp_queue_message.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	udp_queue_message
	.type	udp_queue_message, @function
udp_queue_message:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR RM_INIT_MAGIC[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	xor	edi, edi
	cmp	QWORD PTR 8[rsi], rax
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sete	dil
	mov	rbx, rsi
	xor	r12d, r12d
	call	assert@PLT
	mov	rax, QWORD PTR RM_INIT_MAGIC[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L1
	mov	rax, QWORD PTR 16[rbx]
	cmp	rax, QWORD PTR MAX_UDP_SEND_DATAGRAM[rip]
	jg	.L1
	mov	ecx, DWORD PTR 16[rbp]
	add	eax, DWORD PTR 20[rbp]
	cmp	QWORD PTR 32[rbp], 0
	lea	edx, 1[rcx]
	je	.L11
	mov	rcx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rcx], rbx
	mov	QWORD PTR 24[rbp], rbx
	mov	DWORD PTR 20[rbp], eax
	mov	DWORD PTR 16[rbp], edx
	mov	QWORD PTR [rbx], 0
.L9:
	mov	r12d, 1
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 24[rbp], rbx
	mov	QWORD PTR 32[rbp], rbx
	mov	DWORD PTR 16[rbp], edx
	mov	QWORD PTR [rbx], 0
	test	DWORD PTR U_WORKING[rip], eax
	jne	.L9
	mov	rdi, QWORD PTR 8[rbp]
	mov	r12d, 1
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jne	.L1
	call	put_event_into_heap@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	udp_queue_message, .-udp_queue_message
	.comm	U_WORKING,4,4
	.comm	RM_INIT_MAGIC,8,8
	.comm	MAX_UDP_SEND_DATAGRAM,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_net-udp.c_udp_queue_message.c"
	.text
	.align	2
	.global	udp_queue_message
	.syntax unified
	.arm
	.fpu softvfp
	.type	udp_queue_message, %function
udp_queue_message:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L12
	ldr	r2, [r1, #4]
	ldr	r3, [r6]
	mov	r5, r0
	sub	r0, r2, r3
	clz	r0, r0
	mov	r4, r1
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [r6]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	bne	.L6
	ldr	r2, .L12+4
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	bgt	.L6
	ldr	r1, [r5, #20]
	ldr	r0, [r5, #12]
	ldr	r2, [r5, #8]
	cmp	r1, #0
	add	r3, r3, r0
	add	r2, r2, #1
	beq	.L10
	mov	r1, #0
	ldr	r0, [r5, #16]
	str	r4, [r0]
	str	r4, [r5, #16]
	str	r3, [r5, #12]
	str	r2, [r5, #8]
	mov	r0, #1
	str	r1, [r4]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, .L12+8
	ldr	ip, [r5]
	ldr	r0, [r0]
	str	r4, [r5, #16]
	tst	ip, r0
	str	r4, [r5, #20]
	str	r3, [r5, #12]
	str	r2, [r5, #8]
	str	r1, [r4]
	bne	.L7
	ldr	r0, [r5, #4]
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L11
.L7:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L11:
	bl	put_event_into_heap
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	RM_INIT_MAGIC
	.word	MAX_UDP_SEND_DATAGRAM
	.word	U_WORKING
	.size	udp_queue_message, .-udp_queue_message
	.comm	U_WORKING,4,4
	.comm	RM_INIT_MAGIC,4,4
	.comm	MAX_UDP_SEND_DATAGRAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
