	.file	"695060.c"
	.intel_syntax noprefix
	.text
	.globl	zamijeni_min_max
	.type	zamijeni_min_max, @function
zamijeni_min_max:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -128[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L2
.L3:
	add	DWORD PTR -128[rbp], 1
	add	QWORD PTR -112[rbp], 1
.L2:
	mov	rax, QWORD PTR -112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	add	DWORD PTR -128[rbp], 1
	jmp	.L4
.L11:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	je	.L5
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -88[rbp], rax
	add	QWORD PTR -136[rbp], 1
.L6:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L7
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	jne	.L8
.L7:
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	cmp	rdx, rax
	jl	.L5
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
.L5:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L32
	add	QWORD PTR -136[rbp], 1
.L4:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	jmp	.L10
.L32:
	nop
.L10:
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L12
.L19:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -88[rbp], rax
	add	QWORD PTR -136[rbp], 1
.L14:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L13
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	jne	.L15
.L13:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	add	rax, 1
	cmp	rdx, rax
	jle	.L16
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	add	eax, 1
	mov	DWORD PTR -120[rbp], eax
.L16:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L33
	add	QWORD PTR -136[rbp], 1
.L12:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L19
	jmp	.L18
.L33:
	nop
.L18:
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jne	.L20
	mov	rax, QWORD PTR -104[rbp]
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L22
.L29:
	mov	rax, QWORD PTR -136[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jne	.L23
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -48[rbp], 1
	add	DWORD PTR -116[rbp], 1
.L24:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jbe	.L25
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	QWORD PTR -136[rbp], rax
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -136[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jne	.L26
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -40[rbp], 1
	add	DWORD PTR -116[rbp], 1
.L27:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jbe	.L28
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	QWORD PTR -136[rbp], rax
	jmp	.L22
.L26:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -136[rbp], 1
	add	DWORD PTR -116[rbp], 1
.L22:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -104[rbp], 1
	add	DWORD PTR -116[rbp], 1
.L30:
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L31
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	zamijeni_min_max, .-zamijeni_min_max
	.section	.rodata
.LC0:
	.string	"'%s'\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7020382982170178888
	movabs	rdx, 7600516395283082784
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR -16[rbp], 0
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	zamijeni_min_max
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"695060.c"
	.text
	.align	2
	.global	zamijeni_min_max
	.syntax unified
	.arm
	.fpu softvfp
	.type	zamijeni_min_max, %function
zamijeni_min_max:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-36]
	b	.L2
.L3:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L4
.L11:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L5
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L5
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-56]
	b	.L6
.L8:
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L6:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L7
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L8
.L7:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bgt	.L5
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L5:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L4:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	b	.L10
.L32:
	nop
.L10:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-80]
	b	.L12
.L19:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L13
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-56]
	b	.L14
.L15:
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L14:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L13
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L15
.L13:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	ble	.L16
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L16:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L12:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	b	.L18
.L33:
	nop
.L18:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-68]
	b	.L21
.L20:
	ldr	r3, [fp, #-72]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L22
.L29:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L23
	b	.L24
.L25:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L24:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bls	.L25
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L22
.L23:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bne	.L26
	b	.L27
.L28:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L27:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L28
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L22
.L26:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-80]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L22:
	ldr	r3, [fp, #-80]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L30
.L31:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-68]
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L30:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-68]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r3, [fp, #-8]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	zamijeni_min_max, .-zamijeni_min_max
	.section	.rodata
	.align	2
.LC1:
	.ascii	"'%s'\012\000"
	.align	2
.LC0:
	.ascii	"Huso ima najduzi\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.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	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L37+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strb	r3, [ip]
	sub	r3, fp, #28
	mov	r0, r3
	bl	zamijeni_min_max
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L37+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
