	.file	"1266605.c"
	.intel_syntax noprefix
	.text
	.globl	verbosity
	.bss
	.align 4
	.type	verbosity, @object
	.size	verbosity, 4
verbosity:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Usage: nacl [-v?] target.so\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
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC1:
	.string	"Requested %s to be loaded and run\n"
.LC2:
	.string	"Load of %s failed\n"
.LC3:
	.string	"Error: %s\n"
	.align 8
.LC4:
	.string	"Entry point %s not found in %s"
.LC5:
	.string	"Calling entry point %s\n"
.LC6:
	.string	"Done, closing handle\n"
	.text
	.globl	LoadAndRun
	.type	LoadAndRun, @function
LoadAndRun:
.LFB7:
	.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 -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 1
	jle	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L3:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	dlopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L4
	cmp	DWORD PTR -68[rbp], 0
	jle	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	dlerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L5:
	mov	eax, 0
	jmp	.L12
.L4:
	lea	rbx, -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dlsym@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	je	.L7
	call	dlerror@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L8
.L7:
	cmp	DWORD PTR -68[rbp], 0
	jle	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L9:
	mov	eax, 0
	jmp	.L12
.L8:
	cmp	DWORD PTR -68[rbp], 0
	jle	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	mov	rax, QWORD PTR -48[rbp]
	call	rax
	cmp	DWORD PTR -68[rbp], 0
	jle	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
.L11:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	dlclose@PLT
	mov	eax, 1
.L12:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	LoadAndRun, .-LoadAndRun
	.section	.rodata
.LC7:
	.string	"NaClMain"
.LC8:
	.string	"s:v"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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
	lea	rax, .LC7[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L15
.L19:
	cmp	DWORD PTR -12[rbp], 115
	je	.L16
	cmp	DWORD PTR -12[rbp], 118
	je	.L17
	jmp	.L24
.L16:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L15
.L17:
	mov	eax, DWORD PTR verbosity[rip]
	add	eax, 1
	mov	DWORD PTR verbosity[rip], eax
	jmp	.L15
.L24:
	call	usage
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC8[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L19
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L20
.L23:
	mov	edx, DWORD PTR verbosity[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	LoadAndRun
	test	eax, eax
	jne	.L21
	mov	eax, 1
	jmp	.L22
.L21:
	add	DWORD PTR -16[rbp], 1
.L20:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L23
	mov	eax, 0
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"1266605.c"
	.text
	.global	verbosity
	.bss
	.align	2
	.type	verbosity, %object
	.size	verbosity, 4
verbosity:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: nacl [-v?] target.so\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, .L2
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Requested %s to be loaded and run\012\000"
	.align	2
.LC2:
	.ascii	"Load of %s failed\012\000"
	.align	2
.LC3:
	.ascii	"Error: %s\012\000"
	.align	2
.LC4:
	.ascii	"Entry point %s not found in %s\000"
	.align	2
.LC5:
	.ascii	"Calling entry point %s\012\000"
	.align	2
.LC6:
	.ascii	"Done, closing handle\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	LoadAndRun
	.syntax unified
	.arm
	.fpu softvfp
	.type	LoadAndRun, %function
LoadAndRun:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L5
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L16+8
	mov	r0, r3
	bl	fprintf
.L5:
	mov	r1, #10
	ldr	r0, [fp, #-32]
	bl	dlopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L7
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L16+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L16+4
	ldr	r4, [r3]
	bl	dlerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L16+16
	mov	r0, r4
	bl	fprintf
.L7:
	mov	r3, #0
	b	.L14
.L6:
	sub	r4, fp, #28
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	dlsym
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L9
	bl	dlerror
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L10
.L9:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L11
	ldr	r3, .L16+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r1, .L16+20
	bl	fprintf
.L11:
	mov	r3, #0
	b	.L14
.L10:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L12
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L16+24
	mov	r0, r3
	bl	fprintf
.L12:
	ldr	r3, [fp, #-28]
	blx	r3
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L13
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L16+28
	bl	fwrite
.L13:
	ldr	r0, [fp, #-24]
	bl	dlclose
	mov	r3, #1
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	LoadAndRun, .-LoadAndRun
	.section	.rodata
	.align	2
.LC8:
	.ascii	"NaClMain\000"
	.align	2
.LC9:
	.ascii	"s:v\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L29
	str	r3, [fp, #-12]
	b	.L19
.L23:
	ldr	r3, [fp, #-8]
	cmp	r3, #115
	beq	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #118
	beq	.L21
	b	.L28
.L20:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L19
.L21:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L29+8
	str	r3, [r2]
	b	.L19
.L28:
	bl	usage
	mov	r0, #1
	bl	exit
.L19:
	ldr	r2, .L29+12
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	ldr	r3, .L29+16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L24
.L27:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L29+8
	ldr	r2, [r2]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	LoadAndRun
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	mov	r3, #1
	b	.L26
.L25:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L24:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC8
	.word	optarg
	.word	verbosity
	.word	.LC9
	.word	optind
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
