	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_sub                    ## -- Begin function timelib_sub
	.p2align	4, 0x90
_timelib_sub:                           ## @timelib_sub
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_timelib_time_clone
	movq	%rax, %rbx
	movq	32(%r15), %r12
	leaq	32(%rax), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	(%r15), %eax
	movl	%eax, %ecx
	negl	%ecx
	xorl	%edx, %edx
	testq	%r12, %r12
	sete	%dl
	cmovnel	%eax, %ecx
	movslq	%ecx, %rax
	movq	%rax, 80(%rbx)
	movq	4(%r15), %xmm0                  ## xmm0 = mem[0],zero
	pshufd	$225, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,2,3]
	movd	%edx, %xmm1
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	pslld	$31, %xmm1
	psrad	$31, %xmm1
	pxor	%xmm1, %xmm0
	psubd	%xmm1, %xmm0
	pmovsxdq	%xmm0, %xmm0
	movdqu	%xmm0, 64(%rbx)
	movq	12(%r15), %xmm0                 ## xmm0 = mem[0],zero
	pshufd	$225, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,2,3]
	pxor	%xmm1, %xmm0
	psubd	%xmm1, %xmm0
	pmovsxdq	%xmm0, %xmm0
	movdqu	%xmm0, 48(%rbx)
	movq	20(%r15), %xmm0                 ## xmm0 = mem[0],zero
	pshufd	$225, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,2,3]
	pxor	%xmm1, %xmm0
	psubd	%xmm1, %xmm0
	pmovsxdq	%xmm0, %xmm0
	movdqu	%xmm0, 32(%rbx)
	movl	$1, (%rbx)
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_timelib_update_ts
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.2:
	cmpl	$0, 4(%rbx)
	jne	LBB0_8
	jmp	LBB0_4
LBB0_3:
	cmpl	$1, 4(%rbx)
	jne	LBB0_8
LBB0_4:
	cmpl	$0, (%r15)
	jne	LBB0_8
## %bb.5:
	cmpl	$0, 4(%r15)
	jne	LBB0_8
## %bb.6:
	cmpl	$0, 8(%r15)
	jne	LBB0_8
## %bb.7:
	movl	16(%rbx), %eax
	subl	8(%r14), %eax
	addl	8(%rbx), %eax
	movl	%eax, 16(%rbx)
LBB0_8:
	movq	%rbx, %rdi
	callq	_timelib_update_from_sse
	movl	$0, (%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_sub                    ; -- Begin function timelib_sub
	.p2align	2
_timelib_sub:                           ; @timelib_sub
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_timelib_time_clone
	mov	x19, x0
	ldr	x22, [x21, #32]
	add	x0, x0, #32
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	cmp	x22, #0
	cset	w8, eq
	ldur	d0, [x21, #4]
	rev64.2s	v0, v0
	neg.2s	v1, v0
	dup.2s	v2, w8
	shl.2s	v2, v2, #31
	cmlt.2s	v2, v2, #0
	bit.8b	v0, v1, v2
	ldur	d1, [x21, #12]
	rev64.2s	v1, v1
	neg.2s	v3, v1
	bit.8b	v1, v3, v2
	ldur	d3, [x21, #20]
	rev64.2s	v3, v3
	neg.2s	v4, v3
	bsl.8b	v2, v4, v3
	ldr	w8, [x21]
	cneg	w8, w8, eq
	sxtw	x8, w8
	str	x8, [x19, #80]
	sshll.2d	v3, v0, #0
	sshll.2d	v0, v1, #0
	sshll.2d	v1, v2, #0
	stp	q0, q3, [x19, #48]
	str	q1, [x19, #32]
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #24]
	mov	x0, x19
	mov	x1, #0
	bl	_timelib_update_ts
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.2:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_8
	b	LBB0_4
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_8
LBB0_4:
	ldr	w8, [x21]
	cbnz	w8, LBB0_8
; %bb.5:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_8
; %bb.6:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w8, [x20, #8]
	ldr	w9, [x19, #16]
	ldr	w10, [x19, #8]
	sub	w8, w9, w8
	add	w8, w8, w10
	str	w8, [x19, #16]
LBB0_8:
	mov	x0, x19
	bl	_timelib_update_from_sse
	str	wzr, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
