	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_osMutexTimedLock           ## -- Begin function pte_osMutexTimedLock
	.p2align	4, 0x90
_pte_osMutexTimedLock:                  ## @pte_osMutexTimedLock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	movl	%eax, -4(%rbp)
	leaq	-4(%rbp), %rdx
	movl	$1, %esi
	callq	_sceKernelWaitSema
	testl	%eax, %eax
	jns	LBB0_1
## %bb.2:
	movq	_PTE_OS_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PTE_OS_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTE_OS_TIMEOUT,4,2             ## @PTE_OS_TIMEOUT
	.comm	_PTE_OS_OK,4,2                  ## @PTE_OS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pte_osMutexTimedLock           ; -- Begin function pte_osMutexTimedLock
	.p2align	2
_pte_osMutexTimedLock:                  ; @pte_osMutexTimedLock
	.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
	mov	w8, #1000
	mul	w8, w1, w8
	stur	w8, [x29, #-4]
	sub	x2, x29, #4
	mov	w1, #1
	bl	_sceKernelWaitSema
Lloh0:
	adrp	x8, _PTE_OS_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTE_OS_TIMEOUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PTE_OS_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PTE_OS_OK@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PTE_OS_TIMEOUT,4,2             ; @PTE_OS_TIMEOUT
	.comm	_PTE_OS_OK,4,2                  ; @PTE_OS_OK
.subsections_via_symbols
