	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_date_from_isodate      ## -- Begin function timelib_date_from_isodate
	.p2align	4, 0x90
_timelib_date_from_isodate:             ## @timelib_date_from_isodate
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	%edi, %r12d
	callq	_timelib_daynr_from_weeknr
	movl	%eax, %r13d
	leal	1(%r13), %r14d
	movl	%r12d, (%rbx)
	movl	%r12d, %edi
	callq	_timelib_is_leap
	testl	%r13d, %r13d
	jns	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	decl	%edi
	movl	%edi, (%rbx)
	callq	_timelib_is_leap
	cmpl	$1, %eax
	sbbl	$0, %r14d
	addl	$366, %r14d                     ## imm = 0x16E
	testl	%r14d, %r14d
	jle	LBB0_5
LBB0_1:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	$366, %eax                      ## imm = 0x16E
	subl	%ecx, %eax
	cmpl	%eax, %r14d
	jbe	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subl	%eax, %r14d
	movl	(%rbx), %edi
	incl	%edi
	movl	%edi, (%rbx)
	callq	_timelib_is_leap
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	$366, %eax                      ## imm = 0x16E
	subl	%ecx, %eax
	cmpl	%eax, %r14d
	jg	LBB0_2
LBB0_3:
	testb	%cl, %cl
	je	LBB0_4
## %bb.6:
	movq	_ml_table_common@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ml_table_leap@GOTPCREL(%rip), %rax
LBB0_7:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	$1, (%r15)
	movl	4(%rax), %ecx
	cmpl	%ecx, %r14d
	jle	LBB0_10
## %bb.8:
	movl	$2, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	subl	%ecx, %r14d
	movl	%edx, (%r15)
	movl	(%rax,%rdx,4), %ecx
	incq	%rdx
	cmpl	%ecx, %r14d
	jg	LBB0_9
LBB0_10:
	movl	%r14d, (%rsi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ml_table_leap,8,3              ## @ml_table_leap
	.comm	_ml_table_common,8,3            ## @ml_table_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timelib_date_from_isodate      ; -- Begin function timelib_date_from_isodate
	.p2align	2
_timelib_date_from_isodate:             ; @timelib_date_from_isodate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x0
	bl	_timelib_daynr_from_weeknr
	mov	x23, x0
	add	w24, w0, #1
	str	w22, [x21]
	mov	x0, x22
	bl	_timelib_is_leap
	tbz	w23, #31, LBB0_3
; %bb.1:
	mov	w22, #365
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	sub	w0, w8, #1
	str	w0, [x21]
	bl	_timelib_is_leap
	cmp	w0, #0
	cinc	w8, w22, ne
	add	w24, w8, w24
	cmp	w24, #1
	b.lt	LBB0_2
LBB0_3:
	cmp	w0, #0
	cset	w8, eq
	mov	w22, #365
	cinc	w9, w22, ne
	cmp	w24, w9
	b.ls	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w24, w9
	ldr	w8, [x21]
	add	w0, w8, #1
	str	w0, [x21]
	bl	_timelib_is_leap
	cmp	w0, #0
	cset	w8, eq
	cinc	w9, w22, ne
	cmp	w24, w9
	b.gt	LBB0_4
LBB0_5:
Lloh0:
	adrp	x9, _ml_table_leap@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ml_table_leap@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ml_table_common@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ml_table_common@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, ne
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x20]
	ldr	w9, [x8, #4]
	cmp	w24, w9
	b.le	LBB0_8
; %bb.6:
	mov	w10, #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x20]
	sub	w24, w24, w9
	ldr	w9, [x8, x10, lsl #2]
	add	x10, x10, #1
	cmp	w24, w9
	b.gt	LBB0_7
LBB0_8:
	str	w24, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ml_table_leap,8,3              ; @ml_table_leap
	.comm	_ml_table_common,8,3            ; @ml_table_common
.subsections_via_symbols
