	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_magic_time
_read_magic_time:                       ## @read_magic_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	leaq	-24(%rbp), %rdi
	callq	_get_rtc_time
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	movl	-4(%rbp), %ecx
	movl	-16(%rbp), %r8d
	incl	%r8d
	movl	-12(%rbp), %r9d
	movslq	-8(%rbp), %r10
	imulq	$1374389535, %r10, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	shrq	$32, %rdi
	sarl	$5, %edi
	addl	%eax, %edi
	imull	$100, %edi, %eax
	subl	%eax, %r10d
	movl	%r10d, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_printk
	movl	-8(%rbp), %eax
	leal	-100(%rax), %ecx
	cmpl	$101, %eax
	cmovbl	%eax, %ecx
	imull	$100, -16(%rbp), %eax
	imull	$1200, -12(%rbp), %edx          ## imm = 0x4B0
	addl	%ecx, %eax
	addl	%eax, %edx
	imull	$33600, -24(%rbp), %eax         ## imm = 0x8340
	addl	%edx, %eax
	movslq	-20(%rbp), %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	imull	$806400, %ecx, %ecx             ## imm = 0xC4E00
	addl	%ecx, %eax
	addl	$-1200, %eax                    ## imm = 0xFB50
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Time: %2d:%02d:%02d  Date: %02d/%02d/%02d\n"

	.no_dead_strip	_read_magic_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_magic_time
_read_magic_time:                       ; @read_magic_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #8
	bl	_get_rtc_time
	ldp	w1, w2, [sp, #8]
	ldp	w8, w5, [sp, #16]
	add	w4, w8, #1
	ldp	w8, w3, [sp, #24]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #5
	mov	w19, #100
	msub	w6, w9, w19, w8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	ldp	w10, w8, [sp, #20]
	subs	w9, w8, #100
	csel	w8, w9, w8, hi
	ldp	w14, w9, [sp, #12]
                                        ; kill: def $w14 killed $w14 def $x14
	sxtw	x14, w14
	mov	w11, #1200
	mov	w12, #33600
	ldr	w13, [sp, #8]
	mov	w15, #21846
	movk	w15, #21845, lsl #16
	mul	x14, x14, x15
	lsr	x15, x14, #63
	lsr	x14, x14, #32
	add	w14, w14, w15
	mov	w15, #19968
	movk	w15, #12, lsl #16
	madd	w8, w9, w19, w8
	madd	w8, w10, w11, w8
	madd	w8, w13, w12, w8
	madd	w8, w14, w15, w8
	sub	w0, w8, #1200
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Time: %2d:%02d:%02d  Date: %02d/%02d/%02d\n"

	.no_dead_strip	_read_magic_time
.subsections_via_symbols
