	.file	"439014.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"bcdeEgmopqstT"
.LC1:
	.string	"GLOB_NOSPACE"
.LC2:
	.string	"GLOB_ABORTED"
.LC3:
	.string	"GLOB_NOMATCH"
.LC4:
	.string	"abc"
.LC5:
	.string	"'"
.LC6:
	.string	""
.LC7:
	.string	"(null)"
.LC8:
	.string	"`"
.LC9:
	.string	"%s%s%s\n"
	.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 1
	mov	QWORD PTR -64[rbp], 0
	jmp	.L2
.L18:
	mov	eax, DWORD PTR -96[rbp]
	sub	eax, 69
	cmp	eax, 47
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L17-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L16-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L15-.L5
	.long	.L14-.L5
	.long	.L13-.L5
	.long	.L12-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L15:
	or	DWORD PTR -88[rbp], 1024
	jmp	.L2
.L14:
	or	DWORD PTR -88[rbp], 16
	jmp	.L2
.L13:
	or	DWORD PTR -88[rbp], 8192
	jmp	.L2
.L12:
	or	DWORD PTR -88[rbp], 64
	jmp	.L2
.L17:
	or	DWORD PTR -88[rbp], 1
	jmp	.L2
.L11:
	or	DWORD PTR -88[rbp], 2048
	jmp	.L2
.L10:
	or	DWORD PTR -88[rbp], 2
	jmp	.L2
.L9:
	or	DWORD PTR -88[rbp], 8
	mov	QWORD PTR -64[rbp], 1
	jmp	.L2
.L8:
	or	DWORD PTR -88[rbp], 128
	jmp	.L2
.L7:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L2
.L6:
	or	DWORD PTR -88[rbp], 4
	jmp	.L2
.L4:
	or	DWORD PTR -88[rbp], 4096
	jmp	.L2
.L16:
	or	DWORD PTR -88[rbp], 16384
	jmp	.L2
.L3:
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	rcx, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -100[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -96[rbp], -1
	jne	.L18
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -100[rbp], eax
	jle	.L19
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	chdir@PLT
	test	eax, eax
	je	.L20
.L19:
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jg	.L21
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR -92[rbp], eax
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -80[rbp]
	mov	esi, DWORD PTR -88[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	glob@PLT
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -96[rbp], 0
	jne	.L41
	or	DWORD PTR -88[rbp], 32
	add	DWORD PTR -92[rbp], 1
.L22:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L25
	jmp	.L24
.L41:
	nop
.L24:
	cmp	DWORD PTR -96[rbp], 1
	jne	.L26
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L27
.L26:
	cmp	DWORD PTR -96[rbp], 2
	jne	.L28
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L27
.L28:
	cmp	DWORD PTR -96[rbp], 3
	jne	.L27
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L27:
	mov	eax, DWORD PTR -88[rbp]
	and	eax, 8
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC4[rip]
	mov	QWORD PTR [rax], rdx
.L29:
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L30
	mov	DWORD PTR -96[rbp], 0
	jmp	.L31
.L38:
	cmp	DWORD PTR -84[rbp], 0
	je	.L32
	lea	rdx, .LC5[rip]
	jmp	.L33
.L32:
	lea	rdx, .LC6[rip]
.L33:
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L34
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	jmp	.L35
.L34:
	lea	rax, .LC7[rip]
.L35:
	cmp	DWORD PTR -84[rbp], 0
	je	.L36
	lea	rsi, .LC8[rip]
	jmp	.L37
.L36:
	lea	rsi, .LC6[rip]
.L37:
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -96[rbp], 1
.L31:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	add	rdx, rcx
	cmp	rax, rdx
	jb	.L38
.L30:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"439014.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"bcdeEgmopqstT\000"
	.align	2
.LC1:
	.ascii	"GLOB_NOSPACE\000"
	.align	2
.LC2:
	.ascii	"GLOB_ABORTED\000"
	.align	2
.LC3:
	.ascii	"GLOB_NOMATCH\000"
	.align	2
.LC4:
	.ascii	"abc\000"
	.align	2
.LC5:
	.ascii	"`\000"
	.align	2
.LC6:
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"(null)\000"
	.align	2
.LC8:
	.ascii	"'\000"
	.align	2
.LC9:
	.ascii	"%s%s%s\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L18:
	ldr	r3, [fp, #-60]
	sub	r3, r3, #69
	cmp	r3, #47
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L17
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L16
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L3
	.word	.L11
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L4
.L15:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #1024
	str	r3, [fp, #-52]
	b	.L2
.L14:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #16
	str	r3, [fp, #-52]
	b	.L2
.L13:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #8192
	str	r3, [fp, #-52]
	b	.L2
.L12:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #64
	str	r3, [fp, #-52]
	b	.L2
.L17:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L2
.L11:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #2048
	str	r3, [fp, #-52]
	b	.L2
.L10:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #2
	str	r3, [fp, #-52]
	b	.L2
.L9:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #8
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L2
.L8:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #128
	str	r3, [fp, #-52]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L6:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #4
	str	r3, [fp, #-52]
	b	.L2
.L4:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #4096
	str	r3, [fp, #-52]
	b	.L2
.L16:
	ldr	r3, [fp, #-52]
	orr	r3, r3, #16384
	str	r3, [fp, #-52]
	b	.L2
.L3:
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r2, .L42+4
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	getopt
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmn	r3, #1
	bne	.L18
	ldr	r3, .L42+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L19
	ldr	r3, .L42+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
.L19:
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, .L42+8
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bgt	.L21
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, .L42+8
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L22
.L25:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r3, fp, #44
	mov	r2, #0
	ldr	r1, [fp, #-52]
	bl	glob
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-52]
	orr	r3, r3, #32
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L22:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L25
	b	.L24
.L41:
	nop
.L24:
	ldr	r3, [fp, #-60]
	cmp	r3, #1
	bne	.L26
	ldr	r0, .L42+12
	bl	puts
	b	.L27
.L26:
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	bne	.L28
	ldr	r0, .L42+16
	bl	puts
	b	.L27
.L28:
	ldr	r3, [fp, #-60]
	cmp	r3, #3
	bne	.L27
	ldr	r0, .L42+20
	bl	puts
.L27:
	ldr	r3, [fp, #-52]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-40]
	ldr	r2, .L42+24
	str	r2, [r3]
.L29:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L30
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L31
.L38:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L32
	ldr	r1, .L42+28
	b	.L33
.L32:
	ldr	r1, .L42+32
.L33:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	b	.L35
.L34:
	ldr	r2, .L42+36
.L35:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L42+40
	b	.L37
.L36:
	ldr	r3, .L42+32
.L37:
	ldr	r0, .L42+44
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L31:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bhi	.L38
.L30:
	mov	r3, #0
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC10
	.word	.LC0
	.word	optind
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
