	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgtc1_block_internal
_rgtc1_block_internal:                  ## @rgtc1_block_internal
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdx), %r14d
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	subl	$-128, %r14d
	movl	4(%rdx), %ebx
	subl	$-128, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	4(%rdx), %ebx
LBB0_3:
	movl	16(%rbp), %r12d
	movl	%r14d, -80(%rbp)
	movl	%ebx, -76(%rbp)
	cmpl	%ebx, %r14d
	jle	LBB0_5
## %bb.4:
	leal	(%r14,%r14,2), %ecx
	leal	(%rbx,%rcx,2), %eax
	movslq	%eax, %r11
	imulq	$-1840700269, %r11, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%eax, %r11d
	movl	%r11d, %eax
	shrl	$31, %eax
	sarl	$2, %r11d
	addl	%eax, %r11d
	leal	(%r14,%r14,4), %eax
	leal	(%rax,%rbx,2), %eax
	movslq	%eax, %r15
	imulq	$-1840700269, %r15, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%eax, %r15d
	movl	%r15d, %eax
	shrl	$31, %eax
	sarl	$2, %r15d
	addl	%eax, %r15d
	leal	(%rbx,%rbx,2), %r12d
	leal	(%r12,%r14,4), %eax
	movslq	%eax, %r13
	imulq	$-1840700269, %r13, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%eax, %r13d
	movl	%r13d, %eax
	shrl	$31, %eax
	sarl	$2, %r13d
	addl	%eax, %r13d
	leal	(%rcx,%rbx,4), %eax
	movslq	%eax, %rcx
	imulq	$-1840700269, %rcx, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%eax, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$2, %ecx
	addl	%eax, %ecx
	leal	(%rbx,%rbx,4), %eax
	leal	(%rax,%r14,2), %eax
	movslq	%eax, %r10
	imulq	$-1840700269, %r10, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%eax, %r10d
	movl	%r10d, %eax
	shrl	$31, %eax
	sarl	$2, %r10d
	addl	%eax, %r10d
	leal	(%r14,%r12,2), %eax
	movl	16(%rbp), %r12d
	cltq
	imulq	$-1840700269, %rax, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	sarl	$2, %eax
	addl	%ebx, %eax
	jmp	LBB0_6
LBB0_5:
	leal	(%rbx,%r14,4), %eax
	cltq
	imulq	$1717986919, %rax, %r11         ## imm = 0x66666667
	movq	%r11, %rax
	shrq	$63, %rax
	sarq	$33, %r11
	addl	%eax, %r11d
	leal	(%r14,%r14,2), %eax
	leal	(%rax,%rbx,2), %eax
	cltq
	imulq	$1717986919, %rax, %r15         ## imm = 0x66666667
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$33, %r15
	addl	%eax, %r15d
	leal	(%rbx,%rbx,2), %eax
	leal	(%rax,%r14,2), %eax
	cltq
	imulq	$1717986919, %rax, %r13         ## imm = 0x66666667
	movq	%r13, %rax
	shrq	$63, %rax
	sarq	$33, %r13
	addl	%eax, %r13d
	leal	(%r14,%rbx,4), %eax
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$33, %rcx
	addl	%eax, %ecx
	movl	$255, %eax
	xorl	%r10d, %r10d
LBB0_6:
	movl	%r11d, -72(%rbp)
	movl	%r15d, -68(%rbp)
	movl	%r13d, -64(%rbp)
	movl	%ecx, -60(%rbp)
	movl	%r10d, -56(%rbp)
	movl	%eax, -52(%rbp)
	movl	%r12d, (%rsp)
	leaq	-80(%rbp), %rcx
	callq	_rgtc_block_internal
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rgtc1_block_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgtc1_block_internal
_rgtc1_block_internal:                  ; @rgtc1_block_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldr	w8, [x2]
	cbz	w3, LBB0_2
; %bb.1:
	add	w8, w8, #128
	ldr	w9, [x2, #4]
	add	w10, w9, #128
	b	LBB0_3
LBB0_2:
	ldr	w10, [x2, #4]
LBB0_3:
	stp	w8, w10, [sp, #8]
	cmp	w8, w10
	b.le	LBB0_5
; %bb.4:
	mov	w15, #6
	madd	w9, w8, w15, w10
	mov	w16, #9363
	movk	w16, #37449, lsl #16
	smull	x11, w9, w16
	lsr	x11, x11, #32
	add	w9, w11, w9
	asr	w11, w9, #2
	add	w9, w11, w9, lsr #31
	lsl	w12, w8, #2
	lsl	w13, w10, #1
	add	w11, w12, w8
	add	w11, w13, w11
	smull	x14, w11, w16
	lsr	x14, x14, #32
	add	w11, w14, w11
	asr	w14, w11, #2
	add	w11, w14, w11, lsr #31
	add	w13, w13, w10
	add	w12, w13, w12
	smull	x13, w12, w16
	lsr	x13, x13, #32
	add	w12, w13, w12
	asr	w13, w12, #2
	add	w13, w13, w12, lsr #31
	lsl	w12, w8, #1
	lsl	w17, w10, #2
	add	w14, w12, w8
	add	w14, w17, w14
	smull	x3, w14, w16
	lsr	x3, x3, #32
	add	w14, w3, w14
	asr	w3, w14, #2
	add	w14, w3, w14, lsr #31
	add	w17, w17, w10
	add	w12, w17, w12
	smull	x17, w12, w16
	lsr	x17, x17, #32
	add	w12, w17, w12
	asr	w17, w12, #2
	add	w12, w17, w12, lsr #31
	madd	w8, w10, w15, w8
	smull	x10, w8, w16
	lsr	x10, x10, #32
	add	w8, w10, w8
	asr	w10, w8, #2
	add	w8, w10, w8, lsr #31
	b	LBB0_6
LBB0_5:
	mov	w12, #0
	add	w9, w10, w8, lsl #2
	mov	w14, #26215
	movk	w14, #26214, lsl #16
	smull	x9, w9, w14
	lsr	x11, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w11
	lsl	w13, w8, #1
	lsl	w15, w10, #1
	add	w11, w13, w8
	add	w11, w15, w11
	smull	x11, w11, w14
	lsr	x16, x11, #63
	asr	x11, x11, #33
	add	w11, w11, w16
	add	w15, w15, w10
	add	w13, w15, w13
	smull	x13, w13, w14
	lsr	x15, x13, #63
	asr	x13, x13, #33
	add	w13, w13, w15
	add	w8, w8, w10, lsl #2
	smull	x8, w8, w14
	lsr	x10, x8, #63
	asr	x8, x8, #33
	add	w14, w8, w10
	mov	w8, #255
LBB0_6:
	stp	w9, w11, [sp, #16]
	stp	w13, w14, [sp, #24]
	stp	w12, w8, [sp, #32]
	add	x3, sp, #8
	bl	_rgtc_block_internal
	ldur	x8, [x29, #-8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rgtc1_block_internal
.subsections_via_symbols
