	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function prettyinterval
LCPI0_0:
	.quad	0x4076d40000000000              ## double 365.25
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_prettyinterval:                        ## @prettyinterval
	.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	%rdi, %rbx
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %rcx
	movq	%rsi, %r14
	cmpq	$2048, %rdx                     ## imm = 0x800
	ja	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_13
LBB0_3:
	movw	$45, (%rbx)
	jmp	LBB0_14
LBB0_4:
	leaq	29(%rcx), %rax
	movabsq	$-8608480567731124087, %rsi     ## imm = 0x8888888888888889
	mulq	%rsi
	movq	%rdx, %rax
	shrq	$5, %rax
	cmpq	$18030, %rcx                    ## imm = 0x466E
	ja	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_6:
	addq	$29, %rax
	mulq	%rsi
	movq	%rdx, %rax
	shrq	$5, %rax
	cmpq	$347430, %rcx                   ## imm = 0x54D26
	ja	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_12
LBB0_8:
	addq	$11, %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	cmpq	$86358630, %rcx                 ## imm = 0x525BA66
	ja	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_12
LBB0_10:
	cvtsi2sd	%rax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rdi
	callq	_floor
	cmpq	$999, %rax                      ## imm = 0x3E7
	jg	LBB0_15
## %bb.11:
	leaq	L_.str.4(%rip), %rdx
LBB0_12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
LBB0_13:
	callq	_snprintf
LBB0_14:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcpy
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"%um"

L_.str.2:                               ## @.str.2
	.asciz	"%uh"

L_.str.3:                               ## @.str.3
	.asciz	"%ud"

L_.str.4:                               ## @.str.4
	.asciz	"%uy"

L_.str.5:                               ## @.str.5
	.asciz	"INF"

	.no_dead_strip	_prettyinterval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prettyinterval
_prettyinterval:                        ; @prettyinterval
	.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, x0
	cmp	x2, #0
	b.le	LBB0_3
; %bb.1:
	mov	x8, x2
	mov	x20, x1
	cmp	x2, #2048
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x8
	b	LBB0_13
LBB0_3:
	mov	w8, #45
	strh	w8, [x19]
	b	LBB0_14
LBB0_4:
	add	x10, x8, #29
	mov	x9, #-8608480567731124088
	movk	x9, #34953
	umulh	x10, x10, x9
	lsr	x3, x10, #5
	mov	w10, #18030
	cmp	x8, x10
	b.hi	LBB0_6
; %bb.5:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_6:
	add	x10, x3, #29
	umulh	x9, x10, x9
	lsr	x3, x9, #5
	mov	w9, #19750
	movk	w9, #5, lsl #16
	cmp	x8, x9
	b.hi	LBB0_8
; %bb.7:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_8:
	add	x9, x3, #11
	mov	x10, #-6148914691236517206
	movk	x10, #43691
	umulh	x9, x9, x10
	lsr	x3, x9, #4
	mov	w9, #47718
	movk	w9, #1317, lsl #16
	cmp	x8, x9
	b.hi	LBB0_10
; %bb.9:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_10:
	scvtf	d0, x3
	mov	x8, #233096465088512
	movk	x8, #16502, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	x0, d0
	bl	_floor
	cmp	x0, #999
	b.gt	LBB0_15
; %bb.11:
	mov	x3, x0
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w3 killed $w3 killed $x3
LBB0_13:
	bl	_snprintf
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_strlcpy
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"%um"

l_.str.2:                               ; @.str.2
	.asciz	"%uh"

l_.str.3:                               ; @.str.3
	.asciz	"%ud"

l_.str.4:                               ; @.str.4
	.asciz	"%uy"

l_.str.5:                               ; @.str.5
	.asciz	"INF"

	.no_dead_strip	_prettyinterval
.subsections_via_symbols
