	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipso_v4_parsetag_rng
_cipso_v4_parsetag_rng:                 ## @cipso_v4_parsetag_rng
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movzbl	1(%rsi), %r12d
	movzbl	3(%rsi), %esi
	leaq	-44(%rbp), %rdx
	callq	_cipso_v4_map_lvl_ntoh
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-44(%rbp), %eax
	movl	%eax, 16(%r14)
	movq	_NETLBL_SECATTR_MLS_LVL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	xorl	%r15d, %r15d
	cmpb	$5, %r12b
	jb	LBB0_7
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_netlbl_secattr_catmap_alloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	addq	$4, %rbx
	addl	$-4, %r12d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_cipso_v4_map_cat_rng_ntoh
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	callq	_netlbl_secattr_catmap_free
	movl	%ebx, %r15d
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_6:
	movq	_NETLBL_SECATTR_MLS_CAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETLBL_SECATTR_MLS_LVL,4,2     ## @NETLBL_SECATTR_MLS_LVL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NETLBL_SECATTR_MLS_CAT,4,2     ## @NETLBL_SECATTR_MLS_CAT
	.no_dead_strip	_cipso_v4_parsetag_rng
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipso_v4_parsetag_rng
_cipso_v4_parsetag_rng:                 ; @cipso_v4_parsetag_rng
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldrb	w23, [x1, #1]
	ldrb	w1, [x1, #3]
	add	x2, sp, #12
	bl	_cipso_v4_map_lvl_ntoh
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _NETLBL_SECATTR_MLS_LVL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETLBL_SECATTR_MLS_LVL@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh2:
	ldr	w8, [x9]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	cmp	w23, #5
	b.lo	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_netlbl_secattr_catmap_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.3:
	add	x1, x21, #4
	sub	w2, w23, #4
	mov	x0, x20
	mov	x3, x19
	bl	_cipso_v4_map_cat_rng_ntoh
	mov	x22, x0
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x0, [x19, #8]
	bl	_netlbl_secattr_catmap_free
	b	LBB0_8
LBB0_5:
	mov	w22, #0
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _NETLBL_SECATTR_MLS_CAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETLBL_SECATTR_MLS_CAT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NETLBL_SECATTR_MLS_LVL,4,2     ; @NETLBL_SECATTR_MLS_LVL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NETLBL_SECATTR_MLS_CAT,4,2     ; @NETLBL_SECATTR_MLS_CAT
	.no_dead_strip	_cipso_v4_parsetag_rng
.subsections_via_symbols
