	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpd_gettime                    ## -- Begin function lpd_gettime
	.p2align	4, 0x90
_lpd_gettime:                           ## @lpd_gettime
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TIMESTR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	leaq	-88(%rbp), %rbx
	movq	%r15, %r13
	cmoveq	%rbx, %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clock_gettime
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	testq	%r15, %r15
	movl	-52(%rbp), %eax
	movq	%r15, %rcx
	cmoveq	%rbx, %rcx
	movl	%eax, 4(%rcx)
	imull	$1000, -56(%rbp), %eax          ## imm = 0x3E8
	movl	%eax, (%rcx)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_7
## %bb.3:
	testq	%r12, %r12
	je	LBB0_7
## %bb.4:
	testq	%r15, %r15
	movq	_TIMESTR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_LPD_TIMESTAMP_PATTERN@GOTPCREL(%rip), %rax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	movl	(%rax), %r14d
	cmovneq	%r15, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_localtime
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_strftime
	movq	_TIMESTR_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rbx, %rax
	jae	LBB0_6
## %bb.5:
	movb	$0, 1(%rax,%r12)
	movq	%rax, %rbx
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strlcpy
LBB0_7:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMESTR_SIZE,4,2               ## @TIMESTR_SIZE
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_LPD_TIMESTAMP_PATTERN,4,2      ## @LPD_TIMESTAMP_PATTERN
	.comm	_daylight,8,3                   ## @daylight
	.comm	_timezone,4,2                   ## @timezone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpd_gettime                    ; -- Begin function lpd_gettime
	.p2align	2
_lpd_gettime:                           ; @lpd_gettime
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #32
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x26, _TIMESTR_SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _TIMESTR_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x24, x29, #80
	cmp	x0, #0
	csel	x23, x24, x0, eq
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh7:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_clock_gettime
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	sub	x0, x29, #88
	mov	x1, #0
	bl	_gettimeofday
	cmp	x22, #0
	csel	x8, x24, x22, eq
	ldp	w10, w9, [x29, #-88]
	mov	w11, #1000
	mul	w10, w10, w11
	stp	w10, w9, [x8]
LBB0_2:
	cbz	x19, LBB0_7
; %bb.3:
	cbz	x20, LBB0_7
; %bb.4:
	ldr	w23, [x26]
Lloh10:
	adrp	x8, _LPD_TIMESTAMP_PATTERN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LPD_TIMESTAMP_PATTERN@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x8]
	sub	x8, x29, #80
	orr	x8, x8, #0x4
	add	x9, x22, #4
	cmp	x22, #0
	csel	x0, x8, x9, eq
	bl	_localtime
	mov	x3, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_strftime
	ldrsw	x8, [x26]
	cmp	x8, x20
	b.hs	LBB0_6
; %bb.5:
	add	x9, x8, x19
	strb	wzr, [x9, #1]
	mov	x20, x8
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_strlcpy
LBB0_7:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMESTR_SIZE,4,2               ; @TIMESTR_SIZE
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_LPD_TIMESTAMP_PATTERN,4,2      ; @LPD_TIMESTAMP_PATTERN
	.comm	_daylight,8,3                   ; @daylight
	.comm	_timezone,4,2                   ; @timezone
.subsections_via_symbols
