	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function before_start_test
_before_start_test:                     ## @before_start_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_sem@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sem_init
	movl	%eax, %edi
	callq	_SEM_REQUIRE
	movq	_SIG_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sighandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setne	%dil
	callq	_ATF_REQUIRE
	movl	$5, %edi
	callq	_alarm_ms
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_threadfunc@GOTPCREL(%rip), %rdx
	leaq	-20(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	movl	-20(%rbp), %edi
	xorl	%esi, %esi
	callq	_pthread_join
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%edi, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_threadfunc                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sem,4,2                        ## @sem
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_sighandler,4,2                 ## @sighandler
	.no_dead_strip	_before_start_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function before_start_test
_before_start_test:                     ; @before_start_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _sem@GOTPAGE
Lloh1:
	ldr	x0, [x0, _sem@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	bl	_sem_init
	bl	_SEM_REQUIRE
Lloh2:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
Lloh5:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _sighandler@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sighandler@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_signal
	cmp	x20, x0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	w0, #5
	bl	_alarm_ms
	cbz	w19, LBB0_2
; %bb.1:
Lloh11:
	adrp	x2, _threadfunc@GOTPAGE
Lloh12:
	ldr	x2, [x2, _threadfunc@GOTPAGEOFF]
	add	x0, sp, #12
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	bl	_PTHREAD_REQUIRE
	ldr	w0, [sp, #12]
	mov	x1, #0
	bl	_pthread_join
	bl	_PTHREAD_REQUIRE
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_threadfunc
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_sem,4,2                        ; @sem
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_sighandler,4,2                 ; @sighandler
	.no_dead_strip	_before_start_test
.subsections_via_symbols
