	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_validate_nr               ## -- Begin function lapb_validate_nr
	.p2align	4, 0x90
_lapb_validate_nr:                      ## @lapb_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
	movzwl	(%rdi), %edx
	movzwl	8(%rdi), %ecx
	movq	_LAPB_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_LAPB_SMODULUS@GOTPCREL(%rip), %rax
	cmpw	%cx, %dx
	jne	LBB0_4
	jmp	LBB0_8
LBB0_1:
	movq	_LAPB_EMODULUS@GOTPCREL(%rip), %rax
	cmpw	%cx, %dx
	je	LBB0_8
LBB0_4:
	movl	(%rax), %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpw	%si, %dx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movzwl	%dx, %eax
	incl	%eax
	xorl	%edx, %edx
	idivl	%edi
	cmpw	%dx, %cx
	jne	LBB0_5
LBB0_8:
	xorl	%eax, %eax
	cmpw	%si, %cx
	sete	%al
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAPB_EXTENDED,4,2              ## @LAPB_EXTENDED
	.comm	_LAPB_EMODULUS,4,2              ## @LAPB_EMODULUS
	.comm	_LAPB_SMODULUS,4,2              ## @LAPB_SMODULUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lapb_validate_nr               ; -- Begin function lapb_validate_nr
	.p2align	2
_lapb_validate_nr:                      ; @lapb_validate_nr
	.cfi_startproc
; %bb.0:
	ldrh	w8, [x0]
	ldr	w9, [x0, #4]
Lloh0:
	adrp	x10, _LAPB_EXTENDED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LAPB_EXTENDED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _LAPB_EMODULUS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _LAPB_EMODULUS@GOTPAGEOFF]
Lloh5:
	adrp	x12, _LAPB_SMODULUS@GOTPAGE
Lloh6:
	ldr	x12, [x12, _LAPB_SMODULUS@GOTPAGEOFF]
	tst	w10, w9
	csel	x10, x12, x11, eq
	ldrh	w9, [x0, #8]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	ldr	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, w1
	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, w1
	cset	w0, eq
	ret
LBB0_5:
	mov	w0, #1
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LAPB_EXTENDED,4,2              ; @LAPB_EXTENDED
	.comm	_LAPB_EMODULUS,4,2              ; @LAPB_EMODULUS
	.comm	_LAPB_SMODULUS,4,2              ; @LAPB_SMODULUS
.subsections_via_symbols
