	.file	"extr_once.c_isc_once_do.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	isc_once_do
	.type	isc_once_do, @function
isc_once_do:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	setne	al
	xor	edi, edi
	test	rsi, rsi
	setne	dil
	and	edi, eax
	call	REQUIRE@PLT
	mov	rax, QWORD PTR ISC_ONCE_INIT_NEEDED[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L11
.L5:
	mov	eax, DWORD PTR ISC_R_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, 8[rbx]
	call	InterlockedDecrement@PLT
	test	rax, rax
	mov	rax, QWORD PTR ISC_ONCE_INIT_NEEDED[rip]
	jne	.L9
	cmp	QWORD PTR [rbx], rax
	jne	.L5
	call	rbp
	mov	rax, QWORD PTR ISC_ONCE_INIT_DONE[rip]
	mov	QWORD PTR [rbx], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xor	edi, edi
	call	Sleep@PLT
	mov	rax, QWORD PTR ISC_ONCE_INIT_NEEDED[rip]
.L9:
	cmp	QWORD PTR [rbx], rax
	je	.L4
	mov	eax, DWORD PTR ISC_R_SUCCESS[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	isc_once_do, .-isc_once_do
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_ONCE_INIT_NEEDED,8,8
	.comm	ISC_ONCE_INIT_DONE,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_once.c_isc_once_do.c"
	.text
	.align	2
	.global	isc_once_do
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_once_do, %function
isc_once_do:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r3, r1, #0
	movne	r3, #1
	push	{r4, r5, r6, lr}
	mov	r4, r0
	cmp	r0, #0
	ldr	r6, .L12
	movne	r0, r3
	moveq	r0, #0
	mov	r5, r1
	bl	REQUIRE
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L11
.L5:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	add	r0, r4, #4
	bl	InterlockedDecrement
	cmp	r0, #0
	bne	.L9
	ldr	r3, [r6]
	ldr	r2, [r4]
	cmp	r2, r3
	bne	.L5
	blx	r5
	ldr	r3, .L12+8
	ldr	r3, [r3]
	str	r3, [r4]
	b	.L5
.L4:
	mov	r0, #0
	bl	Sleep
.L9:
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L4
	b	.L5
.L13:
	.align	2
.L12:
	.word	ISC_ONCE_INIT_NEEDED
	.word	ISC_R_SUCCESS
	.word	ISC_ONCE_INIT_DONE
	.size	isc_once_do, .-isc_once_do
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_ONCE_INIT_NEEDED,4,4
	.comm	ISC_ONCE_INIT_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
