	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cvtstoa                        ## -- Begin function cvtstoa
	.p2align	4, 0x90
_cvtstoa:                               ## @cvtstoa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movslq	%edi, %rcx
	imull	$757186827, %ecx, %edx          ## imm = 0x2D21C10B
	addl	$3181440, %edx                  ## imm = 0x308B80
	rorl	$7, %edx
	cmpl	$49710, %edx                    ## imm = 0xC22E
	jbe	LBB0_4
## %bb.1:
	imull	$-2023406815, %eax, %edx        ## imm = 0x87654321
	addl	$9544368, %edx                  ## imm = 0x91A2B0
	rorl	$4, %edx
	cmpl	$1193046, %edx                  ## imm = 0x123456
	jbe	LBB0_5
## %bb.2:
	imull	$-286331153, %eax, %edx         ## imm = 0xEEEEEEEF
	addl	$143165576, %edx                ## imm = 0x8888888
	rorl	$2, %edx
	cmpl	$71582788, %edx                 ## imm = 0x4444444
	jbe	LBB0_6
## %bb.3:
	cmpl	$1, %eax
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rdx, %rcx
	leaq	_cvtstoa.buf(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	jmp	LBB0_8
LBB0_4:
	imulq	$-1037155065, %rcx, %rdx        ## imm = 0xC22E4507
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	sarl	$16, %edx
	addl	%ecx, %edx
	addl	$-86400, %eax                   ## imm = 0xFFFEAE80
	cmpl	$86400, %eax                    ## imm = 0x15180
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmovbq	%rax, %rcx
	leaq	_cvtstoa.buf(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	imulq	$-1851608123, %rcx, %rdx        ## imm = 0x91A2B3C5
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	sarl	$11, %edx
	addl	%ecx, %edx
	addl	$-3600, %eax                    ## imm = 0xF1F0
	cmpl	$3600, %eax                     ## imm = 0xE10
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmovbq	%rax, %rcx
	leaq	_cvtstoa.buf(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_7
LBB0_6:
	imulq	$-2004318071, %rcx, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	sarl	$5, %edx
	addl	%ecx, %edx
	addl	$-60, %eax
	cmpl	$60, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmovbq	%rax, %rcx
	leaq	_cvtstoa.buf(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
LBB0_7:
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_8:
	callq	_sprintf
	leaq	_cvtstoa.buf(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cvtstoa.buf,20,4 ## @cvtstoa.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ju day%s"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"s"

L_.str.3:                               ## @.str.3
	.asciz	"%ju hour%s"

L_.str.4:                               ## @.str.4
	.asciz	"%ju minute%s"

L_.str.5:                               ## @.str.5
	.asciz	"%ju second%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cvtstoa                        ; -- Begin function cvtstoa
	.p2align	2
_cvtstoa:                               ; @cvtstoa
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	mov	w9, #20864
	movk	w9, #1, lsl #16
	mov	w10, #17671
	movk	w10, #49710, lsl #16
	smull	x10, w0, w10
	lsr	x10, x10, #32
	add	w10, w10, w0
	asr	w11, w10, #16
	add	w2, w11, w10, lsr #31
	msub	w10, w2, w9, w0
	cbz	w10, LBB0_4
; %bb.1:
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #11
	add	w2, w10, w9, lsr #31
	mov	w9, #3600
	msub	w9, w2, w9, w8
	cbz	w9, LBB0_5
; %bb.2:
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #5
	add	w2, w10, w9, lsr #31
	mov	w9, #60
	msub	w9, w2, w9, w8
	cbz	w9, LBB0_6
; %bb.3:
Lloh0:
	adrp	x9, l_.str.2@PAGE
Lloh1:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #1
	csel	x3, x10, x9, eq
Lloh4:
	adrp	x0, _cvtstoa.buf@PAGE
Lloh5:
	add	x0, x0, _cvtstoa.buf@PAGEOFF
Lloh6:
	adrp	x1, l_.str.5@PAGE
Lloh7:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x8
	b	LBB0_7
LBB0_4:
	sub	w8, w8, #21, lsl #12            ; =86016
	sub	w8, w8, #384
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh10:
	adrp	x11, l_.str.1@PAGE
Lloh11:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	w8, w9
	csel	x3, x11, x10, lo
Lloh12:
	adrp	x0, _cvtstoa.buf@PAGE
Lloh13:
	add	x0, x0, _cvtstoa.buf@PAGEOFF
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	sub	w8, w8, #3600
Lloh16:
	adrp	x9, l_.str.2@PAGE
Lloh17:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh18:
	adrp	x10, l_.str.1@PAGE
Lloh19:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #3600
	csel	x3, x10, x9, lo
Lloh20:
	adrp	x0, _cvtstoa.buf@PAGE
Lloh21:
	add	x0, x0, _cvtstoa.buf@PAGEOFF
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:
	sub	w8, w8, #60
Lloh24:
	adrp	x9, l_.str.2@PAGE
Lloh25:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh26:
	adrp	x10, l_.str.1@PAGE
Lloh27:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #60
	csel	x3, x10, x9, lo
Lloh28:
	adrp	x0, _cvtstoa.buf@PAGE
Lloh29:
	add	x0, x0, _cvtstoa.buf@PAGEOFF
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_7:
	bl	_sprintf
Lloh32:
	adrp	x0, _cvtstoa.buf@PAGE
Lloh33:
	add	x0, x0, _cvtstoa.buf@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cvtstoa.buf,20,0 ; @cvtstoa.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ju day%s"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"s"

l_.str.3:                               ; @.str.3
	.asciz	"%ju hour%s"

l_.str.4:                               ; @.str.4
	.asciz	"%ju minute%s"

l_.str.5:                               ; @.str.5
	.asciz	"%ju second%s"

.subsections_via_symbols
