	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_week_number_mon
_set_week_number_mon:                   ## @set_week_number_mon
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_tm_year_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_first_day
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %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
	leal	(,%rbx,8), %ecx
	subl	%ebx, %ecx
	movl	4(%r14), %edx
	movl	%edx, %esi
	addl	$6, %esi
	movslq	%esi, %rsi
	imulq	$-1840700269, %rsi, %rsi        ## imm = 0x92492493
	shrq	$32, %rsi
	addl	%edx, %esi
	addl	$6, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$2, %esi
	addl	%edi, %esi
	leal	(,%rsi,8), %edi
	subl	%edi, %esi
	addl	%esi, %edx
	addl	$6, %edx
	subl	%eax, %ecx
	addl	%edx, %ecx
	movl	%ecx, (%r14)
	jns	LBB0_2
## %bb.1:
	incb	%al
	movsbl	%al, %eax
	imull	$-109, %eax, %ecx
	shrl	$8, %ecx
	addb	%al, %cl
	movl	%ecx, %edx
	shrb	$7, %dl
	sarb	$2, %cl
	addb	%dl, %cl
	movzbl	%cl, %ecx
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	subb	%dl, %al
	movsbl	%al, %eax
	movl	%eax, 4(%r14)
	movl	$0, (%r14)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tm_year_base,8,3               ## @tm_year_base
	.no_dead_strip	_set_week_number_mon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_week_number_mon
_set_week_number_mon:                   ; @set_week_number_mon
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _tm_year_base@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tm_year_base@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_first_day
	add	w8, w0, #6
	mov	w9, #9363
	movk	w9, #37449, lsl #16
	smull	x10, w8, w9
	lsr	x10, x10, #32
	add	w10, w10, w8
	asr	w11, w10, #2
	add	w10, w11, w10, lsr #31
	sub	w10, w10, w10, lsl #3
	add	w8, w8, w10
	ldr	w10, [x19, #4]
	add	w10, w10, #6
	smull	x9, w10, w9
	lsr	x9, x9, #32
	add	w9, w9, w10
	asr	w11, w9, #2
	add	w9, w11, w9, lsr #31
	lsl	w11, w20, #3
	sub	w9, w9, w9, lsl #3
	sub	w11, w11, w20
	sub	w11, w11, w8
	add	w9, w10, w9
	adds	w9, w11, w9
	str	w9, [x19]
	b.pl	LBB0_2
; %bb.1:
	add	w8, w8, #1
	sxtb	w9, w8
	mov	w10, #-109
	mul	w9, w9, w10
	add	w9, w8, w9, lsr #8
	and	w10, w9, #0x80
	sxtb	w9, w9
	lsr	w9, w9, #2
	add	w9, w9, w10, lsr #7
	sub	w9, w9, w9, lsl #3
	add	w8, w8, w9
	sxtb	w8, w8
	stp	wzr, w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tm_year_base,8,3               ; @tm_year_base
	.no_dead_strip	_set_week_number_mon
.subsections_via_symbols
