	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_time                       ## -- Begin function ps2_time
	.p2align	4, 0x90
_ps2_time:                              ## @ps2_time
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sceCdReadClock
	movq	%rbx, %rdi
	callq	_configConvertToLocalTime
	movl	-44(%rbp), %edi
	callq	_DEC
	movq	%rax, %rbx
	movq	_STARTING_YEAR@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movl	-48(%rbp), %edi
	callq	_DEC
	movq	%rax, %r15
	movl	-52(%rbp), %edi
	callq	_DEC
	movq	%rax, %r12
	movl	-56(%rbp), %edi
	callq	_DEC
	movq	%rax, %r13
	movl	-60(%rbp), %edi
	callq	_DEC
	movq	%rax, %r14
	movl	-64(%rbp), %edi
	callq	_DEC
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%rax, %r9
	callq	__gmtotime_t
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rcx)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STARTING_YEAR,8,3              ## @STARTING_YEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_time                       ; -- Begin function ps2_time
	.p2align	2
_ps2_time:                              ; @ps2_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	add	x0, sp, #8
	bl	_sceCdReadClock
	add	x0, sp, #8
	bl	_configConvertToLocalTime
	ldr	w0, [sp, #28]
	bl	_DEC
Lloh0:
	adrp	x8, _STARTING_YEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STARTING_YEAR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x20, x8, x0
	ldr	w0, [sp, #24]
	bl	_DEC
	mov	x21, x0
	ldr	w0, [sp, #20]
	bl	_DEC
	mov	x22, x0
	ldr	w0, [sp, #16]
	bl	_DEC
	mov	x23, x0
	ldr	w0, [sp, #12]
	bl	_DEC
	mov	x24, x0
	ldr	w0, [sp, #8]
	bl	_DEC
	mov	x5, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	__gmtotime_t
	cbz	x19, LBB0_2
; %bb.1:
	str	w0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STARTING_YEAR,8,3              ; @STARTING_YEAR
.subsections_via_symbols
