	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mfi_autolearn_period           ## -- Begin function mfi_autolearn_period
	.p2align	4, 0x90
_mfi_autolearn_period:                  ## @mfi_autolearn_period
	.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	%rdx, %r14
	movq	%rsi, %r15
	movslq	%edi, %rax
	imulq	$-1037155065, %rax, %rcx        ## imm = 0xC22E4507
	shrq	$32, %rcx
	addl	%edi, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$16, %ecx
	addl	%edx, %ecx
	imull	$86400, %ecx, %edx              ## imm = 0x15180
	movl	%eax, %ebx
	subl	%edx, %ebx
	addl	$86399, %eax                    ## imm = 0x1517F
	cmpl	$172799, %eax                   ## imm = 0x2A2FF
	jae	LBB0_1
## %bb.4:
	leal	3599(%rbx), %eax
	cmpl	$7199, %eax                     ## imm = 0x1C1F
	jae	LBB0_3
## %bb.5:
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_1:
	addl	$-86400, %edi                   ## imm = 0xFFFEAE80
	cmpl	$86400, %edi                    ## imm = 0x15180
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmovbq	%rax, %r8
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
	leal	3599(%rbx), %ecx
	cmpl	$7199, %ecx                     ## imm = 0x1C1F
	jae	LBB0_2
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cltq
	subq	%rax, %r14
	addq	%rax, %r15
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	addq	%rax, %r15
	addq	$-2, %r14
LBB0_3:
	movslq	%ebx, %rax
	imulq	$-1851608123, %rax, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%ebx, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$11, %ecx
	addl	%eax, %ecx
	addl	$-3600, %ebx                    ## imm = 0xF1F0
	cmpl	$3600, %ebx                     ## imm = 0xE10
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmovbq	%rax, %r8
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u day%s"

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

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

L_.str.3:                               ## @.str.3
	.asciz	", "

L_.str.4:                               ## @.str.4
	.asciz	"%u hour%s"

L_.str.5:                               ## @.str.5
	.asciz	"less than 1 hour"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mfi_autolearn_period           ; -- Begin function mfi_autolearn_period
	.p2align	2
_mfi_autolearn_period:                  ; @mfi_autolearn_period
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x19, x1
	mov	w8, #20864
	movk	w8, #1, lsl #16
	mov	w9, #17671
	movk	w9, #49710, lsl #16
	smull	x9, w0, w9
	lsr	x9, x9, #32
	add	w9, w9, w0
	asr	w10, w9, #16
	add	w9, w10, w9, lsr #31
	msub	w21, w9, w8, w0
	add	w10, w0, w8
	sub	w10, w10, #1
	mov	w11, #41727
	movk	w11, #2, lsl #16
Lloh0:
	adrp	x22, l_.str.2@PAGE
Lloh1:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
	cmp	w10, w11
	b.hs	LBB0_3
; %bb.1:
	add	w8, w21, #3599
	mov	w9, #7199
	cmp	w8, w9
	b.hs	LBB0_5
; %bb.2:
Lloh4:
	adrp	x2, l_.str.5@PAGE
Lloh5:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #80
	b	_snprintf
LBB0_3:
	sub	w10, w0, #21, lsl #12           ; =86016
	sub	w10, w10, #384
	cmp	w10, w8
	csel	x8, x23, x22, lo
	stp	x9, x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	add	w8, w21, #3599
	mov	w9, #7199
	cmp	w8, w9
	b.lo	LBB0_6
; %bb.4:
	sxtw	x8, w0
	sub	x20, x20, x8
	add	x19, x19, x8
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	add	x19, x19, w0, sxtw
	sub	x20, x20, #2
LBB0_5:
	mov	w8, #46021
	movk	w8, #37282, lsl #16
	smull	x8, w21, w8
	lsr	x8, x8, #32
	add	w8, w8, w21
	asr	w9, w8, #11
	add	w8, w9, w8, lsr #31
	sub	w9, w21, #3600
	cmp	w9, #3600
	csel	x9, x23, x22, lo
	stp	x8, x9, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.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 day%s"

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

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

l_.str.3:                               ; @.str.3
	.asciz	", "

l_.str.4:                               ; @.str.4
	.asciz	"%u hour%s"

l_.str.5:                               ; @.str.5
	.asciz	"less than 1 hour"

.subsections_via_symbols
