	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_once
_test_once:                             ## @test_once
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_once_run_thread_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdi
	callq	_run_thread
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	-12(%rbp), %edi
	callq	_wait_for_thread
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_once_do_run@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_once_run@GOTPCREL(%rip), %rdi
	callq	_CRYPTO_THREAD_run_once
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_once_run_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_once_run_thread_cb,4,2         ## @once_run_thread_cb
	.comm	_once_run,4,2                   ## @once_run
	.comm	_once_do_run,4,2                ## @once_do_run
	.comm	_once_run_count,4,2             ## @once_run_count
	.no_dead_strip	_test_once
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_once
_test_once:                             ; @test_once
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _once_run_thread_cb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _once_run_thread_cb@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x0, x29, #4
	bl	_run_thread
	bl	_TEST_true
	cbz	w0, LBB0_4
; %bb.1:
	ldur	w0, [x29, #-4]
	bl	_wait_for_thread
	bl	_TEST_true
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _once_do_run@GOTPAGE
Lloh4:
	ldr	x8, [x8, _once_do_run@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _once_run@GOTPAGE
Lloh7:
	ldr	x0, [x0, _once_run@GOTPAGEOFF]
	bl	_CRYPTO_THREAD_run_once
	cbz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _once_run_count@GOTPAGE
Lloh9:
	ldr	x8, [x8, _once_run_count@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_TEST_int_eq
	cmp	w0, #0
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_once_run_thread_cb,4,2         ; @once_run_thread_cb
	.comm	_once_run,4,2                   ; @once_run
	.comm	_once_do_run,4,2                ; @once_do_run
	.comm	_once_run_count,4,2             ; @once_run_count
	.no_dead_strip	_test_once
.subsections_via_symbols
