	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctime_r                        ## -- Begin function ctime_r
	.p2align	4, 0x90
_ctime_r:                               ## @ctime_r
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ctime_r_init@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$1, (%rax)
	movq	_ctime_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_init
	movq	_ctime_r_cleanup@GOTPCREL(%rip), %rdi
	callq	_atexit
LBB0_2:
	movq	_ctime_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_lock
	movq	%rbx, %rdi
	callq	_ctime
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_9
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$11, %eax
	jl	LBB0_8
## %bb.5:
	cmpb	$32, 7(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpb	$48, 8(%rbx)
	jne	LBB0_8
## %bb.7:
	movb	$32, 8(%rbx)
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
LBB0_9:
	movq	_ctime_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_unlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctime_r_init,4,2               ## @ctime_r_init
	.comm	_ctime_lock,4,2                 ## @ctime_lock
	.comm	_ctime_r_cleanup,4,2            ## @ctime_r_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctime_r                        ; -- Begin function ctime_r
	.p2align	2
_ctime_r:                               ; @ctime_r
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ctime_r_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctime_r_init@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x0, _ctime_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _ctime_lock@GOTPAGEOFF]
	bl	_lock_basic_init
Lloh4:
	adrp	x0, _ctime_r_cleanup@GOTPAGE
Lloh5:
	ldr	x0, [x0, _ctime_r_cleanup@GOTPAGEOFF]
	bl	_atexit
LBB0_2:
Lloh6:
	adrp	x0, _ctime_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ctime_lock@GOTPAGEOFF]
	bl	_lock_basic_lock
	mov	x0, x20
	bl	_ctime
	mov	x20, x0
	cbz	x19, LBB0_9
; %bb.3:
	cbz	x20, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #11
	b.lt	LBB0_8
; %bb.5:
	ldrb	w8, [x20, #7]
	cmp	w8, #32
	b.ne	LBB0_8
; %bb.6:
	ldrb	w8, [x20, #8]
	cmp	w8, #48
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #32
	strb	w8, [x20, #8]
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_strcpy
LBB0_9:
Lloh8:
	adrp	x0, _ctime_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _ctime_lock@GOTPAGEOFF]
	bl	_lock_basic_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ctime_r_init,4,2               ; @ctime_r_init
	.comm	_ctime_lock,4,2                 ; @ctime_lock
	.comm	_ctime_r_cleanup,4,2            ; @ctime_r_cleanup
.subsections_via_symbols
