	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pthread_cond_timedwait_func
_pthread_cond_timedwait_func:           ## @pthread_cond_timedwait_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r14
	movq	_static_mutex@GOTPCREL(%rip), %r12
	movq	_static_cond@GOTPCREL(%rip), %r15
	movq	_ETIMEDOUT@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clock_gettime
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	decq	-48(%rbp)
	movq	%r12, %rdi
	callq	_pthread_mutex_lock
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_pthread_cond_timedwait
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	sete	%dil
	callq	_ATF_REQUIRE
	movq	%r12, %rdi
	callq	_pthread_mutex_unlock
	movl	%eax, %edi
	callq	_PTHREAD_REQUIRE
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$10000, %rbx                    ## imm = 0x2710
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_pthread_exit
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_static_mutex,4,2               ## @static_mutex
	.comm	_static_cond,4,2                ## @static_cond
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_pthread_cond_timedwait_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pthread_cond_timedwait_func
_pthread_cond_timedwait_func:           ; @pthread_cond_timedwait_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, #0
Lloh0:
	adrp	x22, _CLOCK_REALTIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh2:
	adrp	x19, _static_mutex@GOTPAGE
Lloh3:
	ldr	x19, [x19, _static_mutex@GOTPAGEOFF]
Lloh4:
	adrp	x20, _static_cond@GOTPAGE
Lloh5:
	ldr	x20, [x20, _static_cond@GOTPAGEOFF]
Lloh6:
	adrp	x23, _ETIMEDOUT@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_clock_gettime
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	ldr	x8, [sp, #8]
	sub	x8, x8, #1
	str	x8, [sp, #8]
	mov	x0, x19
	bl	_pthread_mutex_lock
	bl	_PTHREAD_REQUIRE
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_pthread_cond_timedwait
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, eq
	bl	_ATF_REQUIRE
	mov	x0, x19
	bl	_pthread_mutex_unlock
	bl	_PTHREAD_REQUIRE
	add	x21, x21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x8, x21, #4
	cmp	x8, #625
	b.lo	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	bl	_pthread_exit
	b	LBB0_1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_static_mutex,4,2               ; @static_mutex
	.comm	_static_cond,4,2                ; @static_cond
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_pthread_cond_timedwait_func
.subsections_via_symbols
