	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function localtime_3
_localtime_3:                           ## @localtime_3
	.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
	movl	(%rdi), %ebx
	movq	_DSE_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_days_since_epoch@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %eax
	cmpl	%eax, %ebx
	jae	LBB0_4
## %bb.1:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%edx
	movl	(%rcx,%rdx,4), %eax
	cmpl	%eax, %ebx
	jb	LBB0_2
## %bb.3:
	subl	%edx, %edi
LBB0_4:
	subl	%eax, %ebx
	callq	_is_leap
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_days_since_leapyear@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movq	(%r15), %rcx
	decl	%eax
	movl	%eax, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	subl	$1, %esi
	jb	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	movl	%esi, %eax
	cmpl	%ebx, %edx
	ja	LBB0_6
	jmp	LBB0_11
LBB0_8:
	movq	_days_since_year@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movq	(%r15), %rcx
	decl	%eax
	movl	%eax, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	subl	$1, %esi
	jb	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edx
	movl	%esi, %eax
	cmpl	%ebx, %edx
	ja	LBB0_9
LBB0_11:
	incl	%esi
	movl	%esi, %eax
	jmp	LBB0_12
LBB0_13:
	movl	(%rcx), %edx
LBB0_12:
	subl	%edx, %ebx
	incl	%ebx
	movl	%ebx, 4(%r14)
	incl	%eax
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSE_FIRST,4,2                  ## @DSE_FIRST
	.comm	_days_since_epoch,8,3           ## @days_since_epoch
	.comm	_days_since_leapyear,8,3        ## @days_since_leapyear
	.comm	_days_since_year,8,3            ## @days_since_year
	.no_dead_strip	_localtime_3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function localtime_3
_localtime_3:                           ; @localtime_3
	.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	w8, [x0]
Lloh0:
	adrp	x9, _DSE_FIRST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DSE_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _days_since_epoch@GOTPAGE
Lloh4:
	ldr	x9, [x9, _days_since_epoch@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x9]
	ldr	w9, [x10]
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.1:
	mov	w11, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w11, #1
	ldr	w9, [x10, w11, uxtw #2]
	cmp	w8, w9
	b.lo	LBB0_2
; %bb.3:
	sub	w0, w0, w11
LBB0_4:
	sub	w20, w8, w9
	bl	_is_leap
	cbz	x0, LBB0_8
; %bb.5:
Lloh6:
	adrp	x21, _days_since_leapyear@GOTPAGE
Lloh7:
	ldr	x21, [x21, _days_since_leapyear@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	ldr	x9, [x21]
	sub	w8, w0, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x9, w8, uxtw #2]
	sub	w8, w8, #1
	cmp	w10, w20
	b.hi	LBB0_6
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x21, _days_since_year@GOTPAGE
Lloh9:
	ldr	x21, [x21, _days_since_year@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	ldr	x9, [x21]
	sub	w8, w0, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w10, [x9, w8, uxtw #2]
	sub	w8, w8, #1
	cmp	w10, w20
	b.hi	LBB0_9
LBB0_11:
	add	w8, w8, #1
	b	LBB0_13
LBB0_12:
	ldr	w10, [x9]
LBB0_13:
	sub	w9, w20, w10
	add	w9, w9, #1
	add	w8, w8, #1
	stp	w9, w8, [x19, #4]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DSE_FIRST,4,2                  ; @DSE_FIRST
	.comm	_days_since_epoch,8,3           ; @days_since_epoch
	.comm	_days_since_leapyear,8,3        ; @days_since_leapyear
	.comm	_days_since_year,8,3            ; @days_since_year
	.no_dead_strip	_localtime_3
.subsections_via_symbols
