	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipso_v4_map_cat_rbm_valid
_cipso_v4_map_cat_rbm_valid:            ## @cipso_v4_map_cat_rbm_valid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	cmpl	$129, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	shll	$3, %ebx
	movq	8(%rdi), %rax
	movl	(%rax), %r12d
	movq	8(%rax), %r13
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_cipso_v4_bitmap_walk
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r12d, %eax
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	movl	(%r13,%rcx,4), %ecx
	movq	_CIPSO_V4_INV_CAT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_3
	jmp	LBB0_7
LBB0_6:
	cmpl	$-1, %eax
	je	LBB0_8
LBB0_7:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIPSO_V4_INV_CAT,4,2           ## @CIPSO_V4_INV_CAT
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_cipso_v4_map_cat_rbm_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipso_v4_map_cat_rbm_valid
_cipso_v4_map_cat_rbm_valid:            ; @cipso_v4_map_cat_rbm_valid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	mov	x19, x1
	lsl	w20, w2, #3
	ldr	x8, [x0, #8]
	ldr	w21, [x8]
	ldr	x22, [x8, #8]
	mov	w0, #-1
Lloh0:
	adrp	x23, _CIPSO_V4_INV_CAT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CIPSO_V4_INV_CAT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_cipso_v4_bitmap_walk
	tbnz	w0, #31, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, w21
	b.ge	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, w0, uxtw #2]
	ldr	w9, [x23]
	cmp	w8, w9
	b.lt	LBB0_3
	b	LBB0_7
LBB0_6:
	cmn	w0, #1
	b.eq	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CIPSO_V4_INV_CAT,4,2           ; @CIPSO_V4_INV_CAT
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_cipso_v4_map_cat_rbm_valid
.subsections_via_symbols
