	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isocal_weeks_in_years          ## -- Begin function isocal_weeks_in_years
	.p2align	4, 0x90
_isocal_weeks_in_years:                 ## @isocal_weeks_in_years
	.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
	movl	%edi, %ebx
	callq	_int32_sflag
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_int32_to_uint32_2cpl
	movl	%eax, %ecx
	xorl	%r14d, %ecx
	imulq	$1374389535, %rcx, %r13         ## imm = 0x51EB851F
	shrq	$37, %r13
	xorl	%r14d, %r13d
	imull	$-100, %r13d, %r15d
	addl	%eax, %r15d
	leal	1(%r13,%r13,2), %r12d
	movl	%r12d, %edi
	xorl	%r14d, %edi
	shrl	$2, %edi
	xorl	%r14d, %edi
	callq	_uint32_2cpl_to_int32
	movl	%eax, %r14d
	andl	$3, %r12d
	imull	$53431, %r15d, %ebx             ## imm = 0xD0B7
	leaq	_isocal_weeks_in_years.bctab(%rip), %rax
	addl	(%rax,%r12,4), %ebx
	shrl	$10, %ebx
	movl	%r13d, %edi
	callq	_uint32_2cpl_to_int32
	imull	$5217, %eax, %eax               ## imm = 0x1461
	addl	%r14d, %eax
	addl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @isocal_weeks_in_years.bctab
_isocal_weeks_in_years.bctab:
	.long	157                             ## 0x9d
	.long	449                             ## 0x1c1
	.long	597                             ## 0x255
	.long	889                             ## 0x379

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isocal_weeks_in_years          ; -- Begin function isocal_weeks_in_years
	.p2align	2
_isocal_weeks_in_years:                 ; @isocal_weeks_in_years
	.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
	bl	_int32_sflag
	mov	x20, x0
	mov	x0, x19
	bl	_int32_to_uint32_2cpl
	eor	w8, w0, w20
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #37
	eor	w19, w8, w20
	mov	w8, #-100
	madd	w21, w19, w8, w0
	add	w8, w19, w19, lsl #1
	add	w22, w8, #1
	eor	w8, w22, w20
	eor	w0, w20, w8, lsr #2
	bl	_uint32_2cpl_to_int32
	mov	x20, x0
	and	w8, w22, #0x3
	mov	w9, #53431
Lloh0:
	adrp	x10, _isocal_weeks_in_years.bctab@PAGE
Lloh1:
	add	x10, x10, _isocal_weeks_in_years.bctab@PAGEOFF
	ldr	w8, [x10, w8, uxtw #2]
	madd	w21, w21, w9, w8
	mov	x0, x19
	bl	_uint32_2cpl_to_int32
	mov	w8, #5217
	madd	w8, w0, w8, w20
	add	w0, w8, w21, lsr #10
	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                               ; @isocal_weeks_in_years.bctab
_isocal_weeks_in_years.bctab:
	.long	157                             ; 0x9d
	.long	449                             ; 0x1c1
	.long	597                             ; 0x255
	.long	889                             ; 0x379

.subsections_via_symbols
