	.file	"525278.c"
	.intel_syntax noprefix
	.text
	.globl	map_match_str
	.section	.rodata
.LC0:
	.string	"do not match"
.LC1:
	.string	"match on all inputs"
.LC2:
	.string	"match on everything"
	.section	.data.rel.local,"aw"
	.align 16
	.type	map_match_str, @object
	.size	map_match_str, 24
map_match_str:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.local	logging_verbose
	.comm	logging_verbose,4,4
	.local	output_file
	.comm	output_file,8,8
	.local	input_file
	.comm	input_file,8,8
	.local	out_file_name
	.comm	out_file_name,8,8
	.local	in_file_name
	.comm	in_file_name,8,8
	.local	pol
	.comm	pol,48,32
	.globl	rules
	.section	.rodata
.LC3:
	.string	"isSystemServer"
.LC4:
	.string	"isOwner"
.LC5:
	.string	"user"
.LC6:
	.string	"seinfo"
.LC7:
	.string	"name"
.LC8:
	.string	"path"
.LC9:
	.string	"domain"
.LC10:
	.string	"type"
.LC11:
	.string	"levelFromUid"
.LC12:
	.string	"levelFrom"
.LC13:
	.string	"level"
	.section	.data.rel.local
	.align 32
	.type	rules, @object
	.size	rules, 264
rules:
	.quad	.LC3
	.long	0
	.long	0
	.quad	0
	.quad	.LC4
	.long	0
	.long	0
	.quad	0
	.quad	.LC5
	.long	0
	.long	1
	.quad	0
	.quad	.LC6
	.long	0
	.long	1
	.quad	0
	.quad	.LC7
	.long	0
	.long	1
	.quad	0
	.quad	.LC8
	.long	0
	.long	1
	.quad	0
	.quad	.LC9
	.long	1
	.long	1
	.quad	0
	.quad	.LC10
	.long	1
	.long	1
	.quad	0
	.quad	.LC11
	.long	1
	.long	0
	.quad	0
	.quad	.LC12
	.long	1
	.long	1
	.quad	0
	.quad	.LC13
	.long	1
	.long	1
	.quad	0
	.local	list_head
	.comm	list_head,8,8
	.local	list_tail
	.comm	list_tail,8,8
	.text
	.type	log_msg, @function
log_msg:
.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, 240
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	QWORD PTR -232[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	DWORD PTR -208[rbp], 24
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	log_msg, .-log_msg
	.globl	check_type
	.type	check_type, @function
check_type:
.LFB32:
	.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 -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	check_type, .-check_type
	.section	.rodata
.LC14:
	.string	"Validating %s=%s\n"
.LC15:
	.string	"Info: "
.LC16:
	.string	"true"
.LC17:
	.string	"false"
	.align 8
.LC18:
	.string	"Expected boolean value got: %s=%s on line: %d in file: %s\n"
.LC19:
	.string	"Error: "
.LC20:
	.string	"none"
.LC21:
	.string	"all"
.LC22:
	.string	"app"
	.align 8
.LC23:
	.string	"Unknown levelFrom=%s on line: %d in file: %s\n"
	.align 8
.LC24:
	.string	"Could not find selinux type \"%s\" on line: %d in file: %s\n"
	.align 8
.LC25:
	.string	"Could not find selinux level \"%s\", on line: %d in file: %s\n"
	.align 8
.LC26:
	.string	"Key map validate returning: %d\n"
	.text
	.type	key_map_validate, @function
key_map_validate:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC14[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L7:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L19
.L8:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L11
	mov	rcx, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	edi, DWORD PTR -44[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, .LC18[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	add	rsp, 16
	mov	DWORD PTR -28[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L12
	mov	rsi, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	r9, rsi
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC23[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	DWORD PTR -28[rbp], 0
	jmp	.L10
.L12:
	mov	rax, QWORD PTR pol[rip+8]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L15
.L14:
	mov	rax, QWORD PTR pol[rip+16]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	check_type
	test	eax, eax
	jne	.L21
	mov	rsi, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	r9, rsi
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC24[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	DWORD PTR -28[rbp], 0
	jmp	.L21
.L15:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L22
	mov	rcx, QWORD PTR pol[rip+16]
	mov	rax, QWORD PTR pol[rip+32]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	sepol_mls_check@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jns	.L22
	mov	rsi, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	r9, rsi
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC25[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	DWORD PTR -28[rbp], 0
	jmp	.L10
.L19:
	nop
	jmp	.L10
.L20:
	nop
	jmp	.L10
.L21:
	nop
	jmp	.L10
.L22:
	nop
.L10:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, edx
	lea	rdx, .LC26[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L17:
	mov	eax, DWORD PTR -28[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	key_map_validate, .-key_map_validate
	.section	.rodata
.LC27:
	.string	"%s=%s "
.LC28:
	.string	"%s=%s"
	.text
	.type	rule_map_print, @function
rule_map_print:
.LFB34:
	.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	QWORD PTR -16[rbp], 0
	jmp	.L24
.L27:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rax, 1
	cmp	QWORD PTR -16[rbp], rax
	jnb	.L25
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L26:
	add	QWORD PTR -16[rbp], 1
.L24:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L27
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	rule_map_print, .-rule_map_print
	.section	.rodata
	.align 8
.LC29:
	.string	"Matched input lines: name=%s data=%s\n"
	.align 8
.LC30:
	.string	"Matched lines: name=%s data=%s"
.LC31:
	.string	"Rule map cmp MATCH\n"
.LC32:
	.string	"Rule map cmp INPUT MATCH\n"
.LC33:
	.string	"Rule map cmp NO MATCH\n"
	.text
	.type	rule_map_cmp, @function
rule_map_cmp:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	je	.L29
	mov	eax, 0
	jmp	.L30
.L29:
	mov	QWORD PTR -40[rbp], 0
	jmp	.L31
.L44:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	jmp	.L32
.L43:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jne	.L50
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jne	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L38
	mov	DWORD PTR -44[rbp], 1
	add	DWORD PTR -52[rbp], 1
.L38:
	cmp	DWORD PTR -44[rbp], 0
	je	.L39
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L40
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC29[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L40:
	add	DWORD PTR -48[rbp], 1
.L39:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L41
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC30[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L41:
	add	QWORD PTR -24[rbp], 1
	jmp	.L42
.L50:
	nop
	jmp	.L34
.L51:
	nop
	jmp	.L34
.L52:
	nop
	jmp	.L34
.L53:
	nop
.L34:
	add	QWORD PTR -32[rbp], 1
.L32:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -32[rbp], rax
	jb	.L43
.L42:
	add	QWORD PTR -40[rbp], 1
.L31:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -40[rbp], rax
	jb	.L44
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L45
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L46
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC31[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L46:
	mov	eax, 2
	jmp	.L30
.L45:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L47
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L48
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC32[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L48:
	mov	eax, 1
	jmp	.L30
.L47:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L49
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC33[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L49:
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	rule_map_cmp, .-rule_map_cmp
	.type	rule_map_free, @function
rule_map_free:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	jmp	.L55
.L56:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -24[rbp], 1
.L55:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jb	.L56
	cmp	DWORD PTR -44[rbp], 1
	jne	.L57
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L57:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	rule_map_free, .-rule_map_free
	.type	free_kvp, @function
free_kvp:
.LFB37:
	.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
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	free_kvp, .-free_kvp
	.section	.rodata
.LC34:
	.string	"default"
	.align 8
.LC35:
	.string	"No specific seinfo value specified with name=\"%s\", on line: %d:  insecure configuration!\n"
	.text
	.type	rule_map_validate, @function
rule_map_validate:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	BYTE PTR -26[rbp], 0
	mov	BYTE PTR -25[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L60
.L63:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	BYTE PTR -26[rbp], 1
.L61:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L62
	mov	BYTE PTR -25[rbp], 1
.L62:
	add	QWORD PTR -24[rbp], 1
.L60:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L63
	cmp	BYTE PTR -26[rbp], 0
	je	.L64
	movzx	eax, BYTE PTR -25[rbp]
	xor	eax, 1
	test	al, al
	je	.L64
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC35[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	eax, 0
	jmp	.L65
.L64:
	mov	eax, 1
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	rule_map_validate, .-rule_map_validate
	.section	.rodata
.LC36:
	.string	"No match for key: %s\n"
.LC37:
	.string	"Duplicated key: %s\n"
.LC38:
	.string	"Validating keys!\n"
.LC39:
	.string	"Could not validate\n"
	.align 8
.LC40:
	.string	"Strange, no keys found, input file corrupt perhaps?\n"
.LC41:
	.string	"Out of memory!\n"
	.text
	.type	rule_map_new, @function
rule_map_new:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	jmp	.L67
.L68:
	lea	rdx, -19[rbp]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -80[rbp], 1
.L67:
	cmp	QWORD PTR -80[rbp], 10
	jbe	.L68
	mov	rax, QWORD PTR -112[rbp]
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L96
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -116[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	QWORD PTR -80[rbp], 0
	jmp	.L71
.L87:
	mov	rax, QWORD PTR -80[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 8
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -72[rbp], 0
	jmp	.L72
.L86:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, rules[rip]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L73
	cmp	QWORD PTR -80[rbp], 11
	jne	.L74
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC36[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L75
.L74:
	add	QWORD PTR -72[rbp], 1
	jmp	.L72
.L73:
	lea	rdx, -19[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L76
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC37[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L75
.L76:
	lea	rdx, -19[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 24
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L97
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L78
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC38[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L78:
	mov	edx, DWORD PTR -116[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	key_map_validate
	test	eax, eax
	jne	.L79
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC39[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L75
.L79:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L98
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L81
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	jmp	.L82
.L81:
	mov	eax, 0
.L82:
	mov	DWORD PTR -84[rbp], eax
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -88[rbp]
	add	eax, edx
	mov	DWORD PTR -84[rbp], eax
	add	DWORD PTR -84[rbp], 1
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L99
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L84
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L84:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	jmp	.L98
.L72:
	cmp	QWORD PTR -72[rbp], 10
	jbe	.L86
	jmp	.L85
.L98:
	nop
.L85:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free_kvp
	add	QWORD PTR -80[rbp], 1
.L71:
	mov	rax, QWORD PTR -80[rbp]
	cmp	rax, QWORD PTR -112[rbp]
	jb	.L87
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L88
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC40[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L75
.L88:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rule_map_validate
	mov	BYTE PTR -93[rbp], al
	movzx	eax, BYTE PTR -93[rbp]
	xor	eax, 1
	test	al, al
	jne	.L100
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L94
.L96:
	nop
	jmp	.L70
.L97:
	nop
	jmp	.L70
.L99:
	nop
.L70:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC41[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L75
.L100:
	nop
.L75:
	cmp	QWORD PTR -64[rbp], 0
	je	.L91
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	rule_map_free
	jmp	.L92
.L93:
	mov	rax, QWORD PTR -80[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free_kvp
	add	QWORD PTR -80[rbp], 1
.L92:
	mov	rax, QWORD PTR -80[rbp]
	cmp	rax, QWORD PTR -112[rbp]
	jb	.L93
.L91:
	mov	eax, 0
.L94:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	rule_map_new, .-rule_map_new
	.section	.rodata
	.align 8
.LC42:
	.ascii	"checkseapp [options] <input file>\nProcesses an seapp_contex"
	.ascii	"ts file specified by argument <input file> (default stdin) a"
	.ascii	"nd allows later declarations to override pr"
	.string	"evious ones on a match.\nOptions:\n-h - print this help message\n-v - enable verbose debugging informations\n-p policy file - specify policy file for strict checking of output selectors against the policy\n-o output file - specify output file, default is stdout"
	.text
	.type	usage, @function
usage:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC42[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	usage, .-usage
	.section	.rodata
.LC43:
	.string	"Opening input file: %s\n"
.LC44:
	.string	"r"
	.align 8
.LC45:
	.string	"Could not open file: %s error: %s\n"
.LC46:
	.string	"w+"
.LC47:
	.string	"Opening policy file: %s\n"
.LC48:
	.string	"rb"
	.align 8
.LC49:
	.string	"Could not create sepolicy handle: %s\n"
	.align 8
.LC50:
	.string	"Could not create sepolicy file: %s!\n"
	.align 8
.LC51:
	.string	"Could not create sepolicy db: %s!\n"
	.align 8
.LC52:
	.string	"Could not lod policy file to db: %s!\n"
.LC53:
	.string	"None"
.LC54:
	.string	"Policy file set to: %s\n"
.LC55:
	.string	"stdin"
.LC56:
	.string	"Input file set to: %s\n"
.LC57:
	.string	"stdout"
.LC58:
	.string	"Output file set to: %s\n"
	.align 8
.LC59:
	.string	"LINK_SEPOL_STATIC is not defined\nNot checking types!"
.LC60:
	.string	"Warning: "
	.text
	.type	init, @function
init:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR input_file[rip]
	test	rax, rax
	jne	.L103
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L104
	mov	rdx, QWORD PTR in_file_name[rip]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC43[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L104:
	mov	rax, QWORD PTR in_file_name[rip]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR input_file[rip], rax
	mov	rax, QWORD PTR input_file[rip]
	test	rax, rax
	jne	.L103
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR in_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC45[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L103:
	mov	rax, QWORD PTR output_file[rip]
	test	rax, rax
	jne	.L105
	mov	rax, QWORD PTR out_file_name[rip]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR output_file[rip], rax
	mov	rax, QWORD PTR output_file[rip]
	test	rax, rax
	jne	.L105
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC45[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L105:
	mov	rax, QWORD PTR pol[rip]
	test	rax, rax
	je	.L106
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L107
	mov	rdx, QWORD PTR pol[rip]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC47[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L107:
	mov	rax, QWORD PTR pol[rip]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR pol[rip+8], rax
	mov	rax, QWORD PTR pol[rip+8]
	test	rax, rax
	jne	.L108
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR pol[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC45[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L108:
	call	sepol_handle_create@PLT
	mov	QWORD PTR pol[rip+32], rax
	mov	rax, QWORD PTR pol[rip+32]
	test	rax, rax
	jne	.L109
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC49[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L109:
	lea	rdi, pol[rip+24]
	call	sepol_policy_file_create@PLT
	test	eax, eax
	jns	.L110
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC50[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L110:
	mov	rdx, QWORD PTR pol[rip+8]
	mov	rax, QWORD PTR pol[rip+24]
	mov	rsi, rdx
	mov	rdi, rax
	call	sepol_policy_file_set_fp@PLT
	mov	rdx, QWORD PTR pol[rip+32]
	mov	rax, QWORD PTR pol[rip+24]
	mov	rsi, rdx
	mov	rdi, rax
	call	sepol_policy_file_set_handle@PLT
	lea	rdi, pol[rip+16]
	call	sepol_policydb_create@PLT
	test	eax, eax
	jns	.L111
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC51[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L111:
	mov	rdx, QWORD PTR pol[rip+24]
	mov	rax, QWORD PTR pol[rip+16]
	mov	rsi, rdx
	mov	rdi, rax
	call	sepol_policydb_read@PLT
	test	eax, eax
	jns	.L106
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC52[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L106:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L112
	mov	rax, QWORD PTR pol[rip]
	test	rax, rax
	je	.L113
	mov	rax, QWORD PTR pol[rip]
	jmp	.L114
.L113:
	lea	rax, .LC53[rip]
.L114:
	mov	rdi, QWORD PTR stdout[rip]
	mov	rcx, rax
	lea	rdx, .LC54[rip]
	lea	rsi, .LC15[rip]
	mov	eax, 0
	call	log_msg
.L112:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L115
	mov	rax, QWORD PTR in_file_name[rip]
	test	rax, rax
	je	.L116
	mov	rax, QWORD PTR in_file_name[rip]
	jmp	.L117
.L116:
	lea	rax, .LC55[rip]
.L117:
	mov	rdi, QWORD PTR stdout[rip]
	mov	rcx, rax
	lea	rdx, .LC56[rip]
	lea	rsi, .LC15[rip]
	mov	eax, 0
	call	log_msg
.L115:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L118
	mov	rax, QWORD PTR out_file_name[rip]
	test	rax, rax
	je	.L119
	mov	rax, QWORD PTR out_file_name[rip]
	jmp	.L120
.L119:
	lea	rax, .LC57[rip]
.L120:
	mov	rdi, QWORD PTR stdout[rip]
	mov	rcx, rax
	lea	rdx, .LC58[rip]
	lea	rsi, .LC15[rip]
	mov	eax, 0
	call	log_msg
.L118:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC59[rip]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	init, .-init
	.section	.rodata
.LC61:
	.string	"Enabling verbose\n"
	.align 8
.LC62:
	.string	"Option -%c requires an argument.\n"
.LC63:
	.string	"Unknown option `-%c'.\n"
	.align 8
.LC64:
	.string	"Unknown option character `\\x%x'.\n"
.LC65:
	.string	"ho:p:sv"
	.align 8
.LC66:
	.string	"Too many arguments, expected 0 or 1, argument, got %d\n"
	.text
	.type	handle_options, @function
handle_options:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L122
.L132:
	cmp	DWORD PTR -8[rbp], 118
	je	.L123
	cmp	DWORD PTR -8[rbp], 118
	jg	.L124
	cmp	DWORD PTR -8[rbp], 112
	je	.L125
	cmp	DWORD PTR -8[rbp], 112
	jg	.L124
	cmp	DWORD PTR -8[rbp], 111
	je	.L126
	cmp	DWORD PTR -8[rbp], 111
	jg	.L124
	cmp	DWORD PTR -8[rbp], 63
	je	.L127
	cmp	DWORD PTR -8[rbp], 104
	jne	.L124
	mov	eax, 0
	call	usage
	mov	edi, 0
	call	exit@PLT
.L126:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR out_file_name[rip], rax
	jmp	.L122
.L125:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR pol[rip], rax
	jmp	.L122
.L123:
	mov	DWORD PTR logging_verbose[rip], 1
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L122
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC61[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L122
.L127:
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 111
	je	.L129
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 112
	jne	.L130
.L129:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC62[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L124
.L130:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optopt[rip]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L131
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC63[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	jmp	.L124
.L131:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC64[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L124:
	mov	edi, 1
	call	exit@PLT
.L122:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC65[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jne	.L132
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jle	.L133
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	lea	rdx, .LC66[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	eax, 0
	call	usage
	mov	edi, 1
	call	exit@PLT
.L133:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L134
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR in_file_name[rip], rax
	jmp	.L135
.L134:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR input_file[rip], rax
	lea	rax, .LC55[rip]
	mov	QWORD PTR in_file_name[rip], rax
.L135:
	mov	rax, QWORD PTR out_file_name[rip]
	test	rax, rax
	jne	.L137
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR output_file[rip], rax
	lea	rax, .LC57[rip]
	mov	QWORD PTR out_file_name[rip], rax
.L137:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	handle_options, .-handle_options
	.type	list_add, @function
list_add:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L145
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR list_head[rip]
	test	rax, rax
	jne	.L141
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR list_tail[rip], rax
	mov	rax, QWORD PTR list_tail[rip]
	mov	QWORD PTR list_head[rip], rax
	jmp	.L138
.L141:
	mov	rax, QWORD PTR list_tail[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR list_tail[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR list_tail[rip], rax
	jmp	.L138
.L145:
	nop
.L140:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC41[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L138:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE43:
	.size	list_add, .-list_add
	.type	list_free, @function
list_free:
.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, 32
	mov	rax, QWORD PTR list_head[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L147
.L148:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	rule_map_free
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L147:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L148
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE44:
	.size	list_free, .-list_free
	.section	.rodata
.LC67:
	.string	"Searching for key: %s\n"
.LC68:
	.string	"Existing entry found!\n"
	.align 8
.LC69:
	.string	"Duplicate line detected in file: %s\nLines %d and %d %s!\n"
	.align 8
.LC70:
	.string	"Out of memory in function: %s\n"
	.text
	.type	rule_add, @function
rule_add:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L150
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC67[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L150:
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L151
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L152
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC68[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L152:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rule_map_cmp
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, map_match_str[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	edi, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR 16[rax]
	mov	rdx, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8d, esi
	mov	rcx, rdx
	lea	rdx, .LC69[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	add	rsp, 16
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	rule_map_free
	jmp	.L153
.L151:
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L163
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	rdi, rcx
	mov	rsi, rax
	call	hsearch@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L164
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	list_add
	jmp	.L162
.L163:
	nop
	jmp	.L155
.L164:
	nop
.L155:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L158
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L158:
	cmp	QWORD PTR -32[rbp], 0
	je	.L159
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
.L159:
	cmp	QWORD PTR -56[rbp], 0
	je	.L160
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
.L160:
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, __FUNCTION__.1[rip]
	lea	rdx, .LC70[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L153:
	mov	edi, 1
	call	exit@PLT
.L162:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE45:
	.size	rule_add, .-rule_add
	.section	.rodata
.LC71:
	.string	"Got line %d\n"
.LC72:
	.string	" \t"
	.align 8
.LC73:
	.string	"reading %s, line %u, name %s, value %s\n"
	.align 8
.LC74:
	.string	"In function %s:  Out of memory\n"
	.text
	.type	parse, @function
parse:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8452[rbp], 0
	mov	QWORD PTR -8424[rbp], 0
	mov	QWORD PTR -8416[rbp], 0
	mov	QWORD PTR -8408[rbp], 0
	jmp	.L166
.L183:
	add	DWORD PTR -8452[rbp], 1
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L167
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -8452[rbp]
	mov	ecx, edx
	lea	rdx, .LC71[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L167:
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8400[rbp], rax
	mov	rax, QWORD PTR -8400[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR -8208[rbp+rax]
	cmp	al, 10
	jne	.L168
	mov	rax, QWORD PTR -8400[rbp]
	sub	rax, 1
	mov	BYTE PTR -8208[rbp+rax], 0
.L168:
	lea	rax, -8208[rbp]
	mov	QWORD PTR -8432[rbp], rax
	jmp	.L169
.L170:
	add	QWORD PTR -8432[rbp], 1
.L169:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8432[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L170
	mov	rax, QWORD PTR -8432[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L166
	mov	rax, QWORD PTR -8432[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L172
	jmp	.L166
.L172:
	lea	rdx, -8448[rbp]
	mov	rax, QWORD PTR -8432[rbp]
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -8440[rbp], rax
	cmp	QWORD PTR -8440[rbp], 0
	je	.L189
	mov	QWORD PTR -8408[rbp], 0
	lea	rax, -8384[rbp]
	mov	edx, 176
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L181:
	mov	rax, QWORD PTR -8440[rbp]
	mov	QWORD PTR -8424[rbp], rax
	mov	rax, QWORD PTR -8424[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8416[rbp], rax
	cmp	QWORD PTR -8416[rbp], 0
	je	.L190
	mov	rax, QWORD PTR -8416[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8416[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8424[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8408[rbp]
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8384
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8408[rbp]
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8384
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L191
	mov	rax, QWORD PTR -8416[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8408[rbp]
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8376
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8408[rbp]
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8376
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L192
	add	QWORD PTR -8408[rbp], 1
	lea	rax, -8448[rbp]
	mov	rdx, rax
	lea	rsi, .LC72[rip]
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -8440[rbp], rax
	cmp	QWORD PTR -8440[rbp], 0
	je	.L193
	jmp	.L181
.L193:
	nop
	mov	edx, DWORD PTR -8452[rbp]
	mov	rcx, QWORD PTR -8408[rbp]
	lea	rax, -8384[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rule_map_new
	mov	QWORD PTR -8392[rbp], rax
	cmp	QWORD PTR -8392[rbp], 0
	je	.L194
	mov	rax, QWORD PTR -8392[rbp]
	mov	rdi, rax
	call	rule_add
.L166:
	mov	rdx, QWORD PTR input_file[rip]
	lea	rax, -8208[rbp]
	mov	esi, 8191
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L183
	jmp	.L188
.L189:
	nop
	jmp	.L174
.L190:
	nop
	jmp	.L174
.L194:
	nop
.L174:
	mov	rdx, QWORD PTR in_file_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -8424[rbp]
	mov	ecx, DWORD PTR -8452[rbp]
	sub	rsp, 8
	push	QWORD PTR -8416[rbp]
	mov	r9, rsi
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC73[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L191:
	nop
	jmp	.L177
.L192:
	nop
.L177:
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, __FUNCTION__.0[rip]
	lea	rdx, .LC74[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L188:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L186
	call	__stack_chk_fail@PLT
.L186:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE46:
	.size	parse, .-parse
	.type	output, @function
output:
.LFB47:
	.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	rax, QWORD PTR list_head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L196
.L197:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR output_file[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rule_map_print
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR output_file[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L196:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L197
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE47:
	.size	output, .-output
	.section	.rodata
.LC75:
	.string	"Closing file: %s\n"
.LC76:
	.string	"Freeing list\n"
	.text
	.type	cleanup, @function
cleanup:
.LFB48:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR out_file_name[rip]
	test	rax, rax
	je	.L199
	mov	rax, QWORD PTR output_file[rip]
	test	rax, rax
	je	.L199
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L200
	mov	rdx, QWORD PTR out_file_name[rip]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC75[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L200:
	mov	rax, QWORD PTR output_file[rip]
	mov	rdi, rax
	call	fclose@PLT
.L199:
	mov	rax, QWORD PTR in_file_name[rip]
	test	rax, rax
	je	.L201
	mov	rax, QWORD PTR input_file[rip]
	test	rax, rax
	je	.L201
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L202
	mov	rdx, QWORD PTR in_file_name[rip]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC75[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L202:
	mov	rax, QWORD PTR input_file[rip]
	mov	rdi, rax
	call	fclose@PLT
.L201:
	mov	rax, QWORD PTR pol[rip+8]
	test	rax, rax
	je	.L203
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L204
	mov	rdx, QWORD PTR pol[rip]
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rdx
	lea	rdx, .LC75[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L204:
	mov	rax, QWORD PTR pol[rip+8]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR pol[rip+16]
	test	rax, rax
	je	.L205
	mov	rax, QWORD PTR pol[rip+16]
	mov	rdi, rax
	call	sepol_policydb_free@PLT
.L205:
	mov	rax, QWORD PTR pol[rip+24]
	test	rax, rax
	je	.L206
	mov	rax, QWORD PTR pol[rip+24]
	mov	rdi, rax
	call	sepol_policy_file_free@PLT
.L206:
	mov	rax, QWORD PTR pol[rip+32]
	test	rax, rax
	je	.L203
	mov	rax, QWORD PTR pol[rip+32]
	mov	rdi, rax
	call	sepol_handle_destroy@PLT
.L203:
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L207
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC76[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L207:
	mov	eax, 0
	call	list_free
	call	hdestroy@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE48:
	.size	cleanup, .-cleanup
	.section	.rodata
	.align 8
.LC77:
	.string	"Could not create hash table: %s\n"
.LC78:
	.string	"Starting to parse\n"
	.align 8
.LC79:
	.string	"Parsing completed, generating output\n"
.LC80:
	.string	"Success, generated output\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB49:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	edi, 1024
	call	hcreate@PLT
	test	eax, eax
	jne	.L209
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC77[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
	mov	edi, 1
	call	exit@PLT
.L209:
	lea	rdi, cleanup[rip]
	call	atexit@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	handle_options
	mov	eax, 0
	call	init
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L210
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC78[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L210:
	mov	eax, 0
	call	parse
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L211
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC79[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L211:
	mov	eax, 0
	call	output
	mov	eax, DWORD PTR logging_verbose[rip]
	test	eax, eax
	je	.L212
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC80[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	log_msg
.L212:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE49:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__FUNCTION__.1, @object
	.size	__FUNCTION__.1, 9
__FUNCTION__.1:
	.string	"rule_add"
	.type	__FUNCTION__.0, @object
	.size	__FUNCTION__.0, 6
__FUNCTION__.0:
	.string	"parse"
	.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	"525278.c"
	.text
	.global	map_match_str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"do not match\000"
	.align	2
.LC1:
	.ascii	"match on all inputs\000"
	.align	2
.LC2:
	.ascii	"match on everything\000"
	.data
	.align	2
	.type	map_match_str, %object
	.size	map_match_str, 12
map_match_str:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.local	logging_verbose
	.comm	logging_verbose,4,4
	.local	output_file
	.comm	output_file,4,4
	.local	input_file
	.comm	input_file,4,4
	.local	out_file_name
	.comm	out_file_name,4,4
	.local	in_file_name
	.comm	in_file_name,4,4
	.local	pol
	.comm	pol,24,4
	.global	rules
	.section	.rodata
	.align	2
.LC3:
	.ascii	"isSystemServer\000"
	.align	2
.LC4:
	.ascii	"isOwner\000"
	.align	2
.LC5:
	.ascii	"user\000"
	.align	2
.LC6:
	.ascii	"seinfo\000"
	.align	2
.LC7:
	.ascii	"name\000"
	.align	2
.LC8:
	.ascii	"path\000"
	.align	2
.LC9:
	.ascii	"domain\000"
	.align	2
.LC10:
	.ascii	"type\000"
	.align	2
.LC11:
	.ascii	"levelFromUid\000"
	.align	2
.LC12:
	.ascii	"levelFrom\000"
	.align	2
.LC13:
	.ascii	"level\000"
	.data
	.align	2
	.type	rules, %object
	.size	rules, 176
rules:
	.word	.LC3
	.word	0
	.word	0
	.word	0
	.word	.LC4
	.word	0
	.word	0
	.word	0
	.word	.LC5
	.word	0
	.word	1
	.word	0
	.word	.LC6
	.word	0
	.word	1
	.word	0
	.word	.LC7
	.word	0
	.word	1
	.word	0
	.word	.LC8
	.word	0
	.word	1
	.word	0
	.word	.LC9
	.word	1
	.word	1
	.word	0
	.word	.LC10
	.word	1
	.word	1
	.word	0
	.word	.LC11
	.word	1
	.word	0
	.word	0
	.word	.LC12
	.word	1
	.word	1
	.word	0
	.word	.LC13
	.word	1
	.word	1
	.word	0
	.local	list_head
	.comm	list_head,4,4
	.local	list_tail
	.comm	list_tail,4,4
	.section	.rodata
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	log_msg, %function
log_msg:
	@ args = 4, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	fputs
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	vfprintf
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L4:
	.align	2
.L3:
	.word	.LC14
	.size	log_msg, .-log_msg
	.align	2
	.global	check_type
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_type, %function
check_type:
	@ 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]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check_type, .-check_type
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Validating %s=%s\012\000"
	.align	2
.LC16:
	.ascii	"Info: \000"
	.align	2
.LC17:
	.ascii	"true\000"
	.align	2
.LC18:
	.ascii	"false\000"
	.align	2
.LC19:
	.ascii	"Expected boolean value got: %s=%s on line: %d in fi"
	.ascii	"le: %s\012\000"
	.align	2
.LC20:
	.ascii	"Error: \000"
	.align	2
.LC21:
	.ascii	"none\000"
	.align	2
.LC22:
	.ascii	"all\000"
	.align	2
.LC23:
	.ascii	"app\000"
	.align	2
.LC24:
	.ascii	"Unknown levelFrom=%s on line: %d in file: %s\012\000"
	.align	2
.LC25:
	.ascii	"Could not find selinux type \"%s\" on line: %d in f"
	.ascii	"ile: %s\012\000"
	.align	2
.LC26:
	.ascii	"Could not find selinux level \"%s\", on line: %d in"
	.ascii	" file: %s\012\000"
	.align	2
.LC27:
	.ascii	"Key map validate returning: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	key_map_validate, %function
key_map_validate:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L24+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, .L24+8
	ldr	r1, .L24+12
	bl	log_msg
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L9
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r1, [fp, #-12]
	ldr	r0, .L24+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L24+24
	ldr	r0, [r3]
	ldr	r3, .L24+28
	ldr	r3, [r3]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-36]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, .L24+32
	ldr	r1, .L24+36
	bl	log_msg
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L12:
	ldr	r1, .L24+40
	ldr	r0, [fp, #-16]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r1, .L24+44
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r1, .L24+48
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r1, .L24+52
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r1, .L24+56
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L24+24
	ldr	r0, [r3]
	ldr	r3, .L24+28
	ldr	r3, [r3]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+60
	ldr	r1, .L24+36
	bl	log_msg
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L13:
	ldr	r3, .L24+64
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L24+68
	ldr	r0, [fp, #-16]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r1, .L24+72
	ldr	r0, [fp, #-16]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
.L15:
	ldr	r3, .L24+64
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	check_type
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L24+24
	ldr	r0, [r3]
	ldr	r3, .L24+28
	ldr	r3, [r3]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+76
	ldr	r1, .L24+36
	bl	log_msg
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L22
.L16:
	ldr	r1, .L24+80
	ldr	r0, [fp, #-16]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L24+64
	ldr	r3, [r3, #16]
	ldr	r2, .L24+64
	ldr	r1, [r2, #8]
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	sepol_mls_check
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L23
	ldr	r3, .L24+24
	ldr	r0, [r3]
	ldr	r3, .L24+28
	ldr	r3, [r3]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+84
	ldr	r1, .L24+36
	bl	log_msg
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L20:
	nop
	b	.L11
.L21:
	nop
	b	.L11
.L22:
	nop
	b	.L11
.L23:
	nop
.L11:
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L24+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, .L24+88
	ldr	r1, .L24+12
	bl	log_msg
.L18:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	logging_verbose
	.word	stdout
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	stderr
	.word	out_file_name
	.word	.LC19
	.word	.LC20
	.word	.LC12
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC5
	.word	.LC24
	.word	pol
	.word	.LC10
	.word	.LC9
	.word	.LC25
	.word	.LC13
	.word	.LC26
	.word	.LC27
	.size	key_map_validate, .-key_map_validate
	.section	.rodata
	.align	2
.LC28:
	.ascii	"%s=%s \000"
	.align	2
.LC29:
	.ascii	"%s=%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_map_print, %function
rule_map_print:
	@ 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, #-12]
	b	.L27
.L30:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcs	.L28
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldr	r1, .L31
	ldr	r0, [fp, #-16]
	bl	fprintf
	b	.L29
.L28:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldr	r1, .L31+4
	ldr	r0, [fp, #-16]
	bl	fprintf
.L29:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L27:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L30
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC28
	.word	.LC29
	.size	rule_map_print, .-rule_map_print
	.section	.rodata
	.align	2
.LC30:
	.ascii	"Matched input lines: name=%s data=%s\012\000"
	.align	2
.LC31:
	.ascii	"Matched lines: name=%s data=%s\000"
	.align	2
.LC32:
	.ascii	"Rule map cmp MATCH\012\000"
	.align	2
.LC33:
	.ascii	"Rule map cmp INPUT MATCH\012\000"
	.align	2
.LC34:
	.ascii	"Rule map cmp NO MATCH\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_map_cmp, %function
rule_map_cmp:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	beq	.L34
	mov	r3, #0
	b	.L35
.L34:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L36
.L49:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L37
.L48:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L55
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L58
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L43:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L44
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L59+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L59+8
	ldr	r1, .L59+12
	bl	log_msg
.L45:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L44:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L59+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L59+16
	ldr	r1, .L59+12
	bl	log_msg
.L46:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L47
.L55:
	nop
	b	.L39
.L56:
	nop
	b	.L39
.L57:
	nop
	b	.L39
.L58:
	nop
.L39:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L37:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L48
.L47:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L36:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L49
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L50
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+20
	ldr	r1, .L59+12
	mov	r0, r3
	bl	log_msg
.L51:
	mov	r3, #2
	b	.L35
.L50:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L52
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+24
	ldr	r1, .L59+12
	mov	r0, r3
	bl	log_msg
.L53:
	mov	r3, #1
	b	.L35
.L52:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L54
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, .L59+28
	ldr	r1, .L59+12
	mov	r0, r3
	bl	log_msg
.L54:
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	logging_verbose
	.word	stdout
	.word	.LC30
	.word	.LC16
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	rule_map_cmp, .-rule_map_cmp
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_map_free, %function
rule_map_free:
	@ 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]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L62
.L63:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L62:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcc	.L63
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L64
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L64:
	ldr	r0, [fp, #-24]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rule_map_free, .-rule_map_free
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_kvp, %function
free_kvp:
	@ 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
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_kvp, .-free_kvp
	.section	.rodata
	.align	2
.LC35:
	.ascii	"default\000"
	.align	2
.LC36:
	.ascii	"No specific seinfo value specified with name=\"%s\""
	.ascii	", on line: %d:  insecure configuration!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_map_validate, %function
rule_map_validate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	mov	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L67
.L70:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L73
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	mov	r3, #1
	strb	r3, [fp, #-18]
.L68:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L73+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	ldr	r1, .L73+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	mov	r3, #1
	strb	r3, [fp, #-17]
.L69:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L67:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L70
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	ldrb	r3, [fp, #-17]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L71
	ldr	r3, .L73+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, .L73+16
	ldr	r1, .L73+20
	bl	log_msg
	mov	r3, #0
	b	.L72
.L71:
	mov	r3, #1
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC7
	.word	.LC6
	.word	.LC35
	.word	stderr
	.word	.LC36
	.word	.LC20
	.size	rule_map_validate, .-rule_map_validate
	.section	.rodata
	.align	2
.LC37:
	.ascii	"No match for key: %s\012\000"
	.align	2
.LC38:
	.ascii	"Duplicated key: %s\012\000"
	.align	2
.LC39:
	.ascii	"Validating keys!\012\000"
	.align	2
.LC40:
	.ascii	"Could not validate\012\000"
	.align	2
.LC41:
	.ascii	"Strange, no keys found, input file corrupt perhaps?"
	.ascii	"\012\000"
	.align	2
.LC42:
	.ascii	"Out of memory!\012\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_map_new, %function
rule_map_new:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	ldr	r3, .L110
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L76
.L77:
	sub	r2, fp, #20
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L76:
	ldr	r3, [fp, #-60]
	cmp	r3, #10
	bls	.L77
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	add	r3, r3, #12
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-80]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L80
.L96:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L81
.L95:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #4
	ldr	r2, .L110+4
	add	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-60]
	cmp	r3, #11
	bne	.L83
	ldr	r3, .L110+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldr	r2, .L110+12
	ldr	r1, .L110+16
	bl	log_msg
	b	.L84
.L83:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L81
.L82:
	sub	r2, fp, #20
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L85
	ldr	r3, .L110+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldr	r2, .L110+20
	ldr	r1, .L110+16
	bl	log_msg
	b	.L84
.L85:
	sub	r2, fp, #20
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	mov	r2, #16
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	memcpy
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L106
	ldr	r3, .L110+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L87
	ldr	r3, .L110+28
	ldr	r3, [r3]
	ldr	r2, .L110+32
	ldr	r1, .L110+36
	mov	r0, r3
	bl	log_msg
.L87:
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-44]
	bl	key_map_validate
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	ldr	r3, .L110+8
	ldr	r3, [r3]
	ldr	r2, .L110+40
	ldr	r1, .L110+16
	mov	r0, r3
	bl	log_msg
	b	.L84
.L88:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	b	.L91
.L90:
	mov	r3, #0
.L91:
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L108
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-28]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	memset
.L93:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	mov	r1, r3
	bl	strncat
	ldr	r3, [fp, #-52]
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	mov	r1, r3
	bl	strncat
	b	.L107
.L81:
	ldr	r3, [fp, #-56]
	cmp	r3, #10
	bls	.L95
	b	.L94
.L107:
	nop
.L94:
	ldr	r0, [fp, #-48]
	bl	free_kvp
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L80:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bcc	.L96
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L97
	ldr	r3, .L110+8
	ldr	r3, [r3]
	ldr	r2, .L110+44
	ldr	r1, .L110+16
	mov	r0, r3
	bl	log_msg
	b	.L84
.L97:
	ldr	r0, [fp, #-52]
	bl	rule_map_validate
	mov	r3, r0
	strb	r3, [fp, #-61]
	ldrb	r3, [fp, #-61]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L109
	ldr	r3, [fp, #-52]
	b	.L103
.L105:
	nop
	b	.L79
.L106:
	nop
	b	.L79
.L108:
	nop
.L79:
	ldr	r3, .L110+8
	ldr	r3, [r3]
	ldr	r2, .L110+48
	ldr	r1, .L110+16
	mov	r0, r3
	bl	log_msg
	b	.L84
.L109:
	nop
.L84:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L100
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	rule_map_free
	b	.L101
.L102:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-48]
	bl	free_kvp
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L101:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bcc	.L102
.L100:
	mov	r3, #0
.L103:
	ldr	r2, .L110
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L104
	bl	__stack_chk_fail
.L104:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	.LC43
	.word	rules
	.word	stderr
	.word	.LC37
	.word	.LC20
	.word	.LC38
	.word	logging_verbose
	.word	stdout
	.word	.LC39
	.word	.LC16
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	rule_map_new, .-rule_map_new
	.section	.rodata
	.align	2
.LC44:
	.ascii	"checkseapp [options] <input file>\012Processes an s"
	.ascii	"eapp_contexts file specified by argument <input fil"
	.ascii	"e> (default stdin) and allows later declarations to"
	.ascii	" override previous ones on a match.\012Options:\012"
	.ascii	"-h - print this help message\012-v - enable verbose"
	.ascii	" debugging informations\012-p policy file - specify"
	.ascii	" policy file for strict checking of output selector"
	.ascii	"s against the policy\012-o output file - specify ou"
	.ascii	"tput file, default is stdout\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L113
	bl	puts
	nop
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC44
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC45:
	.ascii	"Opening input file: %s\012\000"
	.align	2
.LC46:
	.ascii	"r\000"
	.align	2
.LC47:
	.ascii	"Could not open file: %s error: %s\012\000"
	.align	2
.LC48:
	.ascii	"w+\000"
	.align	2
.LC49:
	.ascii	"Opening policy file: %s\012\000"
	.align	2
.LC50:
	.ascii	"rb\000"
	.align	2
.LC51:
	.ascii	"Could not create sepolicy handle: %s\012\000"
	.align	2
.LC52:
	.ascii	"Could not create sepolicy file: %s!\012\000"
	.align	2
.LC53:
	.ascii	"Could not create sepolicy db: %s!\012\000"
	.align	2
.LC54:
	.ascii	"Could not lod policy file to db: %s!\012\000"
	.align	2
.LC55:
	.ascii	"None\000"
	.align	2
.LC56:
	.ascii	"Policy file set to: %s\012\000"
	.align	2
.LC57:
	.ascii	"stdin\000"
	.align	2
.LC58:
	.ascii	"Input file set to: %s\012\000"
	.align	2
.LC59:
	.ascii	"stdout\000"
	.align	2
.LC60:
	.ascii	"Output file set to: %s\012\000"
	.align	2
.LC61:
	.ascii	"LINK_SEPOL_STATIC is not defined\012Not checking ty"
	.ascii	"pes!\000"
	.align	2
.LC62:
	.ascii	"Warning: \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r3, .L134
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L116
	ldr	r3, .L134+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L117
	ldr	r3, .L134+8
	ldr	r0, [r3]
	ldr	r3, .L134+12
	ldr	r3, [r3]
	ldr	r2, .L134+16
	ldr	r1, .L134+20
	bl	log_msg
.L117:
	ldr	r3, .L134+12
	ldr	r3, [r3]
	ldr	r1, .L134+24
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L134
	str	r3, [r2]
	ldr	r3, .L134
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L116
	ldr	r3, .L134+28
	ldr	r4, [r3]
	ldr	r3, .L134+12
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, .L134+32
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L116:
	ldr	r3, .L134+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L118
	ldr	r3, .L134+44
	ldr	r3, [r3]
	ldr	r1, .L134+48
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L134+40
	str	r3, [r2]
	ldr	r3, .L134+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L118
	ldr	r3, .L134+28
	ldr	r4, [r3]
	ldr	r3, .L134+44
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, .L134+32
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L118:
	ldr	r3, .L134+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L119
	ldr	r3, .L134+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L120
	ldr	r3, .L134+8
	ldr	r0, [r3]
	ldr	r3, .L134+52
	ldr	r3, [r3]
	ldr	r2, .L134+56
	ldr	r1, .L134+20
	bl	log_msg
.L120:
	ldr	r3, .L134+52
	ldr	r3, [r3]
	ldr	r1, .L134+60
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L134+52
	str	r3, [r2, #4]
	ldr	r3, .L134+52
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L121
	ldr	r3, .L134+28
	ldr	r4, [r3]
	ldr	r3, .L134+52
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, .L134+32
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L121:
	bl	sepol_handle_create
	mov	r3, r0
	ldr	r2, .L134+52
	str	r3, [r2, #16]
	ldr	r3, .L134+52
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L122
	ldr	r3, .L134+28
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L134+64
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L122:
	ldr	r0, .L134+68
	bl	sepol_policy_file_create
	mov	r3, r0
	cmp	r3, #0
	bge	.L123
	ldr	r3, .L134+28
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L134+72
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L123:
	ldr	r3, .L134+52
	ldr	r3, [r3, #12]
	ldr	r2, .L134+52
	ldr	r2, [r2, #4]
	mov	r1, r2
	mov	r0, r3
	bl	sepol_policy_file_set_fp
	ldr	r3, .L134+52
	ldr	r3, [r3, #12]
	ldr	r2, .L134+52
	ldr	r2, [r2, #16]
	mov	r1, r2
	mov	r0, r3
	bl	sepol_policy_file_set_handle
	ldr	r0, .L134+76
	bl	sepol_policydb_create
	mov	r3, r0
	cmp	r3, #0
	bge	.L124
	ldr	r3, .L134+28
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L134+80
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L124:
	ldr	r3, .L134+52
	ldr	r3, [r3, #8]
	ldr	r2, .L134+52
	ldr	r2, [r2, #12]
	mov	r1, r2
	mov	r0, r3
	bl	sepol_policydb_read
	mov	r3, r0
	cmp	r3, #0
	bge	.L119
	ldr	r3, .L134+28
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L134+84
	ldr	r1, .L134+36
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L119:
	ldr	r3, .L134+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L125
	ldr	r3, .L134+8
	ldr	r0, [r3]
	ldr	r3, .L134+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L126
	ldr	r3, .L134+52
	ldr	r3, [r3]
	b	.L127
.L126:
	ldr	r3, .L134+88
.L127:
	ldr	r2, .L134+92
	ldr	r1, .L134+20
	bl	log_msg
.L125:
	ldr	r3, .L134+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L128
	ldr	r3, .L134+8
	ldr	r0, [r3]
	ldr	r3, .L134+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L129
	ldr	r3, .L134+12
	ldr	r3, [r3]
	b	.L130
.L129:
	ldr	r3, .L134+96
.L130:
	ldr	r2, .L134+100
	ldr	r1, .L134+20
	bl	log_msg
.L128:
	ldr	r3, .L134+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L131
	ldr	r3, .L134+8
	ldr	r0, [r3]
	ldr	r3, .L134+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L132
	ldr	r3, .L134+44
	ldr	r3, [r3]
	b	.L133
.L132:
	ldr	r3, .L134+104
.L133:
	ldr	r2, .L134+108
	ldr	r1, .L134+20
	bl	log_msg
.L131:
	ldr	r3, .L134+28
	ldr	r3, [r3]
	ldr	r2, .L134+112
	ldr	r1, .L134+116
	mov	r0, r3
	bl	log_msg
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L135:
	.align	2
.L134:
	.word	input_file
	.word	logging_verbose
	.word	stdout
	.word	in_file_name
	.word	.LC45
	.word	.LC16
	.word	.LC46
	.word	stderr
	.word	.LC47
	.word	.LC20
	.word	output_file
	.word	out_file_name
	.word	.LC48
	.word	pol
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	pol+12
	.word	.LC52
	.word	pol+8
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.size	init, .-init
	.section	.rodata
	.align	2
.LC63:
	.ascii	"Enabling verbose\012\000"
	.align	2
.LC64:
	.ascii	"Option -%c requires an argument.\012\000"
	.align	2
.LC65:
	.ascii	"Unknown option `-%c'.\012\000"
	.align	2
.LC66:
	.ascii	"Unknown option character `\\x%x'.\012\000"
	.align	2
.LC67:
	.ascii	"ho:p:sv\000"
	.align	2
.LC68:
	.ascii	"Too many arguments, expected 0 or 1, argument, got "
	.ascii	"%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_options, %function
handle_options:
	@ 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]
	b	.L137
.L149:
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	beq	.L138
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	blt	.L139
	ldr	r3, [fp, #-12]
	cmp	r3, #118
	bgt	.L139
	ldr	r3, [fp, #-12]
	cmp	r3, #104
	blt	.L139
	ldr	r3, [fp, #-12]
	sub	r3, r3, #104
	cmp	r3, #14
	ldrls	pc, [pc, r3, asl #2]
	b	.L139
.L141:
	.word	.L144
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L143
	.word	.L142
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L139
	.word	.L140
.L144:
	bl	usage
	mov	r0, #0
	bl	exit
.L143:
	ldr	r3, .L155
	ldr	r3, [r3]
	ldr	r2, .L155+4
	str	r3, [r2]
	b	.L137
.L142:
	ldr	r3, .L155
	ldr	r3, [r3]
	ldr	r2, .L155+8
	str	r3, [r2]
	b	.L137
.L140:
	ldr	r3, .L155+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L155+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L137
	ldr	r3, .L155+16
	ldr	r3, [r3]
	ldr	r2, .L155+20
	ldr	r1, .L155+24
	mov	r0, r3
	bl	log_msg
	b	.L137
.L138:
	ldr	r3, .L155+28
	ldr	r3, [r3]
	cmp	r3, #111
	beq	.L146
	ldr	r3, .L155+28
	ldr	r3, [r3]
	cmp	r3, #112
	bne	.L147
.L146:
	ldr	r3, .L155+32
	ldr	r0, [r3]
	ldr	r3, .L155+28
	ldr	r3, [r3]
	ldr	r2, .L155+36
	ldr	r1, .L155+40
	bl	log_msg
	b	.L139
.L147:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L155+28
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L148
	ldr	r3, .L155+32
	ldr	r0, [r3]
	ldr	r3, .L155+28
	ldr	r3, [r3]
	ldr	r2, .L155+44
	ldr	r1, .L155+40
	bl	log_msg
	b	.L139
.L148:
	ldr	r3, .L155+32
	ldr	r0, [r3]
	ldr	r3, .L155+28
	ldr	r3, [r3]
	ldr	r2, .L155+48
	ldr	r1, .L155+40
	bl	log_msg
.L139:
	mov	r0, #1
	bl	exit
.L137:
	ldr	r2, .L155+52
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L149
	ldr	r3, .L155+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L150
	ldr	r3, .L155+32
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, .L155+60
	ldr	r1, .L155+40
	bl	log_msg
	bl	usage
	mov	r0, #1
	bl	exit
.L150:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L151
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L155+64
	str	r3, [r2]
	b	.L152
.L151:
	ldr	r3, .L155+68
	ldr	r3, [r3]
	ldr	r2, .L155+72
	str	r3, [r2]
	ldr	r3, .L155+64
	ldr	r2, .L155+76
	str	r2, [r3]
.L152:
	ldr	r3, .L155+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L154
	ldr	r3, .L155+16
	ldr	r3, [r3]
	ldr	r2, .L155+80
	str	r3, [r2]
	ldr	r3, .L155+4
	ldr	r2, .L155+84
	str	r2, [r3]
.L154:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L156:
	.align	2
.L155:
	.word	optarg
	.word	out_file_name
	.word	pol
	.word	logging_verbose
	.word	stdout
	.word	.LC63
	.word	.LC16
	.word	optopt
	.word	stderr
	.word	.LC64
	.word	.LC20
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	optind
	.word	.LC68
	.word	in_file_name
	.word	stdin
	.word	input_file
	.word	.LC57
	.word	output_file
	.word	.LC59
	.size	handle_options, .-handle_options
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_add, %function
list_add:
	@ 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]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L164
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L165
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L160
	ldr	r2, .L165+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L165+4
	ldr	r3, [r3]
	ldr	r2, .L165
	str	r3, [r2]
	b	.L157
.L160:
	ldr	r3, .L165+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, .L165+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L165+4
	str	r3, [r2]
	b	.L157
.L164:
	nop
.L159:
	ldr	r3, .L165+8
	ldr	r3, [r3]
	ldr	r2, .L165+12
	ldr	r1, .L165+16
	mov	r0, r3
	bl	log_msg
	mov	r0, #1
	bl	exit
.L157:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L166:
	.align	2
.L165:
	.word	list_head
	.word	list_tail
	.word	stderr
	.word	.LC42
	.word	.LC20
	.size	list_add, .-list_add
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_free, %function
list_free:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L170
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L168
.L169:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	rule_map_free
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
.L168:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L169
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L171:
	.align	2
.L170:
	.word	list_head
	.size	list_free, .-list_free
	.section	.rodata
	.align	2
.LC69:
	.ascii	"Searching for key: %s\012\000"
	.align	2
.LC70:
	.ascii	"Existing entry found!\012\000"
	.align	2
.LC71:
	.ascii	"Duplicate line detected in file: %s\012Lines %d and"
	.ascii	" %d %s!\012\000"
	.align	2
.LC72:
	.ascii	"Out of memory in function: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rule_add, %function
rule_add:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L188
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L173
	ldr	r3, .L188+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, .L188+8
	ldr	r1, .L188+12
	bl	log_msg
.L173:
	mov	r2, #0
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	bl	hsearch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L174
	ldr	r3, .L188
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L175
	ldr	r3, .L188+4
	ldr	r3, [r3]
	ldr	r2, .L188+16
	ldr	r1, .L188+12
	mov	r0, r3
	bl	log_msg
.L175:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	rule_map_cmp
	str	r0, [fp, #-16]
	ldr	r3, .L188+20
	ldr	r0, [r3]
	ldr	r3, .L188+24
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-32]
	ldr	r2, [r2, #8]
	ldr	lr, .L188+28
	ldr	r1, [fp, #-16]
	ldr	r1, [lr, r1, lsl #2]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	ldr	r2, .L188+32
	ldr	r1, .L188+36
	bl	log_msg
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	rule_map_free
	b	.L176
.L174:
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L186
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	mov	r2, #1
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	bl	hsearch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L187
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r0, [fp, #-24]
	bl	list_add
	b	.L185
.L186:
	nop
	b	.L178
.L187:
	nop
.L178:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L181
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	free
.L181:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L182
	ldr	r0, [fp, #-24]
	bl	free
.L182:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L183
	ldr	r0, [fp, #-32]
	bl	free
.L183:
	ldr	r3, .L188+20
	ldr	r0, [r3]
	ldr	r3, .L188+40
	ldr	r2, .L188+44
	ldr	r1, .L188+36
	bl	log_msg
.L176:
	mov	r0, #1
	bl	exit
.L185:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L189:
	.align	2
.L188:
	.word	logging_verbose
	.word	stdout
	.word	.LC69
	.word	.LC16
	.word	.LC70
	.word	stderr
	.word	out_file_name
	.word	map_match_str
	.word	.LC71
	.word	.LC20
	.word	__FUNCTION__.8365
	.word	.LC72
	.size	rule_add, .-rule_add
	.section	.rodata
	.align	2
.LC73:
	.ascii	"Got line %d\012\000"
	.align	2
.LC74:
	.ascii	" \011\000"
	.align	2
.LC75:
	.ascii	"reading %s, line %u, name %s, value %s\012\000"
	.align	2
.LC76:
	.ascii	"In function %s:  Out of memory\012\000"
	.align	2
.LC77:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse, %function
parse:
	@ args = 0, pretend = 0, frame = 8320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8320
	sub	sp, sp, #20
	ldr	r3, .L220
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-120]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-112]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-108]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-104]
	b	.L191
.L208:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	add	r3, r3, #1
	str	r3, [r2, #-120]
	ldr	r3, .L220+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L192
	ldr	r3, .L220+8
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	ldr	r2, .L220+12
	ldr	r1, .L220+16
	bl	log_msg
.L192:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	str	r0, [r4, #-100]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	sub	r3, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L193
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	sub	r3, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-4]
.L193:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-116]
	b	.L194
.L195:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	add	r3, r3, #1
	str	r3, [r2, #-116]
.L194:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L195
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L191
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L197
	b	.L191
.L197:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L220+20
	ldr	r0, [r0, #-116]
	bl	strtok_r
	str	r0, [r4, #-124]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	beq	.L214
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-104]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #28
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L206:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	str	r3, [r2, #-112]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #61
	ldr	r0, [r3, #-112]
	bl	strchr
	str	r0, [r4, #-108]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	beq	.L215
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-108]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-112]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-92]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-92]
	cmp	r3, #0
	beq	.L216
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-88]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-88]
	cmp	r3, #0
	beq	.L217
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	add	r3, r3, #1
	str	r3, [r2, #-104]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L220+20
	mov	r0, #0
	bl	strtok_r
	str	r0, [r4, #-124]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	cmp	r3, #0
	beq	.L218
	b	.L206
.L218:
	nop
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-120]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #28
	ldr	r1, [r1, #-104]
	mov	r0, r3
	bl	rule_map_new
	str	r0, [r4, #-96]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-96]
	cmp	r3, #0
	beq	.L219
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-96]
	bl	rule_add
.L191:
	ldr	r3, .L220+24
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L220+28
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L208
	b	.L213
.L214:
	nop
	b	.L199
.L215:
	nop
	b	.L199
.L219:
	nop
.L199:
	ldr	r3, .L220+32
	ldr	r0, [r3]
	ldr	r3, .L220+36
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	str	r3, [sp, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	str	r3, [sp, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L220+40
	ldr	r1, .L220+44
	bl	log_msg
	mov	r0, #1
	bl	exit
.L216:
	nop
	b	.L202
.L217:
	nop
.L202:
	ldr	r3, .L220+32
	ldr	r0, [r3]
	ldr	r3, .L220+48
	ldr	r2, .L220+52
	ldr	r1, .L220+44
	bl	log_msg
	mov	r0, #1
	bl	exit
.L213:
	ldr	r3, .L220
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L211
	bl	__stack_chk_fail
.L211:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L221:
	.align	2
.L220:
	.word	.LC77
	.word	logging_verbose
	.word	stdout
	.word	.LC73
	.word	.LC16
	.word	.LC74
	.word	input_file
	.word	8191
	.word	stderr
	.word	in_file_name
	.word	.LC75
	.word	.LC20
	.word	__FUNCTION__.8389
	.word	.LC76
	.size	parse, .-parse
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L225
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L223
.L224:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L225+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	rule_map_print
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, .L225+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
.L223:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L224
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L226:
	.align	2
.L225:
	.word	list_head
	.word	output_file
	.size	output, .-output
	.section	.rodata
	.align	2
.LC78:
	.ascii	"Closing file: %s\012\000"
	.align	2
.LC79:
	.ascii	"Freeing list\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup, %function
cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L237
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L228
	ldr	r3, .L237+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L228
	ldr	r3, .L237+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L229
	ldr	r3, .L237+12
	ldr	r0, [r3]
	ldr	r3, .L237
	ldr	r3, [r3]
	ldr	r2, .L237+16
	ldr	r1, .L237+20
	bl	log_msg
.L229:
	ldr	r3, .L237+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
.L228:
	ldr	r3, .L237+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L230
	ldr	r3, .L237+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L230
	ldr	r3, .L237+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L231
	ldr	r3, .L237+12
	ldr	r0, [r3]
	ldr	r3, .L237+24
	ldr	r3, [r3]
	ldr	r2, .L237+16
	ldr	r1, .L237+20
	bl	log_msg
.L231:
	ldr	r3, .L237+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
.L230:
	ldr	r3, .L237+32
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L232
	ldr	r3, .L237+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L233
	ldr	r3, .L237+12
	ldr	r0, [r3]
	ldr	r3, .L237+32
	ldr	r3, [r3]
	ldr	r2, .L237+16
	ldr	r1, .L237+20
	bl	log_msg
.L233:
	ldr	r3, .L237+32
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L237+32
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L234
	ldr	r3, .L237+32
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	sepol_policydb_free
.L234:
	ldr	r3, .L237+32
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L235
	ldr	r3, .L237+32
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sepol_policy_file_free
.L235:
	ldr	r3, .L237+32
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L232
	ldr	r3, .L237+32
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	sepol_handle_destroy
.L232:
	ldr	r3, .L237+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L236
	ldr	r3, .L237+12
	ldr	r3, [r3]
	ldr	r2, .L237+36
	ldr	r1, .L237+20
	mov	r0, r3
	bl	log_msg
.L236:
	bl	list_free
	bl	hdestroy
	nop
	pop	{fp, pc}
.L238:
	.align	2
.L237:
	.word	out_file_name
	.word	output_file
	.word	logging_verbose
	.word	stdout
	.word	.LC78
	.word	.LC16
	.word	in_file_name
	.word	input_file
	.word	pol
	.word	.LC79
	.size	cleanup, .-cleanup
	.section	.rodata
	.align	2
.LC80:
	.ascii	"Could not create hash table: %s\012\000"
	.align	2
.LC81:
	.ascii	"Starting to parse\012\000"
	.align	2
.LC82:
	.ascii	"Parsing completed, generating output\012\000"
	.align	2
.LC83:
	.ascii	"Success, generated output\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r0, #1024
	bl	hcreate
	mov	r3, r0
	cmp	r3, #0
	bne	.L240
	ldr	r3, .L244
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L244+4
	ldr	r1, .L244+8
	mov	r0, r4
	bl	log_msg
	mov	r0, #1
	bl	exit
.L240:
	ldr	r0, .L244+12
	bl	atexit
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	handle_options
	bl	init
	ldr	r3, .L244+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L241
	ldr	r3, .L244+20
	ldr	r3, [r3]
	ldr	r2, .L244+24
	ldr	r1, .L244+28
	mov	r0, r3
	bl	log_msg
.L241:
	bl	parse
	ldr	r3, .L244+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L242
	ldr	r3, .L244+20
	ldr	r3, [r3]
	ldr	r2, .L244+32
	ldr	r1, .L244+28
	mov	r0, r3
	bl	log_msg
.L242:
	bl	output
	ldr	r3, .L244+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L243
	ldr	r3, .L244+20
	ldr	r3, [r3]
	ldr	r2, .L244+36
	ldr	r1, .L244+28
	mov	r0, r3
	bl	log_msg
.L243:
	mov	r0, #0
	bl	exit
.L245:
	.align	2
.L244:
	.word	stderr
	.word	.LC80
	.word	.LC20
	.word	cleanup
	.word	logging_verbose
	.word	stdout
	.word	.LC81
	.word	.LC16
	.word	.LC82
	.word	.LC83
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__FUNCTION__.8365, %object
	.size	__FUNCTION__.8365, 9
__FUNCTION__.8365:
	.ascii	"rule_add\000"
	.align	2
	.type	__FUNCTION__.8389, %object
	.size	__FUNCTION__.8389, 6
__FUNCTION__.8389:
	.ascii	"parse\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
