	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_days
_determine_days:                        ## @determine_days
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	movl	8(%rdi), %ebx
	movslq	4(%rdi), %r12
	leaq	_determine_days.ydays(%rip), %rax
	movl	(%rax,%r12,4), %eax
	addl	%ebx, %eax
	decl	%eax
	movl	%eax, 12(%rdi)
	cmpq	$2, %r12
	jl	LBB0_2
## %bb.1:
	addl	$1900, %r15d                    ## imm = 0x76C
	movl	%r15d, %edi
	callq	_leap_year
	addl	%eax, 12(%r14)
	leal	2(%r12), %r8d
	jmp	LBB0_3
LBB0_2:
	leal	14(%r12), %r8d
	addl	$1899, %r15d                    ## imm = 0x76B
LBB0_3:
	movslq	%r15d, %rax
	imulq	$1374389535, %rax, %r9          ## imm = 0x51EB851F
	movq	%r9, %rcx
	shrq	$32, %rcx
	movl	%ecx, %esi
	sarl	$5, %esi
	shrq	$63, %r9
	addl	%r9d, %esi
	imull	$100, %esi, %edi
	subl	%edi, %eax
	leal	(%r8,%r8,2), %edi
	leal	(%r8,%rdi,4), %edi
	movslq	%edi, %rdi
	imulq	$1717986919, %rdi, %rdi         ## imm = 0x66666667
	movq	%rdi, %rdx
	shrq	$63, %rdx
	shrq	$32, %rdi
	sarl	%edi
	addl	%edx, %edi
	movl	%eax, %edx
	sarb	$7, %dl
	shrb	$6, %dl
	addb	%al, %dl
	sarb	$2, %dl
	movsbl	%dl, %edx
	sarl	$7, %ecx
	addl	%r9d, %ecx
	leal	(%rsi,%rsi,4), %esi
	addl	%edi, %ebx
	addl	%eax, %ebx
	addl	%ecx, %ebx
	addl	%esi, %ebx
	movl	%ebx, %eax
	addl	%edx, %eax
	leal	(%rdx,%rbx), %ecx
	addl	$6, %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%eax, %ecx
	addl	$6, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$2, %ecx
	addl	%edx, %ecx
	leal	(,%rcx,8), %edx
	subl	%edx, %ecx
	addl	%ecx, %eax
	addl	$6, %eax
	movl	%eax, 16(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @determine_days.ydays
_determine_days.ydays:
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	59                              ## 0x3b
	.long	90                              ## 0x5a
	.long	120                             ## 0x78
	.long	151                             ## 0x97
	.long	181                             ## 0xb5
	.long	212                             ## 0xd4
	.long	243                             ## 0xf3
	.long	273                             ## 0x111
	.long	304                             ## 0x130
	.long	334                             ## 0x14e

	.no_dead_strip	_determine_days
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_days
_determine_days:                        ; @determine_days
	.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
	ldp	w9, w22, [x0]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	ldr	w21, [x0, #8]
Lloh0:
	adrp	x8, _determine_days.ydays@PAGE
Lloh1:
	add	x8, x8, _determine_days.ydays@PAGEOFF
	ldr	w8, [x8, x22, lsl #2]
	add	w8, w21, w8
	sub	w8, w8, #1
	str	w8, [x0, #12]
	cmp	w22, #2
	b.lt	LBB0_2
; %bb.1:
	add	w20, w9, #1900
	mov	x0, x20
	bl	_leap_year
	ldr	w8, [x19, #12]
	add	w8, w8, w0
	str	w8, [x19, #12]
	add	w8, w22, #2
	b	LBB0_3
LBB0_2:
	add	w8, w22, #14
	add	w20, w9, #1899
LBB0_3:
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x9, w20, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w11, w9, w10, asr #5
	mov	w12, #100
	msub	w12, w11, w12, w20
	mov	w13, #13
	mul	w8, w8, w13
	mov	w13, #26215
	movk	w13, #26214, lsl #16
	smull	x8, w8, w13
	lsr	x13, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w13, asr #1
	sxtb	w13, w12
	ubfx	w13, w13, #13, #2
	add	w13, w12, w13
	sxtb	w13, w13
	add	w9, w9, w10, asr #7
	add	w10, w11, w11, lsl #2
	add	w8, w21, w8
	add	w8, w8, w12
	add	w8, w8, w9
	add	w8, w8, w10
	add	w8, w8, w13, asr #2
	add	w8, w8, #6
	mov	w9, #9363
	movk	w9, #37449, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #2
	add	w9, w10, w9, lsr #31
	sub	w9, w9, w9, lsl #3
	add	w8, w8, w9
	str	w8, [x19, #16]
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @determine_days.ydays
_determine_days.ydays:
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	59                              ; 0x3b
	.long	90                              ; 0x5a
	.long	120                             ; 0x78
	.long	151                             ; 0x97
	.long	181                             ; 0xb5
	.long	212                             ; 0xd4
	.long	243                             ; 0xf3
	.long	273                             ; 0x111
	.long	304                             ; 0x130
	.long	334                             ; 0x14e

	.no_dead_strip	_determine_days
.subsections_via_symbols
