	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uglydate                       ## -- Begin function uglydate
	.p2align	4, 0x90
_uglydate:                              ## @uglydate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$6, %esi
	callq	_ulfptoa
	movq	%rax, %r14
	callq	_LIB_GETBUF
	movq	(%rbx), %rax
	movq	_JAN_1970@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, -32(%rbp)
	movl	8(%rbx), %r15d
	leaq	-32(%rbp), %rdi
	callq	_gmtime
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movl	16(%rax), %ecx
	cmpl	$100, %ecx
	movl	$99, %edx
	cmovgel	%ecx, %edx
	imulq	$1374389535, %rdx, %rsi         ## imm = 0x51EB851F
	shrq	$37, %rsi
	imull	$100, %esi, %esi
	movl	%edx, %r8d
	subl	%esi, %r8d
	subl	%edx, %r8d
	addl	%ecx, %r8d
	movl	(%rax), %r9d
	movl	4(%rax), %r10d
	movl	8(%rax), %ebx
	movl	12(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%r10d, %r10d
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
LBB0_3:
	movslq	%r15d, %rcx
	imulq	$2097152145, %rcx, %rcx         ## imm = 0x7D000091
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$53, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rdi
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	pushq	%rdi
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_snprintf
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JAN_1970,8,3                   ## @JAN_1970
	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%17s %02d:%03d:%02d:%02d:%02d.%03ld"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uglydate                       ; -- Begin function uglydate
	.p2align	2
_uglydate:                              ; @uglydate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
	mov	w1, #6
	bl	_ulfptoa
	mov	x19, x0
	bl	_LIB_GETBUF
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _JAN_1970@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JAN_1970@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [sp, #24]
	ldr	w21, [x20, #8]
	add	x0, sp, #24
	bl	_gmtime
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x0, #16]
	mov	w9, #99
	cmp	w8, #99
	csel	w9, w8, w9, gt
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x10, w9, w10
	lsr	x10, x10, #37
	mov	w11, #100
	msub	w10, w10, w11, w9
	sub	w9, w10, w9
	add	w4, w9, w8
	ldp	w5, w6, [x0]
	ldp	w7, w8, [x0, #8]
	b	LBB0_3
LBB0_2:
	mov	w7, #0
	mov	w6, #0
	mov	w5, #0
	mov	w4, #0
	stp	xzr, xzr, [x0]
LBB0_3:
	mov	w9, #145
	movk	w9, #32000, lsl #16
	smull	x9, w21, w9
	lsr	x10, x9, #63
	asr	x9, x9, #53
	add	w9, w9, w10
	sxtw	x9, w9
Lloh3:
	adrp	x10, _LIB_BUFLENGTH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
	str	w8, [sp]
	str	x9, [sp, #8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_snprintf
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_JAN_1970,8,3                   ; @JAN_1970
	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%17s %02d:%03d:%02d:%02d:%02d.%03ld"

.subsections_via_symbols
