	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function floattoday
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_floattoday:                            ## @floattoday
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movq	_cumdaytab@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_isleap
	movsd	-16(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movq	(%rbx,%rax,8), %rax
	movl	$-2, %ecx
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	incl	%esi
	xorps	%xmm0, %xmm0
	cvtsi2sd	%esi, %xmm0
	incl	%ecx
	addq	$4, %rdx
	ucomisd	%xmm0, %xmm2
	ja	LBB0_1
## %bb.2:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	addsd	%xmm2, %xmm0
	movslq	%ecx, %r9
	roundsd	$9, %xmm2, %xmm1
	subsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%rax,%r9,4), %xmm1
	movq	_SECSPERDAY@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm2
	cvttsd2si	%xmm2, %eax
	movq	_SECSPERHOUR@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r8d
	movl	%edx, %eax
	movq	_SECSPERMINUTE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	subsd	%xmm1, %xmm0
	roundsd	$9, %xmm0, %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%edx, (%rsp)
	leaq	_floattoday.buf(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r9d, %edx
	movl	%eax, %r9d
	callq	_sprintf
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_floattoday.buf,100,4 ## @floattoday.buf
	.comm	_cumdaytab,8,3                  ## @cumdaytab
	.comm	_SECSPERDAY,8,3                 ## @SECSPERDAY
	.comm	_SECSPERHOUR,4,2                ## @SECSPERHOUR
	.comm	_SECSPERMINUTE,4,2              ## @SECSPERMINUTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02d-%02d %02d:%02d:%02d"

	.no_dead_strip	_floattoday
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function floattoday
_floattoday:                            ; @floattoday
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
Lloh0:
	adrp	x8, _cumdaytab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cumdaytab@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_isleap
	ldr	x8, [x19, x0, lsl #3]
	mov	w2, #-2
	mov	x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	add	w10, w10, #1
	scvtf	d0, w10
	add	w2, w2, #1
	fcmp	d0, d8
	b.mi	LBB0_1
; %bb.2:
	fmov	d0, #-1.00000000
	ldr	s1, [x8, w2, sxtw #2]
	fadd	d0, d8, d0
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fsub	d0, d0, d1
	fcvtms	w3, d0
	frintm	d0, d8
	fsub	d0, d8, d0
Lloh3:
	adrp	x8, _SECSPERDAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECSPERDAY@GOTPAGEOFF]
Lloh5:
	ldr	d1, [x8]
	fmul	d0, d0, d1
	fcvtzs	w8, d0
Lloh6:
	adrp	x9, _SECSPERHOUR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SECSPERHOUR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w4, w8, w9
	msub	w8, w4, w9, w8
Lloh9:
	adrp	x9, _SECSPERMINUTE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SECSPERMINUTE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	sdiv	w5, w8, w9
	msub	w6, w5, w9, w8
Lloh12:
	adrp	x19, _floattoday.buf@PAGE
Lloh13:
	add	x19, x19, _floattoday.buf@PAGEOFF
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_floattoday.buf,100,0 ; @floattoday.buf
	.comm	_cumdaytab,8,3                  ; @cumdaytab
	.comm	_SECSPERDAY,8,3                 ; @SECSPERDAY
	.comm	_SECSPERHOUR,4,2                ; @SECSPERHOUR
	.comm	_SECSPERMINUTE,4,2              ; @SECSPERMINUTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02d-%02d %02d:%02d:%02d"

	.no_dead_strip	_floattoday
.subsections_via_symbols
