	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tomoyo_write_exception_policy
_tomoyo_write_exception_policy:         ## @tomoyo_write_exception_policy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	%rax, -24(%rbp)
	movq	_TOMOYO_KEYWORD_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_tomoyo_str_starts
	movl	%eax, %r14d
	movq	_TOMOYO_KEYWORD_KEEP_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	-24(%rbp), %rdi
	xorl	%esi, %esi
	jmp	LBB0_2
LBB0_3:
	movq	_TOMOYO_KEYWORD_NO_KEEP_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	-24(%rbp), %rdi
	movl	$1, %esi
LBB0_2:
	movl	%r14d, %edx
	callq	_tomoyo_write_domain_keeper_policy
LBB0_19:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_TOMOYO_KEYWORD_INITIALIZE_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	-24(%rbp), %rdi
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_8:
	movq	_TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	-24(%rbp), %rdi
	movl	$1, %esi
LBB0_7:
	movl	%r14d, %edx
	callq	_tomoyo_write_domain_initializer_policy
	jmp	LBB0_19
LBB0_10:
	movq	_TOMOYO_KEYWORD_ALIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	callq	_tomoyo_write_alias_policy
	jmp	LBB0_19
LBB0_12:
	movq	_TOMOYO_KEYWORD_ALLOW_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	callq	_tomoyo_write_globally_readable_policy
	jmp	LBB0_19
LBB0_14:
	movq	_TOMOYO_KEYWORD_FILE_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	callq	_tomoyo_write_pattern_policy
	jmp	LBB0_19
LBB0_16:
	movq	_TOMOYO_KEYWORD_DENY_REWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_tomoyo_str_starts
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	callq	_tomoyo_write_no_rewrite_policy
	jmp	LBB0_19
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_TOMOYO_KEYWORD_DELETE,4,2      ## @TOMOYO_KEYWORD_DELETE
	.comm	_TOMOYO_KEYWORD_KEEP_DOMAIN,4,2 ## @TOMOYO_KEYWORD_KEEP_DOMAIN
	.comm	_TOMOYO_KEYWORD_NO_KEEP_DOMAIN,4,2 ## @TOMOYO_KEYWORD_NO_KEEP_DOMAIN
	.comm	_TOMOYO_KEYWORD_INITIALIZE_DOMAIN,4,2 ## @TOMOYO_KEYWORD_INITIALIZE_DOMAIN
	.comm	_TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN,4,2 ## @TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN
	.comm	_TOMOYO_KEYWORD_ALIAS,4,2       ## @TOMOYO_KEYWORD_ALIAS
	.comm	_TOMOYO_KEYWORD_ALLOW_READ,4,2  ## @TOMOYO_KEYWORD_ALLOW_READ
	.comm	_TOMOYO_KEYWORD_FILE_PATTERN,4,2 ## @TOMOYO_KEYWORD_FILE_PATTERN
	.comm	_TOMOYO_KEYWORD_DENY_REWRITE,4,2 ## @TOMOYO_KEYWORD_DENY_REWRITE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tomoyo_write_exception_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tomoyo_write_exception_policy
_tomoyo_write_exception_policy:         ; @tomoyo_write_exception_policy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0]
	str	x8, [sp, #8]
Lloh0:
	adrp	x8, _TOMOYO_KEYWORD_DELETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOMOYO_KEYWORD_DELETE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	mov	x19, x0
Lloh3:
	adrp	x8, _TOMOYO_KEYWORD_KEEP_DOMAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOMOYO_KEYWORD_KEEP_DOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	mov	w1, #0
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _TOMOYO_KEYWORD_NO_KEEP_DOMAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOMOYO_KEYWORD_NO_KEEP_DOMAIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x0, [sp, #8]
	mov	w1, #1
LBB0_4:
	mov	x2, x19
	bl	_tomoyo_write_domain_keeper_policy
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh9:
	adrp	x8, _TOMOYO_KEYWORD_INITIALIZE_DOMAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOMOYO_KEYWORD_INITIALIZE_DOMAIN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	mov	w1, #0
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_11
; %bb.9:
	ldr	x0, [sp, #8]
	mov	w1, #1
LBB0_10:
	mov	x2, x19
	bl	_tomoyo_write_domain_initializer_policy
	b	LBB0_5
LBB0_11:
Lloh15:
	adrp	x8, _TOMOYO_KEYWORD_ALIAS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TOMOYO_KEYWORD_ALIAS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_13
; %bb.12:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_tomoyo_write_alias_policy
	b	LBB0_5
LBB0_13:
Lloh18:
	adrp	x8, _TOMOYO_KEYWORD_ALLOW_READ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TOMOYO_KEYWORD_ALLOW_READ@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_15
; %bb.14:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_tomoyo_write_globally_readable_policy
	b	LBB0_5
LBB0_15:
Lloh21:
	adrp	x8, _TOMOYO_KEYWORD_FILE_PATTERN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TOMOYO_KEYWORD_FILE_PATTERN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_17
; %bb.16:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_tomoyo_write_pattern_policy
	b	LBB0_5
LBB0_17:
Lloh24:
	adrp	x8, _TOMOYO_KEYWORD_DENY_REWRITE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TOMOYO_KEYWORD_DENY_REWRITE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_tomoyo_str_starts
	cbz	w0, LBB0_19
; %bb.18:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_tomoyo_write_no_rewrite_policy
	b	LBB0_5
LBB0_19:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_TOMOYO_KEYWORD_DELETE,4,2      ; @TOMOYO_KEYWORD_DELETE
	.comm	_TOMOYO_KEYWORD_KEEP_DOMAIN,4,2 ; @TOMOYO_KEYWORD_KEEP_DOMAIN
	.comm	_TOMOYO_KEYWORD_NO_KEEP_DOMAIN,4,2 ; @TOMOYO_KEYWORD_NO_KEEP_DOMAIN
	.comm	_TOMOYO_KEYWORD_INITIALIZE_DOMAIN,4,2 ; @TOMOYO_KEYWORD_INITIALIZE_DOMAIN
	.comm	_TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN,4,2 ; @TOMOYO_KEYWORD_NO_INITIALIZE_DOMAIN
	.comm	_TOMOYO_KEYWORD_ALIAS,4,2       ; @TOMOYO_KEYWORD_ALIAS
	.comm	_TOMOYO_KEYWORD_ALLOW_READ,4,2  ; @TOMOYO_KEYWORD_ALLOW_READ
	.comm	_TOMOYO_KEYWORD_FILE_PATTERN,4,2 ; @TOMOYO_KEYWORD_FILE_PATTERN
	.comm	_TOMOYO_KEYWORD_DENY_REWRITE,4,2 ; @TOMOYO_KEYWORD_DENY_REWRITE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tomoyo_write_exception_policy
.subsections_via_symbols
