	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_sdc_rtc_read_rt
_hp_sdc_rtc_read_rt:                    ## @hp_sdc_rtc_read_rt
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_HP_SDC_CMD_LOAD_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$5, %esi
	callq	_hp_sdc_rtc_read_i8042timer
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	andl	$16777215, %ecx                 ## imm = 0xFFFFFF
	shrl	$24, %eax
	imulq	$1374389535, %rcx, %rdx         ## imm = 0x51EB851F
	shrq	$37, %rdx
	imull	$100, %edx, %esi
	subl	%esi, %ecx
	imull	$10000000, %ecx, %ecx           ## imm = 0x989680
	movq	%rcx, (%rbx)
	imull	$86400, %eax, %eax              ## imm = 0x15180
	addl	%edx, %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HP_SDC_CMD_LOAD_RT,4,2         ## @HP_SDC_CMD_LOAD_RT
	.no_dead_strip	_hp_sdc_rtc_read_rt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_sdc_rtc_read_rt
_hp_sdc_rtc_read_rt:                    ; @hp_sdc_rtc_read_rt
	.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
Lloh0:
	adrp	x8, _HP_SDC_CMD_LOAD_RT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HP_SDC_CMD_LOAD_RT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #5
	bl	_hp_sdc_rtc_read_i8042timer
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	and	w9, w8, #0xffffff
	lsr	w8, w8, #24
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x10, w9, w10
	lsr	x10, x10, #37
	mov	w11, #100
	msub	w9, w10, w11, w9
	mov	w11, #38528
	movk	w11, #152, lsl #16
	mul	w9, w9, w11
	str	x9, [x19]
	mov	w9, #20864
	movk	w9, #1, lsl #16
	madd	w8, w8, w9, w10
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HP_SDC_CMD_LOAD_RT,4,2         ; @HP_SDC_CMD_LOAD_RT
	.no_dead_strip	_hp_sdc_rtc_read_rt
.subsections_via_symbols
