	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_tm
_update_tm:                             ## @update_tm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jns	LBB0_2
## %bb.1:
	movq	(%rsi), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	cmpq	$0, 16(%rbx)
	jns	LBB0_7
	jmp	LBB0_5
LBB0_3:
	movq	8(%rsi), %rax
	movq	%rax, 8(%rbx)
	cmpq	$0, 16(%rbx)
	jns	LBB0_7
LBB0_5:
	movq	16(%rsi), %rcx
	movq	%rcx, 16(%rbx)
	cmpq	8(%rsi), %rax
	jle	LBB0_7
## %bb.6:
	decq	%rcx
	movq	%rcx, 16(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	callq	_mktime
	subq	%r14, %rax
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_localtime_r
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_tm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_tm
_update_tm:                             ; @update_tm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_4
LBB0_2:
	ldr	x9, [x19, #16]
	tbz	x9, #63, LBB0_7
	b	LBB0_5
LBB0_3:
	ldr	x8, [x1]
	str	x8, [x19]
	ldr	x8, [x19, #8]
	tbz	x8, #63, LBB0_2
LBB0_4:
	ldr	x8, [x1, #8]
	str	x8, [x19, #8]
	ldr	x9, [x19, #16]
	tbz	x9, #63, LBB0_7
LBB0_5:
	ldp	x10, x9, [x1, #8]
	str	x9, [x19, #16]
	cmp	x8, x10
	b.le	LBB0_7
; %bb.6:
	sub	x8, x9, #1
	str	x8, [x19, #16]
LBB0_7:
	mov	x0, x19
	bl	_mktime
	sub	x8, x0, x20
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_localtime_r
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_tm
.subsections_via_symbols
