	.file	"577849.c"
	.intel_syntax noprefix
	.text
	.globl	pw
	.data
	.align 8
	.type	pw, @object
	.size	pw, 14
pw:
	.string	"kult_passord"
	.string	""
	.globl	enc
	.bss
	.align 8
	.type	enc, @object
	.size	enc, 15
enc:
	.zero	15
	.globl	enc_pw
	.align 8
	.type	enc_pw, @object
	.size	enc_pw, 15
enc_pw:
	.zero	15
	.globl	token
	.data
	.align 8
	.type	token, @object
	.size	token, 15
token:
	.string	"kjempeHemmelig"
	.globl	key
	.align 8
	.type	key, @object
	.size	key, 8
key:
	.ascii	"\n\013\n\r\f\n\017\016"
	.section	.rodata
.LC0:
	.string	"unsigned char key[] = { "
.LC1:
	.string	"0x%02x, "
.LC2:
	.string	"};"
.LC3:
	.string	"unsigned char pw[] = { "
.LC4:
	.string	" 0x0 };"
.LC5:
	.string	"unsigned char token[] = { "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, key[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L2:
	cmp	DWORD PTR -20[rbp], 7
	jle	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR pw[rip]
	movzx	edx, BYTE PTR key[rip]
	xor	eax, edx
	mov	BYTE PTR enc_pw[rip], al
	movzx	eax, BYTE PTR enc_pw[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, pw[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	and	eax, 7
	mov	rdx, rax
	lea	rax, key[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	xor	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, enc_pw[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, enc_pw[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L4:
	lea	rdi, pw[rip]
	call	strlen@PLT
	cmp	DWORD PTR -16[rbp], eax
	jl	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, token[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, key[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	xor	eax, ecx
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L6:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L7
	mov	DWORD PTR -8[rbp], 8
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, token[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	ecx, al
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, pw[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	xor	eax, ecx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 6
	jle	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"577849.c"
	.text
	.global	pw
	.data
	.align	2
	.type	pw, %object
	.size	pw, 14
pw:
	.ascii	"kult_passord\000\000"
	.global	enc
	.bss
	.align	2
	.type	enc, %object
	.size	enc, 15
enc:
	.space	15
	.global	enc_pw
	.align	2
	.type	enc_pw, %object
	.size	enc_pw, 15
enc_pw:
	.space	15
	.global	token
	.data
	.align	2
	.type	token, %object
	.size	token, 15
token:
	.ascii	"kjempeHemmelig\000"
	.global	key
	.align	2
	.type	key, %object
	.size	key, 8
key:
	.ascii	"\012\013\012\015\014\012\017\016"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"unsigned char key[] = { \000"
	.align	2
.LC1:
	.ascii	"0x%02x, \000"
	.align	2
.LC2:
	.ascii	"};\000"
	.align	2
.LC3:
	.ascii	"unsigned char pw[] = { \000"
	.align	2
.LC4:
	.ascii	" 0x0 };\000"
	.align	2
.LC5:
	.ascii	"unsigned char token[] = { \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
	ldr	r0, .L11
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L3:
	ldr	r2, .L11+4
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #7
	ble	.L3
	ldr	r0, .L11+12
	bl	puts
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, .L11+20
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L11+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, .L11+24
	strb	r2, [r3]
	ldr	r3, .L11+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L4
.L5:
	ldr	r2, .L11+20
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	and	r3, r3, #7
	ldr	r1, .L11+4
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r1, r3, #255
	ldr	r2, .L11+24
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r2, .L11+24
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r0, .L11+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	blt	.L5
	ldr	r0, .L11+28
	bl	puts
	ldr	r0, .L11+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L7:
	ldr	r2, .L11+36
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L11+4
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L7
	mov	r3, #8
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L11+36
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r1, .L11+20
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ble	.L9
	ldr	r0, .L11+12
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	key
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	pw
	.word	enc_pw
	.word	.LC4
	.word	.LC5
	.word	token
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
