	.file	"513062.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"input/Fractional_Knapsack/knapsack01.inp"
	.align 8
.LC1:
	.string	"input/Fractional_Knapsack/knapsack02.inp"
	.align 8
.LC2:
	.string	"input/Fractional_Knapsack/knapsack03.inp"
	.align 8
.LC3:
	.string	"input/Fractional_Knapsack/knapsack04.inp"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	lea	rdi, .LC0[rip]
	call	knapsack
	lea	rdi, .LC1[rip]
	call	knapsack
	lea	rdi, .LC2[rip]
	call	knapsack
	lea	rdi, .LC3[rip]
	call	knapsack
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	compare_item_by_rate
	.type	compare_item_by_rate, @function
compare_item_by_rate:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L11
	mov	eax, -1
	jmp	.L6
.L11:
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L12
	mov	eax, 1
	jmp	.L6
.L12:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare_item_by_rate, .-compare_item_by_rate
	.section	.rodata
.LC4:
	.string	"rt"
	.align 8
.LC5:
	.string	"We can't do anything.\nBecause CAN NOT OPEN FILE\nProgram is still exit with 0 code."
.LC6:
	.string	"%d%lf"
.LC7:
	.string	"%lf"
	.text
	.globl	knapsack
	.type	knapsack, @function
knapsack:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	freopen@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L14
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L14:
	lea	rdx, -152[rbp]
	lea	rax, -156[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -104[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -184[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L15:
	cmp	rsp, rdx
	je	.L16
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L15
.L16:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L17
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L17:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L18:
	cmp	rsp, rdx
	je	.L19
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L18
.L19:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L20
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L20:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	QWORD PTR -120[rbp], 1
.L21:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	cmp	QWORD PTR -120[rbp], rax
	jb	.L22
	mov	QWORD PTR -128[rbp], 0
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -128[rbp]
	sal	rax, 4
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -128[rbp]
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	QWORD PTR -128[rbp], 1
.L23:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	cmp	QWORD PTR -128[rbp], rax
	jb	.L24
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -156[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, compare_item_by_rate[rip]
	mov	edx, 16
	mov	rdi, rax
	call	qsort@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -136[rbp], xmm0
	mov	QWORD PTR -144[rbp], 0
	jmp	.L25
.L32:
	movsd	xmm0, QWORD PTR -152[rbp]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L26
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	je	.L37
.L26:
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -144[rbp]
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -144[rbp]
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR -152[rbp]
	comisd	xmm0, QWORD PTR -72[rbp]
	jb	.L36
	movsd	xmm0, QWORD PTR -136[rbp]
	addsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR -152[rbp]
	subsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -152[rbp], xmm0
	jmp	.L31
.L36:
	movsd	xmm0, QWORD PTR -152[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -136[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -136[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -152[rbp], xmm0
.L31:
	add	QWORD PTR -144[rbp], 1
.L25:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	cmp	QWORD PTR -144[rbp], rax
	jb	.L32
	jmp	.L28
.L37:
	nop
.L28:
	movsd	xmm0, QWORD PTR -136[rbp]
	mov	rsp, rbx
	movq	rax, xmm0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	movq	xmm0, rax
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	knapsack, .-knapsack
	.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	"513062.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"input/Fractional_Knapsack/knapsack01.inp\000"
	.align	2
.LC1:
	.ascii	"input/Fractional_Knapsack/knapsack02.inp\000"
	.align	2
.LC2:
	.ascii	"input/Fractional_Knapsack/knapsack03.inp\000"
	.align	2
.LC3:
	.ascii	"input/Fractional_Knapsack/knapsack04.inp\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, .L3
	bl	knapsack
	ldr	r0, .L3+4
	bl	knapsack
	ldr	r0, .L3+8
	bl	knapsack
	ldr	r0, .L3+12
	bl	knapsack
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpgt
	.align	2
	.global	compare_item_by_rate
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_item_by_rate, %function
compare_item_by_rate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	mvn	r3, #0
	b	.L8
.L13:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mov	r3, #1
	b	.L8
.L14:
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_item_by_rate, .-compare_item_by_rate
	.section	.rodata
	.align	2
.LC4:
	.ascii	"rt\000"
	.align	2
.LC5:
	.ascii	"We can't do anything.\012Because CAN NOT OPEN FILE\012"
	.ascii	"Program is still exit with 0 code.\000"
	.align	2
.LC6:
	.ascii	"%d%lf\000"
	.align	2
.LC7:
	.ascii	"%lf\000"
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmple
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	knapsack
	.syntax unified
	.arm
	.fpu softvfp
	.type	knapsack, %function
knapsack:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	str	r0, [fp, #-96]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L34+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L34+8
	ldr	r0, [fp, #-96]
	bl	freopen
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L34+12
	bl	puts
	mov	r0, #0
	bl	exit
.L16:
	sub	r2, fp, #52
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, .L34+16
	bl	__isoc99_scanf
	ldr	ip, [fp, #-88]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-64]
	ldr	ip, [fp, #-88]
	sub	r3, ip, #1
	str	r3, [fp, #-60]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L17
.L18:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L17:
	ldr	r3, [fp, #-88]
	mov	r2, r3
	ldr	r3, [fp, #-76]
	cmp	r3, r2
	bcc	.L18
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L19
.L20:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-64]
	ldr	r1, [fp, #-80]
	lsl	r1, r1, #4
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L34+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L19:
	ldr	r3, [fp, #-88]
	mov	r2, r3
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	bcc	.L20
	ldr	r0, [fp, #-72]
	bl	fclose
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r3, .L34+24
	mov	r2, #16
	ldr	r0, [fp, #-64]
	bl	qsort
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L21
.L28:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L27
.L32:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L27:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L21:
	ldr	r3, [fp, #-88]
	mov	r2, r3
	ldr	r3, [fp, #-84]
	cmp	r3, r2
	bcc	.L28
	b	.L24
.L33:
	nop
.L24:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	sp, r4
	ldr	r1, .L34
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC8
	.word	stdin
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	compare_item_by_rate
	.size	knapsack, .-knapsack
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
