	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_range_limit_days
_do_range_limit_days:                   ## @do_range_limit_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	%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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdx), %rax
	movq	_DAYS_PER_LYEAR_PERIOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jae	LBB0_2
## %bb.1:
	movq	%rsi, %rdx
	negq	%rdx
	cmpq	%rdx, %rax
	ja	LBB0_9
LBB0_2:
	movq	_YEARS_PER_LYEAR_PERIOD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	imulq	%rdi, %rax
	addq	%rax, (%r12)
	movq	(%rcx), %rcx
	movq	(%r15), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:
	movq	%rdx, (%r15)
LBB0_9:
	movl	$1, %edi
	movl	$13, %esi
	movl	$12, %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_do_range_limit
	movq	(%r12), %rdi
	callq	_timelib_is_leap
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_days_in_month_leap@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_days_in_month@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%r14), %rbx
	leaq	(,%rbx,8), %rax
	addq	(%rcx), %rax
	movq	(%rax), %r13
	xorl	%eax, %eax
	decq	%rbx
	sete	%al
	movq	(%r12), %rdi
	subq	%rax, %rdi
	callq	_timelib_is_leap
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.17:
	xorl	%eax, %eax
	subq	%r13, %rcx
	jbe	LBB0_20
## %bb.18:
	movl	$1, %eax
	jmp	LBB0_19
LBB0_13:
	testq	%rbx, %rbx
	movl	$12, %ecx
	cmovneq	%rbx, %rcx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	movq	_days_in_month@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_days_in_month_leap@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rcx
	movq	$-1, %rax
LBB0_19:
	movq	%rcx, (%r15)
	addq	%rax, (%r14)
	movl	$1, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAYS_PER_LYEAR_PERIOD,8,3      ## @DAYS_PER_LYEAR_PERIOD
	.comm	_YEARS_PER_LYEAR_PERIOD,8,3     ## @YEARS_PER_LYEAR_PERIOD
	.comm	_days_in_month_leap,8,3         ## @days_in_month_leap
	.comm	_days_in_month,8,3              ## @days_in_month
	.no_dead_strip	_do_range_limit_days
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_range_limit_days
_do_range_limit_days:                   ; @do_range_limit_days
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x9, [x2]
Lloh0:
	adrp	x8, _DAYS_PER_LYEAR_PERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAYS_PER_LYEAR_PERIOD@GOTPAGEOFF]
	ldr	x10, [x8]
	neg	x11, x10
	cmp	x9, x10
	ccmp	x9, x11, #0, lo
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x11, _YEARS_PER_LYEAR_PERIOD@GOTPAGE
Lloh3:
	ldr	x11, [x11, _YEARS_PER_LYEAR_PERIOD@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	udiv	x9, x9, x10
	ldr	x10, [x21]
	madd	x9, x9, x11, x10
	str	x9, [x21]
	ldr	x8, [x8]
	ldr	x9, [x20]
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	str	x8, [x20]
LBB0_2:
	mov	w0, #1
	mov	w1, #13
	mov	w2, #12
	mov	x3, x19
	mov	x4, x21
	bl	_do_range_limit
	ldr	x0, [x21]
	bl	_timelib_is_leap
Lloh5:
	adrp	x22, _days_in_month_leap@GOTPAGE
Lloh6:
	ldr	x22, [x22, _days_in_month_leap@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x9, [x22]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _days_in_month@GOTPAGE
Lloh8:
	ldr	x8, [x8, _days_in_month@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x8]
LBB0_5:
	ldr	x8, [x19]
	add	x9, x9, x8, lsl #3
	ldr	x24, [x9]
	subs	x23, x8, #1
	cset	w8, eq
	ldr	x9, [x21]
	sub	x0, x9, x8
	bl	_timelib_is_leap
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.6:
	subs	x8, x8, x24
	b.ls	LBB0_10
; %bb.7:
	mov	w9, #1
	b	LBB0_9
LBB0_8:
	mov	w8, #12
	cmp	x23, #0
	csel	x8, x8, x23, eq
Lloh10:
	adrp	x9, _days_in_month@GOTPAGE
Lloh11:
	ldr	x9, [x9, _days_in_month@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x22, eq
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	mov	x9, #-1
LBB0_9:
	str	x8, [x20]
	ldr	x8, [x19]
	add	x8, x8, x9
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DAYS_PER_LYEAR_PERIOD,8,3      ; @DAYS_PER_LYEAR_PERIOD
	.comm	_YEARS_PER_LYEAR_PERIOD,8,3     ; @YEARS_PER_LYEAR_PERIOD
	.comm	_days_in_month_leap,8,3         ; @days_in_month_leap
	.comm	_days_in_month,8,3              ; @days_in_month
	.no_dead_strip	_do_range_limit_days
.subsections_via_symbols
