	.file	"313834.c"
	.intel_syntax noprefix
	.text
	.type	ebitmap_start, @function
ebitmap_start:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	jmp	.L4
.L2:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ebitmap_start, .-ebitmap_start
	.type	ebitmap_next, @function
ebitmap_next:
.LFB8:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	add	rax, 63
	cmp	rdx, rax
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ebitmap_next, .-ebitmap_next
	.type	ebitmap_node_get_bit, @function
ebitmap_node_get_bit:
.LFB9:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, ecx
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	and	eax, 1
	test	rax, rax
	je	.L9
	mov	eax, 1
	jmp	.L10
.L9:
	mov	eax, 0
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ebitmap_node_get_bit, .-ebitmap_node_get_bit
	.type	type_vec_init, @function
type_vec_init:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], 16
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L12
	mov	eax, -1
	jmp	.L13
.L12:
	mov	eax, 0
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	type_vec_init, .-type_vec_init
	.type	type_vec_destroy, @function
type_vec_destroy:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	type_vec_destroy, .-type_vec_destroy
	.type	type_vec_append, @function
type_vec_append:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, eax
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	eax, -1
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 12[rax], edx
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rdx], ecx
	mov	eax, eax
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, 0
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	type_vec_append, .-type_vec_append
	.type	type_vec_contains, @function
type_vec_contains:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L20
.L24:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	shr	eax
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L21
	mov	eax, 1
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jbe	.L23
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L24
	mov	eax, 0
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	type_vec_contains, .-type_vec_contains
	.type	build_type_map, @function
build_type_map:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 96[rax]
	mov	eax, eax
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L26
	mov	eax, 0
	jmp	.L43
.L26:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L28
.L40:
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	type_vec_init
	test	eax, eax
	jne	.L45
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 256[rax]
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	je	.L31
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 584[rax]
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	add	rdx, rax
	lea	rax, -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	ebitmap_start
	mov	DWORD PTR -44[rbp], eax
	jmp	.L32
.L34:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ebitmap_node_get_bit
	test	eax, eax
	je	.L33
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	type_vec_append
	test	eax, eax
	jne	.L46
.L33:
	mov	edx, DWORD PTR -44[rbp]
	lea	rax, -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	ebitmap_next
	mov	DWORD PTR -44[rbp], eax
.L32:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 584[rax]
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jb	.L34
	jmp	.L35
.L31:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 592[rax]
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L36
.L39:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 592[rax]
	mov	eax, DWORD PTR -44[rbp]
	sal	rax, 4
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 256[rax]
	mov	eax, DWORD PTR -44[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L47
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ebitmap_contains@PLT
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	type_vec_append
	test	eax, eax
	jne	.L48
	jmp	.L38
.L47:
	nop
.L38:
	add	DWORD PTR -44[rbp], 1
.L36:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 96[rax]
	cmp	DWORD PTR -44[rbp], eax
	jb	.L39
.L35:
	add	DWORD PTR -48[rbp], 1
.L28:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 96[rax]
	cmp	DWORD PTR -48[rbp], eax
	jb	.L40
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L43
.L45:
	nop
	jmp	.L30
.L46:
	nop
	jmp	.L30
.L48:
	nop
.L30:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -44[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	type_vec_destroy
	add	DWORD PTR -44[rbp], 1
.L41:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jbe	.L42
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L43:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	build_type_map, .-build_type_map
	.type	destroy_type_map, @function
destroy_type_map:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	type_vec_destroy
	add	DWORD PTR -4[rbp], 1
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 96[rax]
	cmp	DWORD PTR -4[rbp], eax
	jb	.L51
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	destroy_type_map, .-destroy_type_map
	.type	process_xperms, @function
process_xperms:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 1
	mov	QWORD PTR -8[rbp], 0
	jmp	.L53
.L55:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	not	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	and	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L54
	mov	DWORD PTR -12[rbp], 0
.L54:
	add	QWORD PTR -8[rbp], 1
.L53:
	cmp	QWORD PTR -8[rbp], 7
	jbe	.L55
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	process_xperms, .-process_xperms
	.type	process_avtab_datum, @function
process_avtab_datum:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 40
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	WORD PTR -20[rbp], ax
	movzx	eax, WORD PTR -20[rbp]
	and	eax, 4
	test	eax, eax
	je	.L58
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	not	eax
	or	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	sete	al
	movzx	eax, al
	jmp	.L59
.L58:
	movzx	eax, WORD PTR -20[rbp]
	and	eax, 7
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	not	eax
	and	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	sete	al
	movzx	eax, al
	jmp	.L59
.L60:
	movzx	eax, WORD PTR -20[rbp]
	and	eax, 1792
	test	eax, eax
	je	.L61
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L62
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L63
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	cmp	dl, al
	je	.L64
	mov	eax, 0
	jmp	.L59
.L64:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	process_xperms
	jmp	.L59
.L63:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	jne	.L65
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 1[rax]
	shr	al, 5
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR 4[rax+rdx*4]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	and	eax, 31
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 1
	jmp	.L59
.L62:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	jne	.L65
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L66
	mov	eax, 0
	jmp	.L59
.L66:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	jne	.L65
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	process_xperms
	jmp	.L59
.L65:
	mov	eax, 0
	jmp	.L59
.L61:
	mov	eax, 0
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	process_avtab_datum, .-process_avtab_datum
	.type	is_avrule_redundant, @function
is_avrule_redundant:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -92[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	and	eax, 1799
	test	eax, eax
	jne	.L68
	mov	eax, 0
	jmp	.L77
.L68:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -12[rbp], ax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 6[rax]
	mov	WORD PTR -10[rbp], ax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L70
.L76:
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	WORD PTR -16[rbp], ax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L71
.L75:
	mov	eax, DWORD PTR -44[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	cmp	BYTE PTR -92[rbp], 0
	je	.L72
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jne	.L72
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L79
.L72:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	WORD PTR -14[rbp], ax
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	avtab_search@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L80
	movzx	eax, WORD PTR -10[rbp]
	movzx	eax, ax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	process_avtab_datum
	test	eax, eax
	je	.L73
	mov	eax, 1
	jmp	.L77
.L79:
	nop
	jmp	.L73
.L80:
	nop
.L73:
	add	DWORD PTR -52[rbp], 1
.L71:
	mov	eax, DWORD PTR -44[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -52[rbp], eax
	jb	.L75
	add	DWORD PTR -56[rbp], 1
.L70:
	mov	eax, DWORD PTR -48[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -56[rbp], eax
	jb	.L76
	mov	eax, 0
.L77:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	is_avrule_redundant, .-is_avrule_redundant
	.type	is_type_attr, @function
is_type_attr:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 256[rax]
	mov	eax, DWORD PTR -12[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	is_type_attr, .-is_type_attr
	.type	is_avrule_with_attr, @function
is_avrule_with_attr:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_type_attr
	test	eax, eax
	jne	.L84
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	is_type_attr
	test	eax, eax
	je	.L85
.L84:
	mov	eax, 1
	jmp	.L87
.L85:
	mov	eax, 0
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	is_avrule_with_attr, .-is_avrule_with_attr
	.type	is_cond_rule_redundant, @function
is_cond_rule_redundant:
.LFB42:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 72
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	and	eax, 1799
	test	eax, eax
	jne	.L89
	mov	eax, 0
	jmp	.L90
.L89:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	mov	DWORD PTR -28[rbp], eax
	jmp	.L91
.L98:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L99
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jne	.L99
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L95
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L100
.L95:
	mov	eax, DWORD PTR -40[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	type_vec_contains
	test	eax, eax
	je	.L101
	mov	eax, DWORD PTR -36[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	type_vec_contains
	test	eax, eax
	je	.L102
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	movzx	eax, ax
	mov	rsi, rcx
	mov	edi, eax
	call	process_avtab_datum
	test	eax, eax
	je	.L94
	mov	eax, 1
	jmp	.L90
.L99:
	nop
	jmp	.L94
.L100:
	nop
	jmp	.L94
.L101:
	nop
	jmp	.L94
.L102:
	nop
.L94:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -64[rbp], rax
.L91:
	cmp	QWORD PTR -64[rbp], 0
	jne	.L98
	mov	eax, 0
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	is_cond_rule_redundant, .-is_cond_rule_redundant
	.type	optimize_avtab, @function
optimize_avtab:
.LFB43:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 408
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L104
.L109:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L105
.L108:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	is_avrule_redundant
	test	eax, eax
	je	.L106
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	and	eax, 1792
	test	eax, eax
	je	.L107
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
.L107:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	jmp	.L105
.L106:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 24
	mov	QWORD PTR -24[rbp], rax
.L105:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L108
	add	DWORD PTR -28[rbp], 1
.L104:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	DWORD PTR -28[rbp], eax
	jb	.L109
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE43:
	.size	optimize_avtab, .-optimize_avtab
	.type	optimize_cond_av_list, @function
optimize_cond_av_list:
.LFB44:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L111
.L113:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	is_avrule_with_attr
	test	eax, eax
	je	.L112
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L111
.L112:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	QWORD PTR -56[rbp], rax
.L111:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L113
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L114
.L118:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jne	.L115
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
.L115:
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, 408[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	is_avrule_redundant
	test	eax, eax
	jne	.L116
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	is_cond_rule_redundant
	test	eax, eax
	je	.L117
.L116:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L114
.L117:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	QWORD PTR -56[rbp], rax
.L114:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L118
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L119
	call	__stack_chk_fail@PLT
.L119:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE44:
	.size	optimize_cond_av_list, .-optimize_cond_av_list
	.type	optimize_cond_avtab, @function
optimize_cond_avtab:
.LFB45:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 440
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 464
	mov	QWORD PTR -56[rbp], rax
	jmp	.L121
.L123:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdi, 16[rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -72[rbp]
	mov	rsi, rax
	call	optimize_cond_av_list
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdi, 24[rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -72[rbp]
	mov	rsi, rax
	call	optimize_cond_av_list
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L122
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L122
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	cond_node_destroy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L121
.L122:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 80
	mov	QWORD PTR -56[rbp], rax
.L121:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L123
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L137
	mov	DWORD PTR -80[rbp], 0
	jmp	.L126
.L135:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	jmp	.L127
.L134:
	mov	DWORD PTR -76[rbp], 0
	lea	rax, -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L128
.L131:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L129
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	DWORD PTR -76[rbp], 1
	jmp	.L130
.L129:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	QWORD PTR -48[rbp], rax
.L128:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L131
.L130:
	cmp	DWORD PTR -76[rbp], 0
	je	.L132
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	and	eax, 1792
	test	eax, eax
	je	.L133
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
.L133:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], edx
	jmp	.L127
.L132:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 24
	mov	QWORD PTR -64[rbp], rax
.L127:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L134
	add	DWORD PTR -80[rbp], 1
.L126:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	DWORD PTR -80[rbp], eax
	jb	.L135
	jmp	.L120
.L137:
	nop
.L120:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L136
	call	__stack_chk_fail@PLT
.L136:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE45:
	.size	optimize_cond_avtab, .-optimize_cond_avtab
	.globl	policydb_optimize
	.type	policydb_optimize, @function
policydb_optimize:
.LFB46:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L139
	mov	eax, -1
	jmp	.L140
.L139:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	build_type_map
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L141
	mov	eax, -1
	jmp	.L140
.L141:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	optimize_avtab
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	optimize_cond_avtab
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	destroy_type_map
	mov	eax, 0
.L140:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE46:
	.size	policydb_optimize, .-policydb_optimize
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"313834.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ebitmap_start, %function
ebitmap_start:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	b	.L4
.L2:
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ebitmap_start, .-ebitmap_start
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ebitmap_next, %function
ebitmap_next:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #63
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	b	.L7
.L6:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
.L7:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ebitmap_next, .-ebitmap_next
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ebitmap_node_get_bit, %function
ebitmap_node_get_bit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, [fp, #-24]
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-24]
	ldr	ip, [ip]
	ldr	lr, [fp, #-28]
	sub	ip, lr, ip
	rsb	r6, ip, #32
	sub	lr, ip, #32
	lsr	r2, r0, ip
	orr	r2, r2, r1, lsl r6
	orr	r2, r2, r1, lsr lr
	lsr	r3, r1, ip
	mov	r0, #1
	mov	r1, #0
	and	r4, r2, r0
	and	r5, r3, r1
	orrs	r3, r4, r5
	beq	.L9
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	ebitmap_node_get_bit, .-ebitmap_node_get_bit
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	type_vec_init, %function
type_vec_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #16
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	mvn	r3, #0
	b	.L13
.L12:
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	type_vec_init, .-type_vec_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	type_vec_destroy, %function
type_vec_destroy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	type_vec_destroy, .-type_vec_destroy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	type_vec_append, %function
type_vec_append:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L17
	mvn	r3, #0
	b	.L18
.L17:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
.L16:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r0, r3, #1
	ldr	r1, [fp, #-16]
	str	r0, [r1, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	type_vec_append, .-type_vec_append
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	type_vec_contains, %function
type_vec_contains:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	b	.L20
.L24:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L21
	mov	r3, #1
	b	.L22
.L21:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bls	.L23
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L20
.L23:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L24
	mov	r3, #0
.L22:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	type_vec_contains, .-type_vec_contains
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_type_map, %function
build_type_map:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L26
	mov	r3, #0
	b	.L43
.L26:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L28
.L40:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	mov	r0, r3
	bl	type_vec_init
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #132]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	beq	.L31
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #304]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	ebitmap_start
	str	r0, [fp, #-24]
	b	.L32
.L34:
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	ebitmap_node_get_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	type_vec_append
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
.L33:
	sub	r3, fp, #32
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	ebitmap_next
	str	r0, [fp, #-24]
.L32:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #304]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L34
	b	.L35
.L31:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #308]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L36
.L39:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #308]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #132]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L47
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	ebitmap_contains
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	type_vec_append
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	b	.L38
.L47:
	nop
.L38:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L36:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L39
.L35:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L28:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L40
	ldr	r3, [fp, #-20]
	b	.L43
.L45:
	nop
	b	.L30
.L46:
	nop
	b	.L30
.L48:
	nop
.L30:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L41
.L42:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	mov	r0, r3
	bl	type_vec_destroy
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L41:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bls	.L42
	ldr	r0, [fp, #-20]
	bl	free
	mov	r3, #0
.L43:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC0
	.size	build_type_map, .-build_type_map
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_type_map, %function
destroy_type_map:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L52
.L53:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	mov	r0, r3
	bl	type_vec_destroy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L52:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L53
	ldr	r0, [fp, #-20]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy_type_map, .-destroy_type_map
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_xperms, %function
process_xperms:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L55
.L57:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mvn	r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	and	r2, r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	mov	r3, #0
	str	r3, [fp, #-8]
.L56:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L55:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	bls	.L57
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	process_xperms, .-process_xperms
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_avtab_datum, %function
process_avtab_datum:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strh	r3, [fp, #-14]	@ movhi
	ldrh	r3, [fp, #-14]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mvn	r3, r3
	orr	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	b	.L61
.L60:
	ldrh	r3, [fp, #-14]
	and	r3, r3, #7
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mvn	r3, r3
	and	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	b	.L61
.L62:
	ldrh	r3, [fp, #-14]
	and	r3, r3, #1792
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L64
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L65
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L66
	mov	r3, #0
	b	.L61
.L66:
	ldr	r3, [fp, #-12]
	add	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	process_xperms
	mov	r3, r0
	b	.L61
.L65:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L67
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	lsr	r3, r3, #5
	and	r3, r3, #255
	ldr	r2, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	and	r3, r3, #31
	lsr	r3, r2, r3
	and	r3, r3, #1
	b	.L61
.L64:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L67
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L68
	mov	r3, #0
	b	.L61
.L68:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L67
	ldr	r3, [fp, #-12]
	add	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	process_xperms
	mov	r3, r0
	b	.L61
.L67:
	mov	r3, #0
	b	.L61
.L63:
	mov	r3, #0
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	process_avtab_datum, .-process_avtab_datum
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_avrule_redundant, %function
is_avrule_redundant:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	strb	r3, [fp, #-65]
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	ldrh	r3, [r3, #6]
	mov	r2, r3
	ldr	r3, .L83+4
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L70
	mov	r3, #0
	b	.L79
.L70:
	ldr	r3, [fp, #-56]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	ldrh	r3, [r3, #2]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	ldrh	r3, [r3, #4]
	strh	r3, [fp, #-12]	@ movhi
	ldr	r3, [fp, #-56]
	ldrh	r3, [r3, #6]
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L72
.L78:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L73
.L77:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L74
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L81
.L74:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-60]
	bl	avtab_search
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L82
	ldrh	r3, [fp, #-10]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	process_avtab_datum
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	mov	r3, #1
	b	.L79
.L81:
	nop
	b	.L75
.L82:
	nop
.L75:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L73:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bcc	.L77
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L72:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bcc	.L78
	mov	r3, #0
.L79:
	ldr	r2, .L83
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L80
	bl	__stack_chk_fail
.L80:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC1
	.word	1799
	.size	is_avrule_redundant, .-is_avrule_redundant
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_type_attr, %function
is_type_attr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #132]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_type_attr, .-is_type_attr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_avrule_with_attr, %function
is_avrule_with_attr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #2]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	is_type_attr
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	is_type_attr
	mov	r3, r0
	cmp	r3, #0
	beq	.L89
.L88:
	mov	r3, #1
	b	.L91
.L89:
	mov	r3, #0
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_avrule_with_attr, .-is_avrule_with_attr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_cond_rule_redundant, %function
is_cond_rule_redundant:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3, #6]
	mov	r2, r3
	ldr	r3, .L107
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L93
	mov	r3, #0
	b	.L94
.L93:
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3, #2]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3, #6]
	str	r3, [fp, #-28]
	b	.L95
.L102:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #2]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #6]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L103
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L103
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L99
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L104
.L99:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	type_vec_contains
	mov	r3, r0
	cmp	r3, #0
	beq	.L105
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	type_vec_contains
	mov	r3, r0
	cmp	r3, #0
	beq	.L106
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-48]
	add	r1, r3, #8
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	mov	r2, r3
	bl	process_avtab_datum
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	mov	r3, #1
	b	.L94
.L103:
	nop
	b	.L98
.L104:
	nop
	b	.L98
.L105:
	nop
	b	.L98
.L106:
	nop
.L98:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-52]
.L95:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L102
	mov	r3, #0
.L94:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L108:
	.align	2
.L107:
	.word	1799
	.size	is_cond_rule_redundant, .-is_cond_rule_redundant
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_avtab, %function
optimize_avtab:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #208
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L110
.L115:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L111
.L114:
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	mov	r3, #1
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-12]
	bl	is_avrule_redundant
	mov	r3, r0
	cmp	r3, #0
	beq	.L112
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	and	r3, r3, #1792
	cmp	r3, #0
	beq	.L113
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
.L113:
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L111
.L112:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #16
	str	r3, [fp, #-16]
.L111:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L114
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L110:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcc	.L115
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	optimize_avtab, .-optimize_avtab
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_cond_av_list, %function
optimize_cond_av_list:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, .L126
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L117
.L119:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	is_avrule_with_attr
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-28]
	b	.L117
.L118:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L117:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L119
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-32]
	sub	r3, fp, #28
	str	r3, [fp, #-24]
	b	.L120
.L124:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L121
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
.L121:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	add	r1, r3, #208
	mov	r3, #0
	ldr	r2, [fp, #-44]
	bl	is_avrule_redundant
	mov	r3, r0
	cmp	r3, #0
	bne	.L122
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	mov	r1, r3
	bl	is_cond_rule_redundant
	mov	r3, r0
	cmp	r3, #0
	beq	.L123
.L122:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	b	.L120
.L123:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L120:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L124
	nop
	ldr	r3, .L126
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L125
	bl	__stack_chk_fail
.L125:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	.LC2
	.size	optimize_cond_av_list, .-optimize_cond_av_list
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_cond_avtab, %function
optimize_cond_avtab:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L146
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	add	r3, r3, #228
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #244
	str	r3, [fp, #-36]
	b	.L129
.L131:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r0, r3, #8
	sub	r1, fp, #48
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	bl	optimize_cond_av_list
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r0, r3, #12
	sub	r1, fp, #48
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	bl	optimize_cond_av_list
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L130
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L130
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	bl	cond_node_destroy
	ldr	r0, [fp, #-12]
	bl	free
	b	.L129
.L130:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r3, r3, #52
	str	r3, [fp, #-36]
.L129:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L131
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L145
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L134
.L143:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-40]
	b	.L135
.L142:
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r3, fp, #48
	str	r3, [fp, #-32]
	b	.L136
.L139:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L137
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r0, [fp, #-20]
	bl	free
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L138
.L137:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L136:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L139
.L138:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L140
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3, #6]
	and	r3, r3, #1792
	cmp	r3, #0
	beq	.L141
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
.L141:
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	b	.L135
.L140:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	add	r3, r3, #16
	str	r3, [fp, #-40]
.L135:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L142
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L134:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bcc	.L143
	b	.L128
.L145:
	nop
.L128:
	ldr	r3, .L146
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L144
	bl	__stack_chk_fail
.L144:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	.LC3
	.size	optimize_cond_avtab, .-optimize_cond_avtab
	.align	2
	.global	policydb_optimize
	.syntax unified
	.arm
	.fpu softvfp
	.type	policydb_optimize, %function
policydb_optimize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L149
	mvn	r3, #0
	b	.L150
.L149:
	ldr	r0, [fp, #-16]
	bl	build_type_map
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L151
	mvn	r3, #0
	b	.L150
.L151:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	optimize_avtab
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	optimize_cond_avtab
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	destroy_type_map
	mov	r3, #0
.L150:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	policydb_optimize, .-policydb_optimize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
