	.file	"extr_common.c_tomoyo_write_exception.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"aggregator "
.LC1:
	.string	"acl_group "
	.text
	.p2align 4
	.type	tomoyo_write_exception, @function
tomoyo_write_exception:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	r12d, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 16[rdi]
	lea	r14, 20[rsp]
	lea	r13, 16[rsp]
	mov	DWORD PTR 16[rsp], r12d
	mov	DWORD PTR 20[rsp], eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, r14
	mov	QWORD PTR 24[rsp], rax
	call	tomoyo_str_starts@PLT
	test	rax, rax
	jne	.L2
	xor	ebp, ebp
	cmp	QWORD PTR TOMOYO_MAX_TRANSITION_TYPE[rip], 0
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbp, 1
	cmp	QWORD PTR TOMOYO_MAX_TRANSITION_TYPE[rip], rbp
	jbe	.L4
.L3:
	mov	rax, QWORD PTR tomoyo_transition_type[rip]
	mov	rdi, r14
	mov	rsi, QWORD PTR [rax+rbp*8]
	call	tomoyo_str_starts@PLT
	test	rax, rax
	je	.L6
	mov	rsi, rbp
	mov	rdi, r13
	call	tomoyo_write_transition_control@PLT
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	QWORD PTR TOMOYO_MAX_GROUP[rip], 0
	je	.L7
	xor	ebp, ebp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbp, 1
	cmp	QWORD PTR TOMOYO_MAX_GROUP[rip], rbp
	jbe	.L7
.L9:
	mov	rax, QWORD PTR tomoyo_group_name[rip]
	mov	rdi, r14
	mov	rsi, QWORD PTR [rax+rbp*8]
	call	tomoyo_str_starts@PLT
	test	rax, rax
	je	.L8
	mov	rsi, rbp
	mov	rdi, r13
	call	tomoyo_write_group@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	tomoyo_str_starts@PLT
	test	rax, rax
	jne	.L23
.L10:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r13
	call	tomoyo_write_aggregator@PLT
	jmp	.L1
.L23:
	mov	edi, DWORD PTR 20[rsp]
	lea	rsi, 8[rsp]
	mov	edx, 10
	call	simple_strtoul@PLT
	cmp	DWORD PTR TOMOYO_MAX_ACL_GROUPS[rip], eax
	jbe	.L10
	mov	rdx, QWORD PTR 8[rsp]
	lea	r8, 1[rdx]
	mov	QWORD PTR 8[rsp], r8
	cmp	BYTE PTR [rdx], 32
	jne	.L10
	mov	rdi, QWORD PTR 8[rbx]
	mov	eax, eax
	mov	ecx, r12d
	mov	rdx, QWORD PTR [rdi]
	lea	rsi, [rdx+rax*4]
	mov	rdx, r8
	call	tomoyo_write_domain2@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tomoyo_write_exception, .-tomoyo_write_exception
	.comm	tomoyo_transition_type,8,8
	.comm	tomoyo_group_name,8,8
	.comm	TOMOYO_MAX_TRANSITION_TYPE,8,8
	.comm	TOMOYO_MAX_GROUP,8,8
	.comm	TOMOYO_MAX_ACL_GROUPS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_common.c_tomoyo_write_exception.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"aggregator \000"
	.align	2
.LC1:
	.ascii	"acl_group \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tomoyo_write_exception, %function
tomoyo_write_exception:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L26
	sub	sp, sp, #24
	ldr	r6, [r0]
	ldr	r2, [r0, #8]
	ldr	r3, [r0, #4]
	ldr	r1, [r1]
	str	r1, [sp, #20]
	mov	r1,#0
	mov	r5, r0
	ldr	r1, .L26+4
	add	r0, sp, #12
	str	r6, [sp, #8]
	str	r2, [sp, #12]
	str	r3, [sp, #16]
	bl	tomoyo_str_starts
	subs	r4, r0, #0
	bne	.L2
	ldr	r7, .L26+8
	ldr	r3, [r7]
	cmp	r3, #0
	ldrne	r8, .L26+12
	bne	.L3
	b	.L4
.L6:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L4
.L3:
	ldr	r3, [r8]
	add	r0, sp, #12
	ldr	r1, [r3, r4, lsl #2]
	bl	tomoyo_str_starts
	cmp	r0, #0
	beq	.L6
	mov	r1, r4
	add	r0, sp, #8
	bl	tomoyo_write_transition_control
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r7, .L26+16
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L7
	mov	r4, #0
	ldr	r8, .L26+20
	b	.L9
.L8:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L7
.L9:
	ldr	r3, [r8]
	add	r0, sp, #12
	ldr	r1, [r3, r4, lsl #2]
	bl	tomoyo_str_starts
	cmp	r0, #0
	beq	.L8
	mov	r1, r4
	add	r0, sp, #8
	bl	tomoyo_write_group
	b	.L1
.L7:
	ldr	r1, .L26+24
	add	r0, sp, #12
	bl	tomoyo_str_starts
	cmp	r0, #0
	bne	.L25
.L10:
	ldr	r3, .L26+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L2:
	add	r0, sp, #8
	bl	tomoyo_write_aggregator
	b	.L1
.L25:
	mov	r2, #10
	ldr	r0, [sp, #12]
	add	r1, sp, #4
	bl	simple_strtoul
	ldr	r3, .L26+32
	ldr	r3, [r3]
	cmp	r3, r0
	bls	.L10
	ldr	r3, [sp, #4]
	add	r2, r3, #1
	str	r2, [sp, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L10
	ldr	ip, [r5, #4]
	mov	r3, r6
	ldr	r1, [ip]
	add	r1, r1, r0, lsl #2
	mov	r0, ip
	bl	tomoyo_write_domain2
	b	.L1
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC2
	.word	.LC0
	.word	TOMOYO_MAX_TRANSITION_TYPE
	.word	tomoyo_transition_type
	.word	TOMOYO_MAX_GROUP
	.word	tomoyo_group_name
	.word	.LC1
	.word	EINVAL
	.word	TOMOYO_MAX_ACL_GROUPS
	.size	tomoyo_write_exception, .-tomoyo_write_exception
	.comm	tomoyo_transition_type,4,4
	.comm	tomoyo_group_name,4,4
	.comm	TOMOYO_MAX_TRANSITION_TYPE,4,4
	.comm	TOMOYO_MAX_GROUP,4,4
	.comm	TOMOYO_MAX_ACL_GROUPS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
