	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function time_from_tm
_time_from_tm:                          ## @time_from_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mktime
	cmpq	$-1, %rax
	je	LBB0_1
## %bb.2:
	imull	$60, 4(%rbx), %eax
	imull	$3600, 8(%rbx), %r8d            ## imm = 0xE10
	movl	16(%rbx), %edi
	imull	$31536000, %edi, %r9d           ## imm = 0x1E13380
	leal	-69(%rdi), %ecx
	leal	-66(%rdi), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$2, %esi
	leal	-1(%rdi), %ecx
	movslq	%ecx, %rcx
	imulq	$-1374389535, %rcx, %rcx        ## imm = 0xAE147AE1
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	addl	$299, %edi                      ## imm = 0x12B
	movslq	%edi, %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rdi
	shrq	$63, %rdi
	sarq	$39, %rdx
	addl	%edi, %edx
	addl	12(%rbx), %ecx
	addl	%edx, %ecx
	addl	%esi, %ecx
	imull	$86400, %ecx, %ecx              ## imm = 0x15180
	addl	(%rbx), %eax
	addl	%r8d, %eax
	addl	%r9d, %eax
	addl	%ecx, %eax
	addl	$2087447296, %eax               ## imm = 0x7C6BEB00
	cltq
	jmp	LBB0_3
LBB0_1:
	movq	$-1, %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_time_from_tm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function time_from_tm
_time_from_tm:                          ; @time_from_tm
	.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
	bl	_mktime
	cmn	x0, #1
	b.eq	LBB0_2
; %bb.1:
	ldp	w8, w9, [x19]
	mov	w10, #60
	mov	w11, #3600
	ldp	w12, w13, [x19, #8]
	ldr	w14, [x19, #16]
	mov	w15, #13184
	movk	w15, #481, lsl #16
	sub	w16, w14, #69
	sub	w17, w14, #66
	cmp	w16, #0
	csel	w16, w17, w16, lt
	sub	w17, w14, #1
	mov	w0, #31457
	movk	w0, #44564, lsl #16
	smull	x17, w17, w0
	lsr	x0, x17, #63
	asr	x17, x17, #37
	add	w1, w14, #299
	mov	w2, #34079
	movk	w2, #20971, lsl #16
	smull	x1, w1, w2
	lsr	x2, x1, #63
	asr	x1, x1, #39
	add	w17, w17, w0
	add	w13, w17, w13
	add	w17, w1, w2
	add	w13, w13, w17
	add	w13, w13, w16, asr #2
	mov	w16, #20864
	movk	w16, #1, lsl #16
	madd	w8, w9, w10, w8
	madd	w8, w12, w11, w8
	madd	w8, w14, w15, w8
	madd	w8, w13, w16, w8
	mov	w9, #60160
	movk	w9, #31851, lsl #16
	add	w8, w8, w9
	sxtw	x0, w8
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	_time_from_tm
.subsections_via_symbols
