	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function computeHMS
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_computeHMS:                            ## @computeHMS
	.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
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	callq	_computeJD
	movl	4(%rbx), %eax
	movl	%eax, %ecx
	addl	$43200000, %ecx                 ## imm = 0x2932E00
	movslq	%ecx, %rcx
	imulq	$833999931, %rcx, %rcx          ## imm = 0x31B5D43B
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	sarl	$24, %ecx
	addl	%edx, %ecx
	imull	$86400000, %ecx, %ecx           ## imm = 0x5265C00
	negl	%ecx
	addl	%ecx, %eax
	addl	$43200000, %eax                 ## imm = 0x2932E00
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	cltq
	imulq	$-1851608123, %rax, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$11, %ecx
	addl	%edx, %ecx
	movl	%ecx, 12(%rbx)
	imull	$-3600, %ecx, %ecx              ## imm = 0xF1F0
	addl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	movl	%ecx, 16(%rbx)
	imull	$-60, %ecx, %ecx
	addl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movq	$0, 24(%rbx)
	movl	$1, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_computeHMS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computeHMS
_computeHMS:                            ; @computeHMS
	.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
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_computeJD
	ldr	w8, [x19, #4]
	mov	w9, #11776
	movk	w9, #659, lsl #16
	add	w8, w8, w9
	mov	w9, #54331
	movk	w9, #12725, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #24
	mov	w10, #23552
	movk	w10, #1318, lsl #16
	msub	w8, w9, w10, w8
	scvtf	d0, w8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w8, d0
	mov	w9, #46021
	movk	w9, #37282, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #11
	add	w9, w10, w9, lsr #31
	mov	w10, #-3600
	madd	w8, w9, w10, w8
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x10, w8, w10
	lsr	x10, x10, #32
	add	w10, w10, w8
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	mov	w11, #-60
	madd	w8, w10, w11, w8
	stp	w9, w10, [x19, #12]
	str	w8, [x19, #8]
	str	xzr, [x19, #24]
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_computeHMS
.subsections_via_symbols
