	.file	"7691.c"
	.intel_syntax noprefix
	.text
	.globl	api_list
	.bss
	.align 8
	.type	api_list, @object
	.size	api_list, 8
api_list:
	.zero	8
	.globl	api_end
	.align 8
	.type	api_end, @object
	.size	api_end, 8
api_end:
	.zero	8
	.globl	flag_list
	.align 8
	.type	flag_list, @object
	.size	flag_list, 8
flag_list:
	.zero	8
	.globl	flag_end
	.align 8
	.type	flag_end, @object
	.size	flag_end, 8
flag_end:
	.zero	8
	.globl	verbose
	.align 4
	.type	verbose, @object
	.size	verbose, 4
verbose:
	.zero	4
	.globl	progname
	.align 8
	.type	progname, @object
	.size	progname, 8
progname:
	.zero	8
	.section	.rodata
.LC0:
	.string	"mrv"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR progname[rip], rax
	mov	rax, QWORD PTR progname[rip]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR progname[rip], rax
	jmp	.L3
.L2:
	mov	rax, QWORD PTR progname[rip]
	add	rax, 1
	mov	QWORD PTR progname[rip], rax
.L3:
	mov	DWORD PTR -8[rbp], 2
	jmp	.L4
.L10:
	cmp	DWORD PTR -4[rbp], 118
	je	.L5
	cmp	DWORD PTR -4[rbp], 118
	jg	.L6
	cmp	DWORD PTR -4[rbp], 109
	je	.L7
	cmp	DWORD PTR -4[rbp], 114
	je	.L8
	jmp	.L6
.L7:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L8:
	mov	DWORD PTR -8[rbp], 1
	jmp	.L4
.L5:
	mov	DWORD PTR verbose[rip], 1
	jmp	.L4
.L6:
	call	usage
	jmp	.L9
.L4:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L10
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -32[rbp], rax
	call	parse
	test	eax, eax
	jne	.L11
	call	generate_flags
	test	eax, eax
	je	.L12
.L11:
	mov	eax, 1
	jmp	.L9
.L12:
	cmp	DWORD PTR -8[rbp], 2
	je	.L13
	cmp	DWORD PTR -8[rbp], 2
	ja	.L14
	cmp	DWORD PTR -8[rbp], 0
	je	.L15
	cmp	DWORD PTR -8[rbp], 1
	je	.L16
	jmp	.L14
.L15:
	call	print_api_mask
	jmp	.L14
.L16:
	call	print_api_remainder
	jmp	.L14
.L13:
	call	print_flag_value
	nop
.L14:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	je	.L17
	call	dump_api
	call	dump_flags
.L17:
	mov	eax, 0
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%s: %d: line too long\n"
.LC2:
	.string	" \t"
.LC3:
	.string	"%s: format error: line %d\n"
	.text
	.globl	parse
	.type	parse, @function
parse:
.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, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -288[rbp], 0
	mov	DWORD PTR -292[rbp], 1
	jmp	.L19
.L34:
	lea	rax, -272[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 0
	movzx	eax, BYTE PTR -272[rbp]
	test	al, al
	je	.L38
	jmp	.L37
.L20:
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -292[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L35
.L37:
	movzx	eax, BYTE PTR -272[rbp]
	cmp	al, 35
	je	.L38
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -272[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L26
	lea	rax, -272[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L39
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L39
	cmp	QWORD PTR -288[rbp], 0
	je	.L40
	mov	rdx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_entry
	test	eax, eax
	je	.L31
	mov	eax, 1
	jmp	.L35
.L26:
	lea	rax, -272[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L41
	cmp	QWORD PTR -288[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	free@PLT
.L33:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L31
	call	syserr
	jmp	.L35
.L31:
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L42
	jmp	.L25
.L38:
	nop
	jmp	.L25
.L39:
	nop
	jmp	.L25
.L41:
	nop
.L25:
	add	DWORD PTR -292[rbp], 1
.L19:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L34
	mov	eax, 0
	jmp	.L35
.L40:
	nop
	jmp	.L30
.L42:
	nop
.L30:
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -292[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
.L35:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	parse, .-parse
	.section	.rodata
.LC4:
	.string	"__MASK="
.LC5:
	.string	"duplicate entry: %s / %s\n"
	.text
	.globl	add_entry
	.type	add_entry, @function
add_entry:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR api_list[rip]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L44
.L47:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L77
	add	QWORD PTR -48[rbp], 8
.L44:
	cmp	QWORD PTR -48[rbp], 0
	je	.L46
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR api_end[rip]
	cmp	QWORD PTR -48[rbp], rax
	jb	.L47
	jmp	.L46
.L77:
	nop
.L46:
	cmp	QWORD PTR -48[rbp], 0
	je	.L48
	mov	rax, QWORD PTR api_end[rip]
	cmp	QWORD PTR -48[rbp], rax
	jne	.L49
.L48:
	cmp	QWORD PTR -48[rbp], 0
	je	.L50
	mov	rax, QWORD PTR api_end[rip]
	mov	rdx, QWORD PTR api_list[rip]
	sub	rax, rdx
	sar	rax, 3
	add	eax, 100
	jmp	.L51
.L50:
	mov	eax, 100
.L51:
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR api_list[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR api_list[rip], rax
	mov	rax, QWORD PTR api_list[rip]
	test	rax, rax
	jne	.L52
	call	syserr
	jmp	.L53
.L52:
	mov	rdx, QWORD PTR api_list[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR api_end[rip], rax
	mov	rdx, QWORD PTR api_list[rip]
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 100
	mov	eax, eax
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR api_end[rip]
	sub	rax, QWORD PTR -48[rbp]
	sar	rax, 3
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L49:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L54
	mov	esi, 1
	mov	edi, 16
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L55
	mov	rax, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L54
.L55:
	call	syserr
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, 7
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 7
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rdx]
	or	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L53
.L56:
	mov	rax, QWORD PTR flag_list[rip]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L78
	add	QWORD PTR -56[rbp], 8
.L57:
	cmp	QWORD PTR -56[rbp], 0
	je	.L59
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L59
	mov	rax, QWORD PTR flag_end[rip]
	cmp	QWORD PTR -56[rbp], rax
	jb	.L60
	jmp	.L59
.L78:
	nop
.L59:
	cmp	QWORD PTR -56[rbp], 0
	je	.L61
	mov	rax, QWORD PTR flag_end[rip]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L62
.L61:
	cmp	QWORD PTR -56[rbp], 0
	je	.L63
	mov	rax, QWORD PTR flag_end[rip]
	mov	rdx, QWORD PTR flag_list[rip]
	sub	rax, rdx
	sar	rax, 3
	add	eax, 100
	jmp	.L64
.L63:
	mov	eax, 100
.L64:
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR flag_list[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR flag_list[rip], rax
	mov	rax, QWORD PTR flag_list[rip]
	test	rax, rax
	jne	.L65
	call	syserr
	jmp	.L53
.L65:
	mov	rdx, QWORD PTR flag_list[rip]
	mov	eax, DWORD PTR -60[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR flag_end[rip], rax
	mov	rdx, QWORD PTR flag_list[rip]
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 100
	mov	eax, eax
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR flag_end[rip]
	sub	rax, QWORD PTR -56[rbp]
	sar	rax, 3
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L62:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L66
	mov	esi, 1
	mov	edi, 40
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L67
	mov	rax, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L66
.L67:
	call	syserr
	jmp	.L53
.L66:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L68
.L71:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L69
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L69:
	add	QWORD PTR -40[rbp], 8
.L68:
	cmp	QWORD PTR -40[rbp], 0
	je	.L70
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L70
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -40[rbp], rax
	jb	.L71
.L70:
	cmp	QWORD PTR -40[rbp], 0
	je	.L72
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -40[rbp], rax
	jne	.L73
.L72:
	cmp	QWORD PTR -40[rbp], 0
	je	.L74
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, rdx
	sub	rax, rcx
	sar	rax, 3
	add	eax, 20
	jmp	.L75
.L74:
	mov	eax, 20
.L75:
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L76
	call	syserr
	jmp	.L53
.L76:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -60[rbp]
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 20
	mov	eax, eax
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, rdx
	sub	rax, rcx
	sar	rax, 3
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L73:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L53:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_entry, .-add_entry
	.section	.rodata
	.align 8
.LC6:
	.string	"=============================\nAPI:"
.LC7:
	.string	"%s (%#x)\n"
	.text
	.globl	dump_api
	.type	dump_api, @function
dump_api:
.LFB9:
	.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
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR api_list[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L80
.L81:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 8
.L80:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L81
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	dump_api, .-dump_api
	.section	.rodata
	.align 8
.LC8:
	.string	"=============================\nFLAGS:"
.LC9:
	.string	"%s (%#x, %d): "
.LC10:
	.string	""
.LC11:
	.string	"%s%s"
.LC12:
	.string	", "
	.text
	.globl	dump_flags
	.type	dump_flags, @function
dump_flags:
.LFB10:
	.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
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR flag_list[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L83
.L86:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC10[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L84
.L85:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC12[rip]
	mov	QWORD PTR -8[rbp], rax
	add	QWORD PTR -16[rbp], 8
.L84:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L85
	mov	edi, 10
	call	putchar@PLT
	add	QWORD PTR -24[rbp], 8
.L83:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L86
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	dump_flags, .-dump_flags
	.globl	flag_cmp_api_cnt
	.type	flag_cmp_api_cnt, @function
flag_cmp_api_cnt:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L88
	cmp	QWORD PTR -8[rbp], 0
	jne	.L89
	mov	eax, 0
	jmp	.L90
.L89:
	mov	eax, 1
	jmp	.L90
.L88:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L91
	cmp	QWORD PTR -16[rbp], 0
	jne	.L92
	mov	eax, 0
	jmp	.L90
.L92:
	mov	eax, -1
	jmp	.L90
.L91:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jle	.L93
	mov	eax, -1
	jmp	.L90
.L93:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jge	.L94
	mov	eax, 1
	jmp	.L90
.L94:
	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
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	flag_cmp_api_cnt, .-flag_cmp_api_cnt
	.section	.rodata
	.align 8
.LC13:
	.string	"%s: ran out of bits at flag %s\n"
	.text
	.globl	generate_flags
	.type	generate_flags, @function
generate_flags:
.LFB12:
	.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 flag_end[rip]
	mov	rdx, QWORD PTR flag_list[rip]
	sub	rax, rdx
	sar	rax, 3
	mov	esi, eax
	mov	rax, QWORD PTR flag_list[rip]
	lea	rcx, flag_cmp_api_cnt[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR flag_list[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L96
.L103:
	mov	DWORD PTR -20[rbp], -1
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L97
.L98:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	not	eax
	and	DWORD PTR -20[rbp], eax
	add	QWORD PTR -8[rbp], 8
.L97:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L98
	cmp	DWORD PTR -20[rbp], 0
	jne	.L99
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L100
.L99:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	ffs@PLT
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L101
.L102:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	or	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rax], edx
	add	QWORD PTR -8[rbp], 8
.L101:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L102
	add	QWORD PTR -16[rbp], 8
.L96:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L103
	mov	eax, 0
.L100:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	generate_flags, .-generate_flags
	.globl	flag_cmp_alpha
	.type	flag_cmp_alpha, @function
flag_cmp_alpha:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L105
	cmp	QWORD PTR -8[rbp], 0
	jne	.L106
	mov	eax, 0
	jmp	.L107
.L106:
	mov	eax, 1
	jmp	.L107
.L105:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L108
	cmp	QWORD PTR -16[rbp], 0
	jne	.L109
	mov	eax, 0
	jmp	.L107
.L109:
	mov	eax, -1
	jmp	.L107
.L108:
	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
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	flag_cmp_alpha, .-flag_cmp_alpha
	.section	.rodata
.LC14:
	.string	"_%s_API_MASK"
	.text
	.globl	print_api_mask
	.type	print_api_mask, @function
print_api_mask:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR api_list[rip]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L111
.L116:
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC14[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -272[rbp]
	mov	QWORD PTR -280[rbp], rax
	jmp	.L112
.L115:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -280[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, 512
	test	eax, eax
	je	.L113
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L114
.L113:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -280[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, 1024
	test	eax, eax
	jne	.L114
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 95
.L114:
	add	QWORD PTR -280[rbp], 1
.L112:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L115
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	lea	rax, -272[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	define_print
	add	QWORD PTR -288[rbp], 8
.L111:
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L116
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L117
	call	__stack_chk_fail@PLT
.L117:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	print_api_mask, .-print_api_mask
	.section	.rodata
.LC15:
	.string	"%s: %d bits unused\n"
	.text
	.globl	print_api_remainder
	.type	print_api_remainder, @function
print_api_remainder:
.LFB15:
	.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 api_list[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L119
.L123:
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L120
.L122:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	jne	.L121
	add	DWORD PTR -16[rbp], 1
.L121:
	add	DWORD PTR -12[rbp], 1
.L120:
	cmp	DWORD PTR -12[rbp], 31
	jle	.L122
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 8
.L119:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L123
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_api_remainder, .-print_api_remainder
	.globl	print_flag_value
	.type	print_flag_value, @function
print_flag_value:
.LFB16:
	.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 flag_end[rip]
	mov	rdx, QWORD PTR flag_list[rip]
	sub	rax, rdx
	sar	rax, 3
	mov	esi, eax
	mov	rax, QWORD PTR flag_list[rip]
	lea	rcx, flag_cmp_alpha[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR flag_list[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L125
.L126:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	esi, edx
	mov	rdi, rax
	call	define_print
	add	QWORD PTR -8[rbp], 8
.L125:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L126
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_flag_value, .-print_flag_value
	.section	.rodata
.LC16:
	.string	"\t\t\t\t\t"
.LC17:
	.string	"\t\t\t\t"
.LC18:
	.string	"\t\t\t"
.LC19:
	.string	"\t\t"
.LC20:
	.string	"\t"
.LC21:
	.string	"#define\t%s%s%#010x\n"
	.text
	.globl	define_print
	.type	define_print, @function
define_print:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	shr	rax, 3
	cmp	rax, 3
	je	.L128
	cmp	rax, 3
	ja	.L129
	cmp	rax, 2
	je	.L130
	cmp	rax, 2
	ja	.L129
	test	rax, rax
	je	.L131
	cmp	rax, 1
	je	.L132
	jmp	.L129
.L131:
	lea	rax, .LC16[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L133
.L132:
	lea	rax, .LC17[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L133
.L130:
	lea	rax, .LC18[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L133
.L128:
	lea	rax, .LC19[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L133
.L129:
	lea	rax, .LC20[rip]
	mov	QWORD PTR -8[rbp], rax
	nop
.L133:
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	define_print, .-define_print
	.section	.rodata
.LC22:
	.string	"%s: %s\n"
	.text
	.globl	syserr
	.type	syserr, @function
syserr:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	syserr, .-syserr
	.section	.rodata
.LC23:
	.string	"usage: %s [-mrv]\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, QWORD PTR progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	usage, .-usage
	.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	"7691.c"
	.text
	.comm	api_list,4,4
	.comm	api_end,4,4
	.comm	flag_list,4,4
	.comm	flag_end,4,4
	.comm	verbose,4,4
	.comm	progname,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"mrv\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	mov	r3, r0
	ldr	r2, .L18
	str	r3, [r2]
	ldr	r3, .L18
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L18
	str	r3, [r2]
	b	.L3
.L2:
	ldr	r3, .L18
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L18
	str	r3, [r2]
.L3:
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L4
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #118
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #118
	bgt	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #109
	beq	.L7
	ldr	r3, [fp, #-8]
	cmp	r3, #114
	beq	.L8
	b	.L6
.L7:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L8:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, .L18+4
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L6:
	bl	usage
	mov	r3, r0
	b	.L9
.L4:
	ldr	r2, .L18+8
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	ldr	r3, .L18+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L18+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	bl	parse
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	bl	generate_flags
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
.L11:
	mov	r3, #1
	b	.L9
.L12:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L13
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bhi	.L14
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L16
	b	.L14
.L15:
	bl	print_api_mask
	b	.L14
.L16:
	bl	print_api_remainder
	b	.L14
.L13:
	bl	print_flag_value
	nop
.L14:
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	bl	dump_api
	bl	dump_flags
.L17:
	mov	r3, #0
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	progname
	.word	verbose
	.word	.LC0
	.word	optind
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s: %d: line too long\012\000"
	.align	2
.LC2:
	.ascii	" \011\000"
	.align	2
.LC3:
	.ascii	"%s: format error: line %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse, %function
parse:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #1
	str	r3, [fp, #-276]
	b	.L21
.L36:
	sub	r3, fp, #264
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-268]
	mov	r2, #0
	strb	r2, [r3]
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	b	.L39
.L22:
	ldr	r3, .L45+4
	ldr	r0, [r3]
	ldr	r3, .L45+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-276]
	ldr	r1, .L45+12
	bl	fprintf
	mov	r3, #1
	b	.L37
.L39:
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L40
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #264
	ldr	r1, .L45+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L41
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L42
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-272]
	bl	add_entry
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	mov	r3, #1
	b	.L37
.L28:
	sub	r3, fp, #264
	ldr	r1, .L45+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L35
	ldr	r0, [fp, #-272]
	bl	free
.L35:
	ldr	r0, [fp, #-268]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L33
	bl	syserr
	mov	r3, r0
	b	.L37
.L33:
	ldr	r1, .L45+16
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L44
	b	.L27
.L40:
	nop
	b	.L27
.L41:
	nop
	b	.L27
.L43:
	nop
.L27:
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
.L21:
	ldr	r3, .L45+20
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
	b	.L37
.L42:
	nop
	b	.L32
.L44:
	nop
.L32:
	ldr	r3, .L45+4
	ldr	r0, [r3]
	ldr	r3, .L45+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-276]
	ldr	r1, .L45+24
	bl	fprintf
	mov	r3, #1
.L37:
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC4
	.word	stderr
	.word	progname
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.size	parse, .-parse
	.section	.rodata
	.align	2
.LC5:
	.ascii	"__MASK=\000"
	.align	2
.LC6:
	.ascii	"duplicate entry: %s / %s\012\000"
	.text
	.align	2
	.global	add_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_entry, %function
add_entry:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L48
.L51:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L48:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L83+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L51
	b	.L50
.L81:
	nop
.L50:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L52
	ldr	r3, .L83+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L53
.L52:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L54
	ldr	r3, .L83+4
	ldr	r2, [r3]
	ldr	r3, .L83
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #2
	add	r3, r3, #100
	b	.L55
.L54:
	mov	r3, #100
.L55:
	str	r3, [fp, #-24]
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L83
	str	r3, [r2]
	ldr	r3, .L83
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L56
	bl	syserr
	mov	r3, r0
	b	.L57
.L56:
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L83+4
	str	r3, [r2]
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1073741824
	sub	r3, r3, #100
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, .L83+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	memset
.L53:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L58
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-32]
	ldr	r4, [r3]
	ldr	r0, [fp, #-40]
	bl	strdup
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L58
.L59:
	bl	syserr
	mov	r3, r0
	b	.L57
.L58:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r2, #7
	ldr	r1, .L83+8
	ldr	r0, [fp, #-44]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L60
	ldr	r3, [fp, #-44]
	add	r3, r3, #7
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r2, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	orr	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L57
.L60:
	ldr	r3, .L83+12
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	b	.L61
.L64:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
.L61:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L63
	ldr	r3, .L83+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L64
	b	.L63
.L82:
	nop
.L63:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L83+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L66
.L65:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L83+16
	ldr	r2, [r3]
	ldr	r3, .L83+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #2
	add	r3, r3, #100
	b	.L68
.L67:
	mov	r3, #100
.L68:
	str	r3, [fp, #-24]
	ldr	r3, .L83+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L83+12
	str	r3, [r2]
	ldr	r3, .L83+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L69
	bl	syserr
	mov	r3, r0
	b	.L57
.L69:
	ldr	r3, .L83+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L83+16
	str	r3, [r2]
	ldr	r3, .L83+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1073741824
	sub	r3, r3, #100
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, .L83+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	memset
.L66:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L70
	mov	r1, #1
	mov	r0, #20
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-36]
	ldr	r4, [r3]
	ldr	r0, [fp, #-44]
	bl	strdup
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L70
.L71:
	bl	syserr
	mov	r3, r0
	b	.L57
.L70:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
	b	.L72
.L75:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, .L83+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, .L83+24
	bl	fprintf
	mov	r3, #1
	b	.L57
.L73:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L72:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L75
.L74:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L76
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L77
.L76:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L78
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	asr	r3, r3, #2
	add	r3, r3, #20
	b	.L79
.L78:
	mov	r3, #20
.L79:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L80
	bl	syserr
	mov	r3, r0
	b	.L57
.L80:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741804
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	memset
.L77:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
.L57:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L84:
	.align	2
.L83:
	.word	api_list
	.word	api_end
	.word	.LC5
	.word	flag_list
	.word	flag_end
	.word	stderr
	.word	.LC6
	.size	add_entry, .-add_entry
	.section	.rodata
	.align	2
.LC7:
	.ascii	"=============================\012API:\000"
	.align	2
.LC8:
	.ascii	"%s (%#x)\012\000"
	.text
	.align	2
	.global	dump_api
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_api, %function
dump_api:
	@ 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	r0, .L88
	bl	puts
	ldr	r3, .L88+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L86
.L87:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L88+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	str	r3, [fp, #-8]
.L86:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L87
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L89:
	.align	2
.L88:
	.word	.LC7
	.word	api_list
	.word	.LC8
	.size	dump_api, .-dump_api
	.section	.rodata
	.align	2
.LC9:
	.ascii	"=============================\012FLAGS:\000"
	.align	2
.LC10:
	.ascii	"%s (%#x, %d): \000"
	.align	2
.LC11:
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"%s%s\000"
	.align	2
.LC13:
	.ascii	", \000"
	.text
	.align	2
	.global	dump_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_flags, %function
dump_flags:
	@ 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	r0, .L95
	bl	puts
	ldr	r3, .L95+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L91
.L94:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r0, .L95+8
	bl	printf
	ldr	r3, .L95+12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	b	.L92
.L93:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L95+16
	bl	printf
	ldr	r3, .L95+20
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L92:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L93
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L91:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L94
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC9
	.word	flag_list
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	dump_flags, .-dump_flags
	.align	2
	.global	flag_cmp_api_cnt
	.syntax unified
	.arm
	.fpu softvfp
	.type	flag_cmp_api_cnt, %function
flag_cmp_api_cnt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L98
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L99
	mov	r3, #0
	b	.L100
.L99:
	mov	r3, #1
	b	.L100
.L98:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L101
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L102
	mov	r3, #0
	b	.L100
.L102:
	mvn	r3, #0
	b	.L100
.L101:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	ble	.L103
	mvn	r3, #0
	b	.L100
.L103:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L104
	mov	r3, #1
	b	.L100
.L104:
	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
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	flag_cmp_api_cnt, .-flag_cmp_api_cnt
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%s: ran out of bits at flag %s\012\000"
	.text
	.align	2
	.global	generate_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_flags, %function
generate_flags:
	@ 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, .L114
	ldr	r0, [r3]
	ldr	r3, .L114+4
	ldr	r2, [r3]
	ldr	r3, .L114
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r1, r3
	ldr	r3, .L114+8
	mov	r2, #4
	bl	qsort
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L106
.L113:
	mvn	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	b	.L107
.L108:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mvn	r3, r3
	ldr	r2, [fp, #-8]
	and	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L107:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L108
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L114+12
	ldr	r0, [r3]
	ldr	r3, .L114+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, .L114+20
	bl	fprintf
	mov	r3, #1
	b	.L110
.L109:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	ffs
	mov	r3, r0
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	b	.L111
.L112:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	orr	r2, r1, r2
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L111:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L112
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L106:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L113
	mov	r3, #0
.L110:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	flag_list
	.word	flag_end
	.word	flag_cmp_api_cnt
	.word	stderr
	.word	progname
	.word	.LC14
	.size	generate_flags, .-generate_flags
	.align	2
	.global	flag_cmp_alpha
	.syntax unified
	.arm
	.fpu softvfp
	.type	flag_cmp_alpha, %function
flag_cmp_alpha:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L117
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L118
	mov	r3, #0
	b	.L119
.L118:
	mov	r3, #1
	b	.L119
.L117:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L120
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L121
	mov	r3, #0
	b	.L119
.L121:
	mvn	r3, #0
	b	.L119
.L120:
	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
.L119:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	flag_cmp_alpha, .-flag_cmp_alpha
	.section	.rodata
	.align	2
.LC15:
	.ascii	"_%s_API_MASK\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_api_mask
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_api_mask, %function
print_api_mask:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L130
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L130+4
	ldr	r3, [r3]
	str	r3, [fp, #-272]
	b	.L123
.L128:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r0, fp, #264
	ldr	r2, .L130+8
	mov	r1, #256
	bl	snprintf
	sub	r3, fp, #264
	str	r3, [fp, #-268]
	b	.L124
.L127:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #512
	cmp	r3, #0
	beq	.L125
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-268]
	strb	r2, [r3]
	b	.L126
.L125:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-268]
	mov	r2, #95
	strb	r2, [r3]
.L126:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L124:
	ldr	r3, [fp, #-268]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	define_print
	ldr	r3, [fp, #-272]
	add	r3, r3, #4
	str	r3, [fp, #-272]
.L123:
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L128
	nop
	ldr	r3, .L130
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L129
	bl	__stack_chk_fail
.L129:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L131:
	.align	2
.L130:
	.word	.LC16
	.word	api_list
	.word	.LC15
	.size	print_api_mask, .-print_api_mask
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%s: %d bits unused\012\000"
	.text
	.align	2
	.global	print_api_remainder
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_api_remainder, %function
print_api_remainder:
	@ 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, .L138
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L133
.L137:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L134
.L136:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r1, #1
	ldr	r2, [fp, #-8]
	lsl	r2, r1, r2
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L135
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L135:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L134:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L136
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L138+4
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L133:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L137
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L139:
	.align	2
.L138:
	.word	api_list
	.word	.LC17
	.size	print_api_remainder, .-print_api_remainder
	.align	2
	.global	print_flag_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_flag_value, %function
print_flag_value:
	@ 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, .L143
	ldr	r0, [r3]
	ldr	r3, .L143+4
	ldr	r2, [r3]
	ldr	r3, .L143
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #2
	mov	r1, r3
	ldr	r3, .L143+8
	mov	r2, #4
	bl	qsort
	ldr	r3, .L143
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L141
.L142:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	mov	r1, r3
	mov	r0, r2
	bl	define_print
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	str	r3, [fp, #-8]
.L141:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L142
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L144:
	.align	2
.L143:
	.word	flag_list
	.word	flag_end
	.word	flag_cmp_alpha
	.size	print_flag_value, .-print_flag_value
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\011\011\011\011\011\000"
	.align	2
.LC19:
	.ascii	"\011\011\011\011\000"
	.align	2
.LC20:
	.ascii	"\011\011\011\000"
	.align	2
.LC21:
	.ascii	"\011\011\000"
	.align	2
.LC22:
	.ascii	"\011\000"
	.align	2
.LC23:
	.ascii	"#define\011%s%s%#010x\012\000"
	.text
	.align	2
	.global	define_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	define_print, %function
define_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]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	lsr	r3, r3, #3
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L146
.L148:
	.word	.L151
	.word	.L150
	.word	.L149
	.word	.L147
.L151:
	ldr	r3, .L153
	str	r3, [fp, #-8]
	b	.L152
.L150:
	ldr	r3, .L153+4
	str	r3, [fp, #-8]
	b	.L152
.L149:
	ldr	r3, .L153+8
	str	r3, [fp, #-8]
	b	.L152
.L147:
	ldr	r3, .L153+12
	str	r3, [fp, #-8]
	b	.L152
.L146:
	ldr	r3, .L153+16
	str	r3, [fp, #-8]
	nop
.L152:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, .L153+20
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L154:
	.align	2
.L153:
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	define_print, .-define_print
	.section	.rodata
	.align	2
.LC24:
	.ascii	"%s: %s\012\000"
	.text
	.align	2
	.global	syserr
	.syntax unified
	.arm
	.fpu softvfp
	.type	syserr, %function
syserr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L157
	ldr	r4, [r3]
	ldr	r3, .L157+4
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L157+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L158:
	.align	2
.L157:
	.word	stderr
	.word	progname
	.word	.LC24
	.size	syserr, .-syserr
	.section	.rodata
	.align	2
.LC25:
	.ascii	"usage: %s [-mrv]\012\000"
	.text
	.align	2
	.global	usage
	.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	r3, .L161
	ldr	r3, [r3]
	ldr	r2, .L161+4
	ldr	r2, [r2]
	ldr	r1, .L161+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L162:
	.align	2
.L161:
	.word	stderr
	.word	progname
	.word	.LC25
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
