	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JewishToSdn                    ## -- Begin function JewishToSdn
	.p2align	4, 0x90
_JewishToSdn:                           ## @JewishToSdn
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testl	%edi, %edi
	jle	LBB0_27
## %bb.1:
	movl	%edx, %r14d
	leal	-31(%r14), %eax
	cmpl	$-30, %eax
	jb	LBB0_27
## %bb.2:
	movl	%esi, %r15d
	movl	%edi, %r12d
	leal	-4(%r15), %eax
	cmpl	$3, %eax
	jb	LBB0_12
## %bb.3:
	leal	-1(%r15), %eax
	cmpl	$2, %eax
	jae	LBB0_4
## %bb.8:
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	movl	%r12d, %edi
	callq	_FindStartOfYear
	movl	-36(%rbp), %eax
	cmpl	$1, %r15d
	jne	LBB0_10
## %bb.9:
	leal	(%r14,%rax), %ebx
	decl	%ebx
	jmp	LBB0_26
LBB0_12:
	leal	1(%r12), %edi
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	callq	_FindStartOfYear
	movq	_monthsPerYear@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leal	-1(%r12), %ecx
	movl	$2938661835, %edx               ## imm = 0xAF286BCB
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	subl	%edx, %ecx
	shrl	%ecx
	addl	%edx, %ecx
	shrl	$4, %ecx
	leal	(%rcx,%rcx,8), %edx
	leal	(%rcx,%rdx,2), %ecx
	negl	%ecx
	addl	%r12d, %ecx
	decl	%ecx
	cmpl	$12, (%rax,%rcx,4)
	movl	$-29, %ecx
	movl	$-59, %eax
	cmovel	%ecx, %eax
	cmpl	$5, %r15d
	je	LBB0_15
## %bb.13:
	cmpl	$4, %r15d
	jne	LBB0_16
## %bb.14:
	movl	-36(%rbp), %ecx
	addl	%eax, %r14d
	leal	(%rcx,%r14), %ebx
	addl	$-237, %ebx
	jmp	LBB0_26
LBB0_4:
	cmpl	$3, %r15d
	jne	LBB0_17
## %bb.5:
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	movl	%r12d, %edi
	callq	_FindStartOfYear
	movq	_HALAKIM_PER_LUNAR_CYCLE@GOTPCREL(%rip), %rcx
	movq	_monthsPerYear@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-48(%rbp), %rsi
	movl	(%rax,%rsi,4), %eax
	imull	(%rcx), %eax
	addl	-40(%rbp), %eax
	movq	_HALAKIM_PER_DAY@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	addl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	%edx, -40(%rbp)
	leal	1(%rsi), %ecx
	movslq	%ecx, %rdi
	imulq	$1808407283, %rdi, %rcx         ## imm = 0x6BCA1AF3
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$35, %rcx
	addl	%esi, %ecx
	leal	(%rcx,%rcx,8), %esi
	leal	(%rcx,%rsi,2), %ecx
	subl	%ecx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%eax, %esi
	callq	_Tishri1
	movl	-36(%rbp), %ecx
	subl	%ecx, %eax
	cmpl	$385, %eax                      ## imm = 0x181
	je	LBB0_7
## %bb.6:
	cmpl	$355, %eax                      ## imm = 0x163
	jne	LBB0_11
LBB0_7:
	leal	(%rcx,%r14), %ebx
	addl	$59, %ebx
	jmp	LBB0_26
LBB0_10:
	leal	(%r14,%rax), %ebx
	addl	$29, %ebx
	jmp	LBB0_26
LBB0_15:
	movl	-36(%rbp), %ecx
	addl	%eax, %r14d
	leal	(%rcx,%r14), %ebx
	addl	$-208, %ebx
	jmp	LBB0_26
LBB0_16:
	movl	-36(%rbp), %ecx
	addl	%eax, %r14d
	leal	(%rcx,%r14), %ebx
	addl	$-178, %ebx
	jmp	LBB0_26
LBB0_17:
	incl	%r12d
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	movl	%r12d, %edi
	callq	_FindStartOfYear
	addl	$-7, %r15d
	cmpl	$6, %r15d
	ja	LBB0_27
## %bb.18:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_19:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-207, %ebx
	jmp	LBB0_26
LBB0_11:
	leal	(%rcx,%r14), %ebx
	addl	$58, %ebx
	jmp	LBB0_26
LBB0_20:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-178, %ebx
	jmp	LBB0_26
LBB0_21:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-148, %ebx
	jmp	LBB0_26
LBB0_22:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-119, %ebx
	jmp	LBB0_26
LBB0_23:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-89, %ebx
	jmp	LBB0_26
LBB0_24:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-60, %ebx
	jmp	LBB0_26
LBB0_25:
	movl	-36(%rbp), %eax
	leal	(%r14,%rax), %ebx
	addl	$-30, %ebx
LBB0_26:
	movq	_JEWISH_SDN_OFFSET@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_HALAKIM_PER_LUNAR_CYCLE,4,2    ## @HALAKIM_PER_LUNAR_CYCLE
	.comm	_monthsPerYear,8,3              ## @monthsPerYear
	.comm	_HALAKIM_PER_DAY,4,2            ## @HALAKIM_PER_DAY
	.comm	_JEWISH_SDN_OFFSET,4,2          ## @JEWISH_SDN_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JewishToSdn                    ; -- Begin function JewishToSdn
	.p2align	2
_JewishToSdn:                           ; @JewishToSdn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w8, #0
	subs	w21, w0, #1
	b.lt	LBB0_26
; %bb.1:
	mov	x19, x2
	sub	w9, w2, #31
	cmn	w9, #30
	b.lo	LBB0_26
; %bb.2:
	mov	x20, x1
	sub	w8, w1, #4
	cmp	w8, #3
	b.lo	LBB0_5
; %bb.3:
	sub	w8, w20, #1
	cmp	w8, #2
	b.hs	LBB0_8
; %bb.4:
	add	x1, sp, #28
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_FindStartOfYear
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	add	w9, w8, #29
	sub	w8, w8, #1
	cmp	w20, #1
	csel	w8, w9, w8, ne
	b	LBB0_25
LBB0_5:
	add	w0, w0, #1
	add	x1, sp, #28
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_FindStartOfYear
Lloh0:
	adrp	x8, _monthsPerYear@GOTPAGE
Lloh1:
	ldr	x8, [x8, _monthsPerYear@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #27595
	movk	w9, #44840, lsl #16
	umull	x9, w21, w9
	lsr	x9, x9, #32
	sub	w10, w21, w9
	add	w9, w9, w10, lsr #1
	lsr	w9, w9, #4
	mov	w10, #19
	msub	w9, w9, w10, w21
	ldr	w8, [x8, w9, uxtw #2]
	mov	w9, #-59
	mov	w10, #-29
	cmp	w8, #12
	csel	w8, w10, w9, eq
	cmp	w20, #5
	b.eq	LBB0_12
; %bb.6:
	cmp	w20, #4
	b.ne	LBB0_13
; %bb.7:
	ldr	w9, [sp, #20]
	add	w8, w19, w8
	add	w8, w8, w9
	sub	w8, w8, #237
	b	LBB0_25
LBB0_8:
	cmp	w20, #3
	b.ne	LBB0_14
; %bb.9:
	add	x1, sp, #28
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_FindStartOfYear
Lloh3:
	adrp	x8, _HALAKIM_PER_LUNAR_CYCLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HALAKIM_PER_LUNAR_CYCLE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _monthsPerYear@GOTPAGE
Lloh6:
	ldr	x9, [x9, _monthsPerYear@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	x9, [x9]
	ldrsw	x10, [sp, #24]
	ldr	w9, [x9, x10, lsl #2]
	ldp	w11, w12, [sp, #12]
	madd	w8, w9, w8, w11
Lloh9:
	adrp	x9, _HALAKIM_PER_DAY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HALAKIM_PER_DAY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	sdiv	w11, w8, w9
	add	w1, w12, w11
	msub	w2, w11, w9, w8
	stp	w2, w1, [sp, #12]
	add	w8, w10, #1
	mov	w9, #6899
	movk	w9, #27594, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #35
	add	w9, w9, w10
	mov	w10, #19
	msub	w0, w9, w10, w8
	bl	_Tishri1
	ldr	w8, [sp, #20]
	sub	w9, w0, w8
	cmp	w9, #385
	b.eq	LBB0_11
; %bb.10:
	cmp	w9, #355
	b.ne	LBB0_17
LBB0_11:
	add	w8, w8, w19
	add	w8, w8, #59
	b	LBB0_25
LBB0_12:
	ldr	w9, [sp, #20]
	add	w8, w19, w8
	add	w8, w8, w9
	sub	w8, w8, #208
	b	LBB0_25
LBB0_13:
	ldr	w9, [sp, #20]
	add	w8, w19, w8
	add	w8, w8, w9
	sub	w8, w8, #178
	b	LBB0_25
LBB0_14:
	add	w0, w0, #1
	add	x1, sp, #28
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_FindStartOfYear
	sub	w8, w20, #7
	cmp	w8, #6
	b.hi	LBB0_18
; %bb.15:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #207
	b	LBB0_25
LBB0_17:
	add	w8, w8, w19
	add	w8, w8, #58
	b	LBB0_25
LBB0_18:
	mov	w8, #0
	b	LBB0_26
LBB0_19:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #178
	b	LBB0_25
LBB0_20:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #148
	b	LBB0_25
LBB0_21:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #119
	b	LBB0_25
LBB0_22:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #89
	b	LBB0_25
LBB0_23:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #60
	b	LBB0_25
LBB0_24:
	ldr	w8, [sp, #20]
	add	w8, w19, w8
	sub	w8, w8, #30
LBB0_25:
Lloh14:
	adrp	x9, _JEWISH_SDN_OFFSET@GOTPAGE
Lloh15:
	ldr	x9, [x9, _JEWISH_SDN_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	add	w8, w9, w8
LBB0_26:
	mov	x0, x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
	.byte	(LBB0_24-LBB0_16)>>2
                                        ; -- End function
	.comm	_HALAKIM_PER_LUNAR_CYCLE,4,2    ; @HALAKIM_PER_LUNAR_CYCLE
	.comm	_monthsPerYear,8,3              ; @monthsPerYear
	.comm	_HALAKIM_PER_DAY,4,2            ; @HALAKIM_PER_DAY
	.comm	_JEWISH_SDN_OFFSET,4,2          ; @JEWISH_SDN_OFFSET
.subsections_via_symbols
