	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_struct_tm
_get_struct_tm:                         ## @get_struct_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	8(%rdi), %ebx
	movslq	12(%rdi), %r12
	movl	%r12d, %r15d
	xorl	%ebx, %r15d
	leal	1(%rbx), %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, %r14d
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jns	LBB0_8
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_M_ISNEG
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_MINFOLD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jle	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%r13
	movq	_SOLAR_CYCLE_SECS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_M_ADD
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_MAXFOLD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jge	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	movq	_SOLAR_CYCLE_SECS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_M_SUB
	jmp	LBB0_1
LBB0_8:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.10:
	movq	_gmtime@GOTPCREL(%rip), %rbx
	jmp	LBB0_11
LBB0_9:
	movq	_localtime@GOTPCREL(%rip), %rbx
LBB0_11:
	movq	%r12, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_20:
	movq	%rax, %r14
	movl	$1, %edi
	callq	_INSIST
	testq	%r13, %r13
	je	LBB0_23
## %bb.21:
	movq	_SOLAR_CYCLE_YEARS@GOTPCREL(%rip), %rax
	imulq	(%rax), %r13
	movq	(%r14), %rax
	leaq	(%rax,%r13), %rcx
	movq	%rcx, (%r14)
	addq	%r13, %rax
	addq	$-200, %rax
	cmpq	$-199, %rax
	jae	LBB0_23
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_MINFOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jle	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	decq	%r13
	movq	_SOLAR_CYCLE_SECS@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	*%rbx
	testq	%rax, %rax
	jne	LBB0_20
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	js	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_SOLAR_CYCLE_SECS@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jl	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_MAXFOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jge	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r13
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_MINFOLD,8,3                    ## @MINFOLD
	.comm	_SOLAR_CYCLE_SECS,8,3           ## @SOLAR_CYCLE_SECS
	.comm	_MAXFOLD,8,3                    ## @MAXFOLD
	.comm	_SOLAR_CYCLE_YEARS,8,3          ## @SOLAR_CYCLE_YEARS
	.no_dead_strip	_get_struct_tm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_struct_tm
_get_struct_tm:                         ; @get_struct_tm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x22, #0
	ldp	w21, w20, [x0, #8]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	eor	w26, w20, w21
Lloh0:
	adrp	x23, _MAXFOLD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAXFOLD@GOTPAGEOFF]
Lloh2:
	adrp	x24, _SOLAR_CYCLE_SECS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SOLAR_CYCLE_SECS@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MINFOLD@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MINFOLD@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w21, #1
	cmp	w8, #1
	b.hi	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	tbz	w26, #31, LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_M_ISNEG
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x25]
	cmp	x22, x8
	b.le	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x22, x22, #1
	ldr	x3, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_M_ADD
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x23]
	cmp	x22, x8
	b.ge	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x22, x22, #1
	ldr	x3, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_M_SUB
	b	LBB0_1
LBB0_8:
Lloh6:
	adrp	x8, _localtime@GOTPAGE
Lloh7:
	ldr	x8, [x8, _localtime@GOTPAGEOFF]
Lloh8:
	adrp	x9, _gmtime@GOTPAGE
Lloh9:
	ldr	x9, [x9, _gmtime@GOTPAGEOFF]
	cmp	w19, #0
	csel	x21, x9, x8, eq
	str	x20, [sp, #8]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	blr	x21
	cbnz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x24]
	ldr	x10, [x23]
	subs	x8, x8, x9
	ccmp	x22, x10, #0, ge
	b.ge	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	str	x8, [sp, #8]
	b	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x25]
	cmp	x22, x9
	b.le	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x22, x22, #1
	ldr	x9, [x24]
	add	x8, x9, x8
	str	x8, [sp, #8]
	b	LBB0_9
LBB0_15:
	mov	x19, x0
	mov	w0, #1
	bl	_INSIST
	cbz	x22, LBB0_18
; %bb.16:
Lloh10:
	adrp	x8, _SOLAR_CYCLE_YEARS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOLAR_CYCLE_YEARS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x19]
	madd	x8, x8, x22, x9
	str	x8, [x19]
	sub	x8, x8, #200
	cmn	x8, #199
	b.hs	LBB0_18
LBB0_17:
	mov	x19, #0
LBB0_18:
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MINFOLD,8,3                    ; @MINFOLD
	.comm	_SOLAR_CYCLE_SECS,8,3           ; @SOLAR_CYCLE_SECS
	.comm	_MAXFOLD,8,3                    ; @MAXFOLD
	.comm	_SOLAR_CYCLE_YEARS,8,3          ; @SOLAR_CYCLE_YEARS
	.no_dead_strip	_get_struct_tm
.subsections_via_symbols
