	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_netaddr_prefixok           ## -- Begin function isc_netaddr_prefixok
	.p2align	4, 0x90
_isc_netaddr_prefixok:                  ## @isc_netaddr_prefixok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	cmpl	$32, %esi
	ja	LBB0_3
## %bb.7:
	addq	$8, %rdi
	movl	$4, %edx
	jmp	LBB0_9
LBB0_4:
	cmpl	$128, %esi
	jbe	LBB0_8
LBB0_3:
	movq	_ISC_R_RANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movq	_ISC_R_NOTIMPLEMENTED@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_8:
	addq	$4, %rdi
	movl	$16, %edx
LBB0_9:
	movl	%esi, %eax
	shrq	$3, %rax
	andl	$7, %esi
	je	LBB0_13
## %bb.10:
	movzbl	(%rdi,%rax), %r8d
	movl	%esi, %ecx
	shll	%cl, %r8d
	testb	%r8b, %r8b
	jne	LBB0_15
## %bb.12:
	incl	%eax
LBB0_13:
	movl	%eax, %ecx
	addq	%rcx, %rdi
	subl	%eax, %edx
	leaq	_isc_netaddr_prefixok.zeros(%rip), %rsi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_ISC_R_FAILURE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @isc_netaddr_prefixok.zeros
_isc_netaddr_prefixok.zeros:
	.space	16

	.comm	_ISC_R_RANGE,4,2                ## @ISC_R_RANGE
	.comm	_ISC_R_NOTIMPLEMENTED,4,2       ## @ISC_R_NOTIMPLEMENTED
	.comm	_ISC_R_FAILURE,4,2              ## @ISC_R_FAILURE
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_netaddr_prefixok           ; -- Begin function isc_netaddr_prefixok
	.p2align	2
_isc_netaddr_prefixok:                  ; @isc_netaddr_prefixok
	.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
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	cmp	w1, #32
	b.hi	LBB0_5
; %bb.3:
	add	x8, x0, #8
	mov	w9, #4
	b	LBB0_8
LBB0_4:
	cmp	w1, #128
	b.ls	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _ISC_R_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_R_RANGE@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh2:
	adrp	x8, _ISC_R_NOTIMPLEMENTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISC_R_NOTIMPLEMENTED@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	add	x8, x0, #4
	mov	w9, #16
LBB0_8:
	mov	w10, w1
	lsr	x10, x10, #3
	ands	w11, w1, #0x7
	b.eq	LBB0_12
; %bb.9:
	ldrb	w12, [x8, x10]
	lsl	w11, w12, w11
	tst	w11, #0xff
	b.eq	LBB0_11
; %bb.10:
Lloh4:
	adrp	x8, _ISC_R_FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISC_R_FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	add	w10, w10, #1
LBB0_12:
Lloh6:
	adrp	x19, _ISC_R_FAILURE@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ISC_R_FAILURE@GOTPAGEOFF]
	add	x0, x8, w10, uxtw
	sub	w2, w9, w10
Lloh8:
	adrp	x1, _isc_netaddr_prefixok.zeros@PAGE
Lloh9:
	add	x1, x1, _isc_netaddr_prefixok.zeros@PAGEOFF
	bl	_memcmp
Lloh10:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x19, eq
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_isc_netaddr_prefixok.zeros:            ; @isc_netaddr_prefixok.zeros
	.space	16

	.comm	_ISC_R_RANGE,4,2                ; @ISC_R_RANGE
	.comm	_ISC_R_NOTIMPLEMENTED,4,2       ; @ISC_R_NOTIMPLEMENTED
	.comm	_ISC_R_FAILURE,4,2              ; @ISC_R_FAILURE
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
