	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipso_v4_gentag_enum
_cipso_v4_gentag_enum:                  ## @cipso_v4_gentag_enum
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NETLBL_SECATTR_MLS_LVL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	4(%rsi), %esi
	leaq	-36(%rbp), %rdx
	callq	_cipso_v4_map_lvl_hton
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_NETLBL_SECATTR_MLS_CAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.5:
	leaq	4(%r14), %rdx
	addl	$-4, %r15d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %ecx
	callq	_cipso_v4_map_cat_enum_hton
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	addl	$4, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	movl	$4, %eax
LBB0_7:
	movq	_CIPSO_V4_TAG_ENUM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%r14)
	movb	%al, 1(%r14)
	movb	-36(%rbp), %cl
	movb	%cl, 3(%r14)
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETLBL_SECATTR_MLS_LVL,4,2     ## @NETLBL_SECATTR_MLS_LVL
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_NETLBL_SECATTR_MLS_CAT,4,2     ## @NETLBL_SECATTR_MLS_CAT
	.comm	_CIPSO_V4_TAG_ENUM,1,0          ## @CIPSO_V4_TAG_ENUM
	.no_dead_strip	_cipso_v4_gentag_enum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipso_v4_gentag_enum
_cipso_v4_gentag_enum:                  ; @cipso_v4_gentag_enum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _NETLBL_SECATTR_MLS_LVL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETLBL_SECATTR_MLS_LVL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w1, [x1, #4]
	add	x2, sp, #12
	bl	_cipso_v4_map_lvl_hton
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _NETLBL_SECATTR_MLS_CAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETLBL_SECATTR_MLS_CAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	add	x2, x19, #4
	sub	w3, w21, #4
	mov	x0, x22
	mov	x1, x20
	bl	_cipso_v4_map_cat_enum_hton
	tbnz	w0, #31, LBB0_8
; %bb.4:
	add	w0, w0, #4
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _EPERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_6:
	mov	w0, #4
LBB0_7:
Lloh9:
	adrp	x8, _CIPSO_V4_TAG_ENUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CIPSO_V4_TAG_ENUM@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x19]
	strb	w0, [x19, #1]
	ldr	w8, [sp, #12]
	strb	w8, [x19, #3]
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NETLBL_SECATTR_MLS_LVL,4,2     ; @NETLBL_SECATTR_MLS_LVL
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_NETLBL_SECATTR_MLS_CAT,4,2     ; @NETLBL_SECATTR_MLS_CAT
	.comm	_CIPSO_V4_TAG_ENUM,1,0          ; @CIPSO_V4_TAG_ENUM
	.no_dead_strip	_cipso_v4_gentag_enum
.subsections_via_symbols
