	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_validate_nr               ## -- Begin function rose_validate_nr
	.p2align	4, 0x90
_rose_validate_nr:                      ## @rose_validate_nr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_rose_sk
	movzwl	(%rax), %edx
	movzwl	2(%rax), %ecx
	cmpw	%cx, %dx
	je	LBB0_5
## %bb.1:
	movq	_ROSE_MODULUS@GOTPCREL(%rip), %rax
	movzwl	(%rax), %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpw	%bx, %dx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movzwl	%dx, %eax
	incl	%eax
	xorl	%edx, %edx
	divl	%esi
	cmpw	%dx, %cx
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	cmpw	%bx, %cx
	sete	%al
	jmp	LBB0_6
LBB0_3:
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROSE_MODULUS,2,1               ## @ROSE_MODULUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_validate_nr               ; -- Begin function rose_validate_nr
	.p2align	2
_rose_validate_nr:                      ; @rose_validate_nr
	.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	x19, x1
	bl	_rose_sk
	ldrh	w9, [x0]
	ldrh	w8, [x0, #2]
	cmp	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh0:
	adrp	x10, _ROSE_MODULUS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ROSE_MODULUS@GOTPAGEOFF]
	ldrh	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w19
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	udiv	w11, w9, w10
	msub	w9, w11, w10, w9
	cmp	w8, w9
	b.ne	LBB0_2
LBB0_4:
	cmp	w8, w19
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ROSE_MODULUS,2,1               ; @ROSE_MODULUS
.subsections_via_symbols
