	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipso_v4_map_lvl_hton
_cipso_v4_map_lvl_hton:                 ## @cipso_v4_map_lvl_hton
	.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_7
## %bb.2:
	movq	%rsi, (%rdx)
	jmp	LBB0_3
LBB0_4:
	movq	8(%rdi), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_8
## %bb.5:
	movq	8(%rax), %rax
	movq	(%rax,%rsi,8), %rax
	movq	_CIPSO_V4_INV_LVL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_8
## %bb.6:
	movq	%rax, (%rdx)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_9:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIPSO_V4_INV_LVL,8,3           ## @CIPSO_V4_INV_LVL
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cipso_v4_map_lvl_hton
.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_lvl_hton
_cipso_v4_map_lvl_hton:                 ; @cipso_v4_map_lvl_hton
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	mov	w0, #0
	str	x1, [x2]
	ret
LBB0_3:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	cmp	x9, x1
	b.ls	LBB0_7
; %bb.4:
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x1, lsl #3]
Lloh0:
	adrp	x9, _CIPSO_V4_INV_LVL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CIPSO_V4_INV_LVL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.5:
	mov	w0, #0
	str	x8, [x2]
	ret
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _EPERM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CIPSO_V4_INV_LVL,8,3           ; @CIPSO_V4_INV_LVL
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cipso_v4_map_lvl_hton
.subsections_via_symbols
