	.file	"183545.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage:  %s [-l level] user [context]\n"
.LC1:
	.string	"%s:  %s\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L2:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC2:
	.string	"invalid option"
.LC3:
	.string	"l:"
.LC4:
	.string	"invalid number of arguments"
	.align 8
.LC5:
	.string	"getconlist may be used only on a SELinux kernel.\n"
	.align 8
.LC6:
	.string	"Couldn't get current context.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L4
.L6:
	cmp	DWORD PTR -52[rbp], 108
	jne	.L5
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -32[rbp], rax
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 1
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	usage
.L4:
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jg	.L6
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, edx
	test	eax, eax
	jle	.L7
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, edx
	cmp	eax, 2
	jle	.L8
.L7:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	usage
.L8:
	call	is_selinux_enabled@PLT
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L9:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, edx
	cmp	eax, 1
	jg	.L11
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	getcon@PLT
	test	eax, eax
	jns	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L18
.L11:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
.L12:
	cmp	QWORD PTR -32[rbp], 0
	je	.L13
	mov	rdx, QWORD PTR -40[rbp]
	lea	rcx, -48[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	get_ordered_context_list_with_level@PLT
	mov	DWORD PTR -60[rbp], eax
	jmp	.L14
.L13:
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	get_ordered_context_list@PLT
	mov	DWORD PTR -60[rbp], eax
.L14:
	cmp	DWORD PTR -60[rbp], -1
	je	.L15
	mov	DWORD PTR -56[rbp], 0
	jmp	.L16
.L17:
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -56[rbp], 1
.L16:
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	freeconary@PLT
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"183545.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage:  %s [-l level] user [context]\012\000"
	.align	2
.LC1:
	.ascii	"%s:  %s\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L3+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L3
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r1, .L3+8
	bl	fprintf
.L2:
	ldr	r0, [fp, #-16]
	bl	exit
.L4:
	.align	2
.L3:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC2:
	.ascii	"invalid option\000"
	.align	2
.LC3:
	.ascii	"l:\000"
	.align	2
.LC4:
	.ascii	"invalid number of arguments\000"
	.align	2
.LC5:
	.ascii	"getconlist may be used only on a SELinux kernel.\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"Couldn't get current context.\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #108
	bne	.L7
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-32]
	b	.L6
.L7:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, #1
	ldr	r1, .L22+8
	mov	r0, r3
	bl	usage
.L6:
	ldr	r2, .L22+12
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L8
	ldr	r3, .L22+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L9
	ldr	r3, .L22+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	sub	r3, r2, r3
	cmp	r3, #2
	ble	.L10
.L9:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L22+20
	mov	r0, r3
	bl	usage
.L10:
	bl	is_selinux_enabled
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L22+24
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L22+28
	bl	fwrite
	mov	r3, #1
	b	.L20
.L11:
	ldr	r3, .L22+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	sub	r3, r2, r3
	cmp	r3, #1
	bgt	.L13
	sub	r3, fp, #36
	mov	r0, r3
	bl	getcon
	mov	r3, r0
	cmp	r3, #0
	bge	.L14
	ldr	r3, .L22+24
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L22+32
	bl	fwrite
	mov	r3, #2
	b	.L20
.L13:
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
.L14:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L15
	ldr	r2, [fp, #-36]
	sub	r3, fp, #40
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	get_ordered_context_list_with_level
	str	r0, [fp, #-28]
	b	.L16
.L15:
	ldr	r3, [fp, #-36]
	sub	r2, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	get_ordered_context_list
	str	r0, [fp, #-28]
.L16:
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	beq	.L17
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L18
.L19:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L18:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	freeconary
.L17:
	ldr	r0, [fp, #-20]
	bl	free
	mov	r3, #0
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC7
	.word	optarg
	.word	.LC2
	.word	.LC3
	.word	optind
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
