	.file	"extr_cmd_egg.c_cmd_egg_compile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"egg.shellcode"
.LC1:
	.string	"Unknown shellcode '%s'\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Setup a shellcode before (gi command)\n"
	.align 8
.LC3:
	.string	"r_egg_assemble: invalid assembly\n"
	.section	.rodata.str1.1
.LC4:
	.string	"egg.padding"
.LC5:
	.string	"egg.encoder"
.LC6:
	.string	""
.LC7:
	.string	"key"
	.text
	.p2align 4
	.type	cmd_egg_compile, @function
cmd_egg_compile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	r_egg_option_get@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	cmp	BYTE PTR [rax], 0
	jne	.L24
.L2:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	xor	r13d, r13d
	call	eprintf@PLT
	mov	rdi, r12
	call	free@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rsi, rax
	mov	rdi, rbp
	call	r_egg_shellcode@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L25
	mov	rdi, r12
	call	free@PLT
	mov	rdi, rbp
	call	r_egg_compile@PLT
	mov	rdi, rbp
	call	r_egg_assemble@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L26
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	r_egg_option_get@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
	cmp	BYTE PTR [rax], 0
	jne	.L27
.L7:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	r_egg_option_get@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	cmp	BYTE PTR [rax], 0
	jne	.L28
.L8:
	mov	rdi, rbp
	xor	r13d, r13d
	call	r_egg_get_bin@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L9
	call	showBuffer@PLT
	mov	r13d, 1
.L9:
	mov	rdi, rbp
	lea	rdx, .LC6[rip]
	lea	rsi, .LC0[rip]
	call	r_egg_option_set@PLT
	mov	rdi, rbp
	lea	rdx, .LC6[rip]
	lea	rsi, .LC4[rip]
	call	r_egg_option_set@PLT
	mov	rdi, rbp
	lea	rdx, .LC6[rip]
	lea	rsi, .LC5[rip]
	call	r_egg_option_set@PLT
	mov	rdi, rbp
	lea	rdx, .LC6[rip]
	lea	rsi, .LC7[rip]
	call	r_egg_option_set@PLT
	mov	rdi, rbp
	call	r_egg_reset@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	eprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rsi, r12
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	eprintf@PLT
	mov	rdi, r12
	call	free@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	rdi, rbp
	mov	rsi, rax
	call	r_egg_padding@PLT
	mov	rdi, r12
	call	free@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, rbp
	mov	rsi, rax
	call	r_egg_encode@PLT
	mov	rdi, r12
	call	free@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	cmd_egg_compile, .-cmd_egg_compile
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cmd_egg.c_cmd_egg_compile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"egg.shellcode\000"
	.align	2
.LC1:
	.ascii	"Unknown shellcode '%s'\012\000"
	.align	2
.LC2:
	.ascii	"Setup a shellcode before (gi command)\012\000"
	.align	2
.LC3:
	.ascii	"r_egg_assemble: invalid assembly\012\000"
	.align	2
.LC4:
	.ascii	"egg.padding\000"
	.align	2
.LC5:
	.ascii	"egg.encoder\000"
	.align	2
.LC6:
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"key\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_egg_compile, %function
cmd_egg_compile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r1, .L37
	mov	r5, r0
	bl	r_egg_option_get
	subs	r4, r0, #0
	beq	.L2
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
.L2:
	ldr	r0, .L37+4
	bl	eprintf
	mov	r0, r4
	bl	free
	mov	r6, #0
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L32:
	mov	r1, r4
	mov	r0, r5
	bl	r_egg_shellcode
	subs	r6, r0, #0
	beq	.L33
	mov	r0, r4
	bl	free
	mov	r0, r5
	bl	r_egg_compile
	mov	r0, r5
	bl	r_egg_assemble
	subs	r6, r0, #0
	beq	.L34
	mov	r0, r5
	ldr	r1, .L37+8
	bl	r_egg_option_get
	subs	r4, r0, #0
	beq	.L7
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L35
.L7:
	mov	r0, r5
	ldr	r1, .L37+12
	bl	r_egg_option_get
	subs	r4, r0, #0
	beq	.L8
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
.L8:
	mov	r0, r5
	bl	r_egg_get_bin
	subs	r6, r0, #0
	beq	.L9
	bl	showBuffer
	mov	r6, #1
.L9:
	mov	r0, r5
	ldr	r2, .L37+16
	ldr	r1, .L37
	bl	r_egg_option_set
	mov	r0, r5
	ldr	r2, .L37+16
	ldr	r1, .L37+8
	bl	r_egg_option_set
	mov	r0, r5
	ldr	r2, .L37+16
	ldr	r1, .L37+12
	bl	r_egg_option_set
	ldr	r2, .L37+16
	ldr	r1, .L37+20
	mov	r0, r5
	bl	r_egg_option_set
	mov	r0, r5
	bl	r_egg_reset
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L34:
	ldr	r0, .L37+24
	bl	eprintf
	b	.L1
.L33:
	mov	r1, r4
	ldr	r0, .L37+28
	bl	eprintf
	mov	r0, r4
	bl	free
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L35:
	mov	r1, r4
	mov	r0, r5
	bl	r_egg_padding
	mov	r0, r4
	bl	free
	b	.L7
.L36:
	mov	r1, r4
	mov	r0, r5
	bl	r_egg_encode
	mov	r0, r4
	bl	free
	b	.L8
.L38:
	.align	2
.L37:
	.word	.LC0
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC3
	.word	.LC1
	.size	cmd_egg_compile, .-cmd_egg_compile
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
