	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_audit_rule_init        ## -- Begin function selinux_audit_rule_init
	.p2align	4, 0x90
_selinux_audit_rule_init:               ## @selinux_audit_rule_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rcx)
	movq	_ss_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movl	%edi, %ebx
	addl	$-128, %ebx
	cmpl	$9, %ebx
	ja	LBB0_5
## %bb.2:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	$235, %eax
	btl	%ebx, %eax
	jae	LBB0_7
## %bb.3:
	movq	_Audit_equal@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_8
## %bb.4:
	movq	_Audit_not_equal@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	%r12, %rdi
	movl	$45, %esi
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_5
LBB0_8:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_context_init
	movq	_policy_rwlock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	_latest_granting@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	cmpl	$9, %ebx
	ja	LBB0_21
## %bb.10:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mls_from_string
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_policydb@GOTPCREL(%rip), %rax
	movl	8(%rax), %edi
	movq	%r12, %rsi
	callq	_hashtab_search
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_21
LBB0_17:
	movq	_policydb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_hashtab_search
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_21
LBB0_19:
	movq	_policydb@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	callq	_hashtab_search
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_21:
	movq	_policy_rwlock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	jmp	LBB0_25
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	movq	_policy_rwlock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	testl	%ebx, %ebx
	je	LBB0_25
## %bb.24:
	movq	%r14, %rdi
	callq	_selinux_audit_rule_free
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_25:
	xorl	%ebx, %ebx
LBB0_26:
	movq	%r14, (%r15)
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_19
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_ss_initialized,4,2             ## @ss_initialized
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_Audit_equal,4,2                ## @Audit_equal
	.comm	_Audit_not_equal,4,2            ## @Audit_not_equal
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_policy_rwlock,4,2              ## @policy_rwlock
	.comm	_latest_granting,4,2            ## @latest_granting
	.comm	_policydb,12,2                  ## @policydb
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_audit_rule_init        ; -- Begin function selinux_audit_rule_init
	.p2align	2
_selinux_audit_rule_init:               ; @selinux_audit_rule_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	str	xzr, [x3]
Lloh0:
	adrp	x8, _ss_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ss_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	sub	w22, w0, #128
	cmp	w22, #9
	b.hi	LBB0_10
; %bb.2:
	mov	x19, x3
	mov	x21, x2
	mov	w8, #1
	lsl	w8, w8, w22
	mov	w9, #235
	tst	w8, w9
	b.eq	LBB0_9
; %bb.3:
Lloh3:
	adrp	x8, _Audit_equal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Audit_equal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _Audit_not_equal@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Audit_not_equal@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.ne	LBB0_10
LBB0_4:
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.5:
	mov	x20, x0
	bl	_context_init
Lloh12:
	adrp	x0, _policy_rwlock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _policy_rwlock@GOTPAGEOFF]
	bl	_read_lock
Lloh14:
	adrp	x8, _latest_granting@GOTPAGE
Lloh15:
	ldr	x8, [x8, _latest_granting@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	cmp	w22, #9
	b.hi	LBB0_20
; %bb.6:
Lloh17:
	adrp	x8, lJTI0_0@PAGE
Lloh18:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x8, x22]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:
Lloh19:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_mls_from_string
	mov	x21, x0
	b	LBB0_22
LBB0_8:
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	x0, x21
	mov	w1, #45
	bl	_strchr
	cbz	w0, LBB0_4
LBB0_10:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh28:
	adrp	x8, _policydb@GOTPAGE
Lloh29:
	ldr	x8, [x8, _policydb@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8, #8]
	mov	x1, x21
	bl	_hashtab_search
	cbz	x0, LBB0_21
; %bb.15:
	ldr	w8, [x0]
	str	w8, [x20, #8]
	b	LBB0_20
LBB0_16:
Lloh31:
	adrp	x8, _policydb@GOTPAGE
Lloh32:
	ldr	x8, [x8, _policydb@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_hashtab_search
	cbz	x0, LBB0_21
; %bb.17:
	ldr	w8, [x0]
	str	w8, [x20]
	b	LBB0_20
LBB0_18:
Lloh34:
	adrp	x8, _policydb@GOTPAGE
Lloh35:
	ldr	x8, [x8, _policydb@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_hashtab_search
	cbz	x0, LBB0_21
; %bb.19:
	ldr	w8, [x0]
	str	w8, [x20, #4]
LBB0_20:
Lloh37:
	adrp	x0, _policy_rwlock@GOTPAGE
Lloh38:
	ldr	x0, [x0, _policy_rwlock@GOTPAGEOFF]
	bl	_read_unlock
	mov	w21, #0
	b	LBB0_24
LBB0_21:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_22:
Lloh42:
	adrp	x0, _policy_rwlock@GOTPAGE
Lloh43:
	ldr	x0, [x0, _policy_rwlock@GOTPAGEOFF]
	bl	_read_unlock
	cbz	w21, LBB0_24
; %bb.23:
	mov	x0, x20
	bl	_selinux_audit_rule_free
	mov	x20, #0
LBB0_24:
	str	x20, [x19]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_ss_initialized,4,2             ; @ss_initialized
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_Audit_equal,4,2                ; @Audit_equal
	.comm	_Audit_not_equal,4,2            ; @Audit_not_equal
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_policy_rwlock,4,2              ; @policy_rwlock
	.comm	_latest_granting,4,2            ; @latest_granting
	.comm	_policydb,12,2                  ; @policydb
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
