	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_validate_nr                ## -- Begin function x25_validate_nr
	.p2align	4, 0x90
_x25_validate_nr:                       ## @x25_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	_x25_sk
	movzwl	(%rax), %edx
	movzwl	2(%rax), %ecx
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_X25_SMODULUS@GOTPCREL(%rip), %rax
	cmpw	%cx, %dx
	jne	LBB0_4
	jmp	LBB0_8
LBB0_1:
	movq	_X25_EMODULUS@GOTPCREL(%rip), %rax
	cmpw	%cx, %dx
	je	LBB0_8
LBB0_4:
	movl	(%rax), %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpw	%bx, %dx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movzwl	%dx, %eax
	incl	%eax
	xorl	%edx, %edx
	idivl	%esi
	cmpw	%dx, %cx
	jne	LBB0_5
LBB0_8:
	xorl	%eax, %eax
	cmpw	%bx, %cx
	sete	%al
	jmp	LBB0_9
LBB0_6:
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X25_EMODULUS,4,2               ## @X25_EMODULUS
	.comm	_X25_SMODULUS,4,2               ## @X25_SMODULUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_validate_nr                ; -- Begin function x25_validate_nr
	.p2align	2
_x25_validate_nr:                       ; @x25_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	_x25_sk
	ldrh	w8, [x0]
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _X25_EMODULUS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _X25_EMODULUS@GOTPAGEOFF]
Lloh2:
	adrp	x11, _X25_SMODULUS@GOTPAGE
Lloh3:
	ldr	x11, [x11, _X25_SMODULUS@GOTPAGEOFF]
	cmp	x9, #0
	csel	x10, x11, x10, eq
	ldrh	w9, [x0, #2]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	ldr	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, w19
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	sdiv	w11, w8, w10
	msub	w8, w11, w10, w8
	and	w8, w8, #0xffff
	cmp	w9, w8
	b.ne	LBB0_2
LBB0_4:
	cmp	w9, 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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_X25_EMODULUS,4,2               ; @X25_EMODULUS
	.comm	_X25_SMODULUS,4,2               ; @X25_SMODULUS
.subsections_via_symbols
