	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_sdc_rtc_read_ct
_hp_sdc_rtc_read_ct:                    ## @hp_sdc_rtc_read_ct
	.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_CT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	callq	_hp_sdc_rtc_read_i8042timer
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	shrq	$37, %rcx
	imull	$100, %ecx, %edx
	subl	%edx, %eax
	imull	$10000000, %eax, %eax           ## imm = 0x989680
	movq	%rax, (%rbx)
	movq	%rcx, 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_CT,4,2         ## @HP_SDC_CMD_LOAD_CT
	.no_dead_strip	_hp_sdc_rtc_read_ct
.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_ct
_hp_sdc_rtc_read_ct:                    ; @hp_sdc_rtc_read_ct
	.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_CT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HP_SDC_CMD_LOAD_CT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #3
	bl	_hp_sdc_rtc_read_i8042timer
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	and	w8, w8, #0xffffff
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #37
	mov	w10, #100
	msub	w8, w9, w10, w8
	mov	w10, #38528
	movk	w10, #152, lsl #16
	mul	w8, w8, w10
	stp	x8, x9, [x19]
	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_CT,4,2         ; @HP_SDC_CMD_LOAD_CT
	.no_dead_strip	_hp_sdc_rtc_read_ct
.subsections_via_symbols
