	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_do_normalize           ## -- Begin function timelib_do_normalize
	.p2align	4, 0x90
_timelib_do_normalize:                  ## @timelib_do_normalize
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_TIMELIB_UNSET@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	leaq	8(%r14), %r8
	xorl	%edi, %edi
	movl	$1000000, %esi                  ## imm = 0xF4240
	movl	$1000000, %edx                  ## imm = 0xF4240
	movq	%r14, %rcx
	callq	_do_range_limit
	movq	(%rbx), %rax
LBB0_2:
	movslq	8(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.4:
	cmpq	%rcx, %rax
	jne	LBB0_5
LBB0_6:
	cmpq	%rcx, %rax
	je	LBB0_8
LBB0_7:
	leaq	16(%r14), %rcx
	leaq	20(%r14), %r8
	xorl	%edi, %edi
	movl	$24, %esi
	movl	$24, %edx
	callq	_do_range_limit
LBB0_8:
	leaq	24(%r14), %rbx
	leaq	28(%r14), %r15
	movl	$1, %edi
	movl	$13, %esi
	movl	$12, %edx
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_do_range_limit
	cmpl	$1970, 28(%r14)                 ## imm = 0x7B2
	jne	LBB0_12
## %bb.9:
	cmpl	$1, (%rbx)
	jne	LBB0_12
## %bb.10:
	cmpl	$1, 20(%r14)
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_magic_date_calc
LBB0_12:
	addq	$20, %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_do_range_limit_days
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movl	$1, %edi
	movl	$13, %esi
	movl	$12, %edx
	movq	%rbx, %rcx
	movq	%r15, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_range_limit                 ## TAILCALL
LBB0_3:
	leaq	8(%r14), %rcx
	leaq	12(%r14), %r8
	xorl	%edi, %edi
	movl	$60, %esi
	movl	$60, %edx
	callq	_do_range_limit
	movslq	8(%r14), %rcx
	movq	(%rbx), %rax
	cmpq	%rcx, %rax
	je	LBB0_6
LBB0_5:
	leaq	12(%r14), %rcx
	leaq	16(%r14), %r8
	xorl	%edi, %edi
	movl	$60, %esi
	movl	$60, %edx
	callq	_do_range_limit
	movslq	8(%r14), %rcx
	movq	(%rbx), %rax
	cmpq	%rcx, %rax
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMELIB_UNSET,8,3              ## @TIMELIB_UNSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_do_normalize           ; -- Begin function timelib_do_normalize
	.p2align	2
_timelib_do_normalize:                  ; @timelib_do_normalize
	.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	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _TIMELIB_UNSET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TIMELIB_UNSET@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	add	x4, x19, #8
	mov	w0, #0
	mov	w1, #16960
	movk	w1, #15, lsl #16
	mov	w2, #16960
	movk	w2, #15, lsl #16
	mov	x3, x19
	bl	_do_range_limit
	ldr	x8, [x20]
LBB0_2:
	mov	x3, x19
	ldrsw	x9, [x3, #8]!
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.3:
	cmp	x8, x9
	b.ne	LBB0_14
LBB0_4:
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_5:
	add	x3, x19, #16
	add	x4, x19, #20
	mov	w0, #0
	mov	w1, #24
	mov	w2, #24
	bl	_do_range_limit
LBB0_6:
	add	x20, x19, #24
	add	x21, x19, #28
	mov	w0, #1
	mov	w1, #13
	mov	w2, #12
	mov	x3, x20
	mov	x4, x21
	bl	_do_range_limit
	ldr	w8, [x19, #28]
	cmp	w8, #1970
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x19, #20]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_magic_date_calc
LBB0_10:
	add	x19, x19, #20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_do_range_limit_days
	cbnz	x0, LBB0_11
; %bb.12:
	mov	w0, #1
	mov	w1, #13
	mov	w2, #12
	mov	x3, x20
	mov	x4, x21
	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
	b	_do_range_limit
LBB0_13:
	add	x4, x19, #12
	mov	w0, #0
	mov	w1, #60
	mov	w2, #60
	bl	_do_range_limit
	ldrsw	x9, [x19, #8]
	ldr	x8, [x20]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_14:
	add	x3, x19, #12
	add	x4, x19, #16
	mov	w0, #0
	mov	w1, #60
	mov	w2, #60
	bl	_do_range_limit
	ldrsw	x9, [x19, #8]
	ldr	x8, [x20]
	cmp	x8, x9
	b.ne	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMELIB_UNSET,8,3              ; @TIMELIB_UNSET
.subsections_via_symbols
