	.file	"799719.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%2x"
	.text
	.type	hex_string_to_byte, @function
hex_string_to_byte:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[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, 4096
	test	eax, eax
	je	.L2
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 4096
	test	eax, eax
	je	.L2
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L2
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, 0
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, 1
.L4:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hex_string_to_byte, .-hex_string_to_byte
	.section	.rodata
.LC1:
	.string	"missing/unsupported arguments"
.LC2:
	.string	"Error: guid length\n"
.LC3:
	.string	"Error: guid format\n"
.LC4:
	.string	"r+b"
.LC5:
	.string	"Error"
	.align 8
.LC6:
	.string	"Error: can not read 512 bytes\n"
.LC7:
	.string	"Error: fseek position\n"
.LC8:
	.string	"Error: file system detected\n"
	.align 8
.LC9:
	.string	"Error: missing boot signature\n"
.LC10:
	.string	"gpt_bin (crc32c): 0x%08lX\n"
	.text
	.type	program, @function
program:
.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, 592
	mov	QWORD PTR -584[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
.L7:
	mov	rax, QWORD PTR -584[rbp]
	lea	rdx, .LC1[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, 1
	jmp	.L22
.L8:
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L10
	mov	DWORD PTR -564[rbp], 0
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 36
	je	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L22
.L11:
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -544[rbp]
	add	rdx, 3
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 2
	lea	rdx, -544[rbp]
	add	rdx, 2
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 4
	lea	rdx, -544[rbp]
	add	rdx, 1
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 6[rax]
	lea	rax, -544[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 8
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	setne	al
	movzx	eax, al
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 9
	lea	rdx, -544[rbp]
	add	rdx, 5
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 11
	lea	rdx, -544[rbp]
	add	rdx, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 13
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	setne	al
	movzx	eax, al
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 14
	lea	rdx, -544[rbp]
	add	rdx, 7
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 16
	lea	rdx, -544[rbp]
	add	rdx, 6
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 18
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	setne	al
	movzx	eax, al
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 19
	lea	rdx, -544[rbp]
	add	rdx, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 21
	lea	rdx, -544[rbp]
	add	rdx, 9
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 23
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	setne	al
	movzx	eax, al
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 24
	lea	rdx, -544[rbp]
	add	rdx, 10
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 26
	lea	rdx, -544[rbp]
	add	rdx, 11
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 28
	lea	rdx, -544[rbp]
	add	rdx, 12
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 30
	lea	rdx, -544[rbp]
	add	rdx, 13
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 32
	lea	rdx, -544[rbp]
	add	rdx, 14
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 34
	lea	rdx, -544[rbp]
	add	rdx, 15
	mov	rsi, rdx
	mov	rdi, rax
	call	hex_string_to_byte
	or	DWORD PTR -564[rbp], eax
	cmp	DWORD PTR -564[rbp], 0
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L22
.L10:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -560[rbp], rax
	cmp	QWORD PTR -560[rbp], 0
	jne	.L12
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L12:
	mov	rdx, QWORD PTR -560[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 512
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 512
	je	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L22
.L13:
	mov	rax, QWORD PTR -560[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L22
.L14:
	movzx	eax, BYTE PTR -528[rbp]
	cmp	al, -21
	jne	.L15
	movzx	eax, BYTE PTR -527[rbp]
	cmp	al, 60
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L22
.L15:
	movzx	eax, BYTE PTR -18[rbp]
	cmp	al, 85
	jne	.L16
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, -86
	je	.L17
.L16:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L22
.L17:
	lea	rax, -528[rbp]
	mov	edx, 440
	lea	rsi, gpt_bin[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -584[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L18
	mov	rax, QWORD PTR -544[rbp]
	mov	rdx, QWORD PTR -536[rbp]
	mov	QWORD PTR -512[rbp], rax
	mov	QWORD PTR -504[rbp], rdx
.L18:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR -560[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 512
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 512
	je	.L19
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L22
.L19:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L20
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L20:
	mov	rax, QWORD PTR -584[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	je	.L21
	mov	esi, 512
	lea	rdi, gpt_bin[rip]
	call	crc32c@PLT
	mov	QWORD PTR -552[rbp], rax
	mov	rax, QWORD PTR -552[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	eax, 0
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	program, .-program
	.section	.rodata
	.align 8
.LC11:
	.ascii	"Usage"
	.string	": dy-gpt [-g guid] hdd-image\n\nOptions:\n  -g guid       bootable UniquePartitionGUID\n                e.g. \"aabbccdd-eeff-gghh-iijj-kkllmmnnoopp\"\n\nGeneral:\n  --help, -h    help text\n  --verbose, -v additional information\n  --version, -V version information\n\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	help_str, @object
	.size	help_str, 8
help_str:
	.quad	.LC11
	.section	.rodata
.LC12:
	.string	"Error: "
.LC13:
	.string	"\n\n"
	.text
	.type	help, @function
help:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L25
	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
.L25:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	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
	cmp	QWORD PTR -216[rbp], 0
	je	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
.L26:
	cmp	QWORD PTR -216[rbp], 0
	je	.L27
	mov	rax, QWORD PTR stderr[rip]
	jmp	.L28
.L27:
	mov	rax, QWORD PTR stdout[rip]
.L28:
	mov	rdx, QWORD PTR help_str[rip]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	cmp	QWORD PTR -216[rbp], 0
	setne	al
	movzx	eax, al
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	help, .-help
	.section	.rodata
.LC14:
	.string	"dy-gpt (Dancy)\n"
	.text
	.type	version, @function
version:
.LFB9:
	.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 stdout[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	version, .-version
	.section	.rodata
.LC15:
	.string	"help"
.LC16:
	.string	"version"
.LC17:
	.string	"verbose"
.LC18:
	.string	"unknown long option \"%s\""
.LC19:
	.string	"unknown option \"-%c\""
.LC20:
	.string	"-%c <option-argument> missing"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	cmp	DWORD PTR -52[rbp], 1
	jle	.L32
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L33
.L32:
	mov	eax, 0
.L33:
	mov	QWORD PTR -40[rbp], rax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L34
	mov	eax, 1
	jmp	.L35
.L34:
	mov	QWORD PTR -32[rbp], 8
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	sub	QWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L36
	mov	eax, 1
	jmp	.L35
.L36:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L37
	jmp	.L38
.L60:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L38
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L40
	jmp	.L38
.L40:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L59
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	jmp	.L43
.L42:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	mov	edi, 0
	mov	eax, 0
	call	help
.L44:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	call	version
.L45:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L46
	mov	DWORD PTR opts.0[rip+24], 1
	jmp	.L38
.L46:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	help
.L59:
	mov	QWORD PTR -16[rbp], 0
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 118
	je	.L47
	cmp	eax, 118
	jg	.L48
	cmp	eax, 104
	je	.L49
	cmp	eax, 104
	jg	.L48
	cmp	eax, 103
	je	.L50
	cmp	eax, 103
	jg	.L48
	test	eax, eax
	je	.L51
	cmp	eax, 86
	je	.L52
	jmp	.L48
.L51:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L53
.L50:
	lea	rax, opts.0[rip+16]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L53
.L49:
	mov	edi, 0
	mov	eax, 0
	call	help
	jmp	.L53
.L47:
	mov	DWORD PTR opts.0[rip+24], 1
	jmp	.L53
.L52:
	call	version
	jmp	.L53
.L48:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	help
	nop
.L53:
	cmp	QWORD PTR -16[rbp], 0
	je	.L54
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L55
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	jmp	.L56
.L55:
	add	QWORD PTR -40[rbp], 8
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
.L56:
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L57
	cmp	QWORD PTR -16[rbp], 0
	je	.L58
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L58:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L38
.L57:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	help
.L54:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L59
.L38:
	cmp	QWORD PTR -40[rbp], 0
	je	.L43
	add	QWORD PTR -40[rbp], 8
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L60
.L43:
	cmp	QWORD PTR -40[rbp], 0
	je	.L61
	mov	DWORD PTR -52[rbp], 1
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L62
.L63:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L62
	add	DWORD PTR -52[rbp], 1
.L62:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	cmp	QWORD PTR -40[rbp], rax
	ja	.L63
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L61:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L64
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	jmp	.L65
.L64:
	mov	rax, QWORD PTR -64[rbp]
.L65:
	mov	QWORD PTR opts.0[rip], rax
	lea	rdi, opts.0[rip]
	call	program
	test	eax, eax
	je	.L66
	mov	rax, QWORD PTR opts.0[rip+8]
	test	rax, rax
	je	.L67
	mov	rax, QWORD PTR opts.0[rip+8]
	mov	rdi, rax
	mov	eax, 0
	call	help
.L67:
	mov	eax, 1
	jmp	.L35
.L66:
	mov	eax, 0
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.local	opts.0
	.comm	opts.0,32,32
	.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	"799719.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%2x\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex_string_to_byte, %function
hex_string_to_byte:
	@ 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, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #4096
	cmp	r3, #0
	beq	.L2
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #4096
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L6+4
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-12]
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	strb	r2, [r3]
	mov	r3, #0
	b	.L4
.L2:
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #1
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	hex_string_to_byte, .-hex_string_to_byte
	.section	.rodata
	.align	2
.LC2:
	.ascii	"missing/unsupported arguments\000"
	.align	2
.LC3:
	.ascii	"Error: guid length\012\000"
	.align	2
.LC4:
	.ascii	"Error: guid format\012\000"
	.align	2
.LC5:
	.ascii	"r+b\000"
	.align	2
.LC6:
	.ascii	"Error\000"
	.align	2
.LC7:
	.ascii	"Error: can not read 512 bytes\012\000"
	.align	2
.LC8:
	.ascii	"Error: fseek position\012\000"
	.align	2
.LC9:
	.ascii	"Error: file system detected\012\000"
	.align	2
.LC10:
	.ascii	"Error: missing boot signature\012\000"
	.align	2
.LC11:
	.ascii	"gpt_bin (crc32c): 0x%08lX\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	program, %function
program:
	@ args = 0, pretend = 0, frame = 552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #552
	str	r0, [fp, #-552]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-552]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-552]
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
.L9:
	ldr	r3, [fp, #-552]
	ldr	r2, .L26+4
	str	r2, [r3, #4]
	mov	r3, #1
	b	.L24
.L10:
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L12
	mov	r3, #0
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #36
	beq	.L13
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L26+12
	bl	fwrite
	mov	r3, #1
	b	.L24
.L13:
	ldr	r3, [fp, #-552]
	ldr	r2, [r3, #8]
	sub	r3, fp, #536
	add	r3, r3, #3
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #2
	sub	r3, fp, #536
	add	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #4
	sub	r3, fp, #536
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r3, r3, #6
	sub	r2, fp, #536
	mov	r1, r2
	mov	r0, r3
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #9
	sub	r3, fp, #536
	add	r3, r3, #5
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #11
	sub	r3, fp, #536
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r3, r3, #13
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #14
	sub	r3, fp, #536
	add	r3, r3, #7
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #16
	sub	r3, fp, #536
	add	r3, r3, #6
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r3, r3, #18
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #19
	sub	r3, fp, #536
	add	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #21
	sub	r3, fp, #536
	add	r3, r3, #9
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r3, r3, #23
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #24
	sub	r3, fp, #536
	add	r3, r3, #10
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #26
	sub	r3, fp, #536
	add	r3, r3, #11
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #28
	sub	r3, fp, #536
	add	r3, r3, #12
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #30
	sub	r3, fp, #536
	add	r3, r3, #13
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #32
	sub	r3, fp, #536
	add	r3, r3, #14
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	add	r2, r3, #34
	sub	r3, fp, #536
	add	r3, r3, #15
	mov	r1, r3
	mov	r0, r2
	bl	hex_string_to_byte
	mov	r2, r0
	ldr	r3, [fp, #-548]
	orr	r3, r3, r2
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L26+16
	bl	fwrite
	mov	r3, #1
	b	.L24
.L12:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-552]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, .L26+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-544]
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L26+24
	bl	perror
	mov	r3, #1
	b	.L24
.L14:
	sub	r0, fp, #520
	ldr	r3, [fp, #-544]
	mov	r2, #512
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #512
	beq	.L15
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L26+28
	bl	fwrite
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, #1
	b	.L24
.L15:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-544]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L26+32
	bl	fwrite
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, #1
	b	.L24
.L16:
	ldrb	r3, [fp, #-520]	@ zero_extendqisi2
	cmp	r3, #235
	bne	.L17
	ldrb	r3, [fp, #-519]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L17
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L26+36
	bl	fwrite
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, #1
	b	.L24
.L17:
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #85
	bne	.L18
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #170
	beq	.L19
.L18:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L26+40
	bl	fwrite
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, #1
	b	.L24
.L19:
	sub	r3, fp, #520
	mov	r2, #440
	ldr	r1, .L26+44
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L20
	sub	r1, fp, #536
	sub	r3, fp, #520
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memcpy
.L20:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r0, fp, #520
	ldr	r3, [fp, #-544]
	mov	r2, #512
	mov	r1, #1
	bl	fwrite
	mov	r3, r0
	cmp	r3, #512
	beq	.L21
	ldr	r0, .L26+24
	bl	perror
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, #1
	b	.L24
.L21:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-544]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L26+24
	bl	perror
	mov	r3, #1
	b	.L24
.L22:
	ldr	r3, [fp, #-552]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L23
	mov	r1, #512
	ldr	r0, .L26+44
	bl	crc32c
	str	r0, [fp, #-540]
	ldr	r1, [fp, #-540]
	ldr	r0, .L26+48
	bl	printf
.L23:
	mov	r3, #0
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC12
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	gpt_bin
	.word	.LC11
	.size	program, .-program
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Usage: dy-gpt [-g guid] hdd-image\012\012Options:\012"
	.ascii	"  -g guid       bootable UniquePartitionGUID\012   "
	.ascii	"             e.g. \"aabbccdd-eeff-gghh-iijj-kkllmmn"
	.ascii	"noopp\"\012\012General:\012  --help, -h    help tex"
	.ascii	"t\012  --verbose, -v additional information\012  --"
	.ascii	"version, -V version information\012\012\000"
	.data
	.align	2
	.type	help_str, %object
	.size	help_str, 4
help_str:
	.word	.LC13
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Error: \000"
	.align	2
.LC15:
	.ascii	"\012\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L33+4
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L33+8
	bl	fwrite
	ldr	r3, .L33+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, .L33+4
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L33+12
	bl	fwrite
.L29:
	ldr	r3, .L33+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L33+4
	ldr	r3, [r3]
	b	.L31
.L30:
	ldr	r3, .L33+20
	ldr	r3, [r3]
.L31:
	mov	r1, r3
	mov	r0, r2
	bl	fputs
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	exit
.L34:
	.align	2
.L33:
	.word	.LC16
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	help_str
	.word	stdout
	.size	help, .-help
	.section	.rodata
	.align	2
.LC17:
	.ascii	"dy-gpt (Dancy)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	version, %function
version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L36+4
	bl	fwrite
	mov	r0, #0
	bl	exit
.L37:
	.align	2
.L36:
	.word	stdout
	.word	.LC17
	.size	version, .-version
	.section	.rodata
	.align	2
.LC18:
	.ascii	"help\000"
	.align	2
.LC19:
	.ascii	"version\000"
	.align	2
.LC20:
	.ascii	"verbose\000"
	.align	2
.LC21:
	.ascii	"unknown long option \"%s\"\000"
	.align	2
.LC22:
	.ascii	"unknown option \"-%c\"\000"
	.align	2
.LC23:
	.ascii	"-%c <option-argument> missing\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	ble	.L39
	ldr	r3, [fp, #-36]
	b	.L40
.L39:
	mov	r3, #0
.L40:
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L41
	mov	r3, #1
	b	.L42
.L41:
	mov	r3, #4
	str	r3, [fp, #-24]
	b	.L43
.L44:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L43
	mov	r3, #1
	b	.L42
.L43:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L44
	b	.L45
.L67:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L45
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L47
	b	.L45
.L47:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L66
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	b	.L50
.L49:
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r1, .L75
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	mov	r0, #0
	bl	help
.L51:
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r1, .L75+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	bl	version
.L52:
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r1, .L75+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L75+12
	mov	r2, #1
	str	r2, [r3, #12]
	b	.L45
.L53:
	ldr	r1, [fp, #-20]
	ldr	r0, .L75+16
	bl	help
.L66:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	beq	.L54
	cmp	r3, #118
	bgt	.L55
	cmp	r3, #104
	beq	.L56
	cmp	r3, #104
	bgt	.L55
	cmp	r3, #103
	beq	.L57
	cmp	r3, #103
	bgt	.L55
	cmp	r3, #0
	beq	.L58
	cmp	r3, #86
	beq	.L59
	b	.L55
.L58:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L60
.L57:
	ldr	r3, .L75+20
	str	r3, [fp, #-16]
	b	.L60
.L56:
	mov	r0, #0
	bl	help
	b	.L60
.L54:
	ldr	r3, .L75+12
	mov	r2, #1
	str	r2, [r3, #12]
	b	.L60
.L59:
	bl	version
	b	.L60
.L55:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L75+24
	bl	help
	nop
.L60:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	b	.L63
.L62:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
.L63:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L65:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L45
.L64:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L75+28
	bl	help
.L61:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L66
.L45:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L67
.L50:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L68
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	b	.L69
.L70:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L69:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bhi	.L70
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L68:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	b	.L72
.L71:
	ldr	r3, [fp, #-36]
.L72:
	ldr	r2, .L75+12
	str	r3, [r2]
	ldr	r0, .L75+12
	bl	program
	mov	r3, r0
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L75+12
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L75+12
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	help
.L74:
	mov	r3, #1
	b	.L42
.L73:
	mov	r3, #0
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	opts.5439
	.word	.LC21
	.word	opts.5439+8
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.local	opts.5439
	.comm	opts.5439,16,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
