	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tv_to_str                      ## -- Begin function tv_to_str
	.p2align	4, 0x90
_tv_to_str:                             ## @tv_to_str
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_gmtime
	movl	%eax, %edi
	callq	_mktime
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_localtime
	movq	%rax, %r12
	movl	-44(%rbp), %esi
	movl	%r15d, %edi
	callq	_difftime
	cltq
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imulq	$-1851608123, %rax, %rbx        ## imm = 0x91A2B3C5
	shrq	$32, %rbx
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$11, %ebx
	addl	%eax, %ebx
	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
	imull	$60, %ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %r13d
	negl	%r13d
	cmovsl	%eax, %r13d
	movl	$48, %edi
	callq	_emalloc
	movl	$1900, %ecx                     ## imm = 0x76C
	addl	(%r12), %ecx
	movq	%rax, %r15
	movl	4(%r12), %r8d
	movl	8(%r12), %r9d
	incl	%r8d
	movl	12(%r12), %r10d
	movl	16(%r12), %r11d
	movl	20(%r12), %r12d
	movl	(%r14), %eax
	leaq	L_.str(%rip), %rdx
	movl	$48, %esi
	movq	%r15, %rdi
	pushq	%r13
	pushq	%rbx
	pushq	%rax
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_snprintf
	addq	$48, %rsp
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d-%.2d-%.2d %.2d:%.2d:%.2d.%.6d (%+03d%02d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tv_to_str                      ; -- Begin function tv_to_str
	.p2align	2
_tv_to_str:                             ; @tv_to_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w8, [x0, #8]
	str	w8, [sp, #28]
	add	x0, sp, #28
	bl	_gmtime
	bl	_mktime
	mov	x20, x0
	add	x0, sp, #28
	bl	_localtime
	mov	x21, x0
	ldr	w1, [sp, #28]
	mov	x0, x20
	bl	_difftime
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x9, w0, w8
	lsr	x9, x9, #32
	add	w9, w9, w0
	asr	w10, w9, #5
	add	w9, w10, w9, lsr #31
	mov	w10, #46021
	movk	w10, #37282, lsl #16
	smull	x10, w0, w10
	lsr	x10, x10, #32
	add	w10, w10, w0
	asr	w11, w10, #11
	add	w22, w11, w10, lsr #31
	smull	x8, w9, w8
	lsr	x8, x8, #32
	add	w8, w8, w9
	asr	w10, w8, #5
	add	w8, w10, w8, lsr #31
	mov	w10, #60
	msub	w8, w8, w10, w9
	cmp	w8, #0
	cneg	w23, w8, mi
	mov	w0, #48
	bl	_emalloc
	mov	x20, x0
	ldp	w8, w9, [x21]
	add	w3, w8, #1900
	add	w4, w9, #1
	ldp	w5, w6, [x21, #8]
	ldp	w7, w8, [x21, #16]
	ldr	x9, [x19]
	stp	w8, w9, [sp]
	stp	w22, w23, [sp, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #48
	bl	_snprintf
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d-%.2d-%.2d %.2d:%.2d:%.2d.%.6d (%+03d%02d)"

.subsections_via_symbols
