	.file	"extr_threading-windows.c_os_event_wait.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	os_event_wait
	.type	os_event_wait, @function
os_event_wait:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L9
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR INFINITE[rip]
	call	WaitForSingleObject@PLT
	mov	r8, rax
	xor	eax, eax
	cmp	QWORD PTR WAIT_OBJECT_0[rip], r8
	je	.L1
	mov	eax, DWORD PTR EINVAL[rip]
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	os_event_wait, .-os_event_wait
	.comm	WAIT_OBJECT_0,8,8
	.comm	INFINITE,4,4
	.comm	EINVAL,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_threading-windows.c_os_event_wait.c"
	.text
	.align	2
	.global	os_event_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	os_event_wait, %function
os_event_wait:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L10
	push	{r4, lr}
	ldr	r1, [r3]
	bl	WaitForSingleObject
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, r0
	ldrne	r3, .L10+8
	ldrne	r0, [r3]
	moveq	r0, #0
	pop	{r4, pc}
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	bx	lr
.L11:
	.align	2
.L10:
	.word	INFINITE
	.word	WAIT_OBJECT_0
	.word	EINVAL
	.size	os_event_wait, .-os_event_wait
	.comm	WAIT_OBJECT_0,4,4
	.comm	INFINITE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
