	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_shm_shmctl
_selinux_shm_shmctl:                    ## @selinux_shm_shmctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_SHM__LOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_SHM__GETATTR@GOTPCREL(%rip), %rax
	movq	_SHM__ASSOCIATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	popq	%rbp
	jmp	_ipc_has_perm                   ## TAILCALL
LBB0_2:
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SYSTEM__IPC_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_task_has_system                ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_SHM__SETATTR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_SHM__DESTROY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_ipc_has_perm                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_SYSTEM__IPC_INFO,4,2           ## @SYSTEM__IPC_INFO
	.comm	_SHM__GETATTR,4,2               ## @SHM__GETATTR
	.comm	_SHM__ASSOCIATE,4,2             ## @SHM__ASSOCIATE
	.comm	_SHM__SETATTR,4,2               ## @SHM__SETATTR
	.comm	_SHM__LOCK,4,2                  ## @SHM__LOCK
	.comm	_SHM__DESTROY,4,2               ## @SHM__DESTROY
	.no_dead_strip	_selinux_shm_shmctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_shm_shmctl
_selinux_shm_shmctl:                    ; @selinux_shm_shmctl
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _SHM__LOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHM__LOCK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	b	_ipc_has_perm
LBB0_3:
Lloh5:
	adrp	x8, _SHM__GETATTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHM__GETATTR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SHM__ASSOCIATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SHM__ASSOCIATE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	b	_ipc_has_perm
LBB0_4:
Lloh11:
	adrp	x8, _current@GOTPAGE
Lloh12:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _SYSTEM__IPC_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SYSTEM__IPC_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	b	_task_has_system
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
Lloh17:
	adrp	x8, _SHM__SETATTR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SHM__SETATTR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	b	_ipc_has_perm
LBB0_7:
Lloh20:
	adrp	x8, _SHM__DESTROY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SHM__DESTROY@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	b	_ipc_has_perm
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_SYSTEM__IPC_INFO,4,2           ; @SYSTEM__IPC_INFO
	.comm	_SHM__GETATTR,4,2               ; @SHM__GETATTR
	.comm	_SHM__ASSOCIATE,4,2             ; @SHM__ASSOCIATE
	.comm	_SHM__SETATTR,4,2               ; @SHM__SETATTR
	.comm	_SHM__LOCK,4,2                  ; @SHM__LOCK
	.comm	_SHM__DESTROY,4,2               ; @SHM__DESTROY
	.no_dead_strip	_selinux_shm_shmctl
.subsections_via_symbols
