	.file	"extr_libzmq.c_zmq_proto_wait_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zmq_proto_wait_timeout, @function
zmq_proto_wait_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r14
	mov	edx, ebp
	mov	rsi, r13
	call	zmq_proto_wait@PLT
	mov	edi, DWORD PTR EAGAIN[rip]
	mov	r12d, eax
	call	AVERROR@PLT
	cmp	eax, r12d
	jne	.L1
	test	r15, r15
	jg	.L11
.L5:
	mov	rdi, rbx
	call	ff_check_interrupt@PLT
	test	rax, rax
	je	.L3
	mov	r12d, DWORD PTR AVERROR_EXIT[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L11:
	.cfi_restore_state
	xor	eax, eax
	cmp	QWORD PTR 8[rsp], 0
	jne	.L6
	call	av_gettime_relative@PLT
	mov	QWORD PTR 8[rsp], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	call	av_gettime_relative@PLT
	sub	rax, QWORD PTR 8[rsp]
	cmp	rax, r15
	jle	.L5
	mov	edi, DWORD PTR ETIMEDOUT[rip]
	add	rsp, 24
	.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
	jmp	AVERROR@PLT
	.cfi_endproc
.LFE0:
	.size	zmq_proto_wait_timeout, .-zmq_proto_wait_timeout
	.comm	ETIMEDOUT,4,4
	.comm	EAGAIN,4,4
	.comm	AVERROR_EXIT,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_libzmq.c_zmq_proto_wait_timeout.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zmq_proto_wait_timeout, %function
zmq_proto_wait_timeout:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [sp, #40]
	mov	r7, r0
	mov	r6, r1
	mov	r5, r2
	mov	r8, r3
	mov	fp, #0
	ldr	r10, .L12
	b	.L5
.L3:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	zmq_proto_wait
	mov	r4, r0
	ldr	r0, [r10]
	bl	AVERROR
	cmp	r0, r4
	bne	.L1
	cmp	r8, #0
	bgt	.L11
.L5:
	mov	r0, r9
	bl	ff_check_interrupt
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L12+4
	ldr	r4, [r3]
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	cmp	fp, #0
	bne	.L6
	bl	av_gettime_relative
	mov	fp, r0
	b	.L5
.L6:
	bl	av_gettime_relative
	sub	r0, r0, fp
	cmp	r0, r8
	ble	.L5
	ldr	r3, .L12+8
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	AVERROR
.L13:
	.align	2
.L12:
	.word	EAGAIN
	.word	AVERROR_EXIT
	.word	ETIMEDOUT
	.size	zmq_proto_wait_timeout, .-zmq_proto_wait_timeout
	.comm	ETIMEDOUT,4,4
	.comm	EAGAIN,4,4
	.comm	AVERROR_EXIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
