	.file	"43887534.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%2d/%02d/%4d: %10.2f\n"
	.text
	.globl	printTransaction1
	.type	printTransaction1, @function
printTransaction1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rsi, QWORD PTR 16[rbp]
	mov	ecx, DWORD PTR 32[rbp]
	mov	edx, DWORD PTR 28[rbp]
	mov	eax, DWORD PTR 24[rbp]
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printTransaction1, .-printTransaction1
	.section	.rodata
.LC1:
	.string	"Invalid transaction."
	.text
	.globl	printTransaction2
	.type	printTransaction2, @function
printTransaction2:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L5
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printTransaction2, .-printTransaction2
	.globl	addTax
	.type	addTax, @function
addTax:
.LFB8:
	.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
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	addTax, .-addTax
	.section	.rodata
	.align 8
.LC6:
	.string	"Our bill amount before tax: $%.2f\n"
	.align 8
.LC8:
	.string	"Our bill amount after tax: $%.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	DWORD PTR -56[rbp], 6
	mov	DWORD PTR -52[rbp], 20
	mov	DWORD PTR -48[rbp], 2021
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	mov	DWORD PTR -88[rbp], 7
	mov	DWORD PTR -84[rbp], 15
	mov	DWORD PTR -80[rbp], 2021
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	call	printTransaction1
	add	rsp, 32
	sub	rsp, 8
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	printTransaction1
	add	rsp, 32
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -24[rbp], 8
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 2020
	mov	QWORD PTR -112[rbp], 0
	lea	rax, -32[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR 12[rax], 3
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR 8[rax], 8
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR 16[rax], 2021
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	printTransaction2
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	printTransaction2
	mov	rax, QWORD PTR -96[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR .LC7[rip]
	lea	rax, -96[rbp]
	movq	xmm0, rdx
	mov	rdi, rax
	call	addTax
	mov	rax, QWORD PTR -96[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1080623104
	.align 8
.LC3:
	.long	0
	.long	1078747136
	.align 8
.LC4:
	.long	1889785610
	.long	1079065149
	.align 8
.LC5:
	.long	0
	.long	-1070333952
	.align 8
.LC7:
	.long	-1717986918
	.long	1068079513
	.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	"43887534.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%2d/%02d/%4d: %10.2f\012\000"
	.text
	.align	2
	.global	printTransaction1
	.syntax unified
	.arm
	.fpu softvfp
	.type	printTransaction1, %function
printTransaction1:
	@ args = 24, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r1, [fp, #12]
	ldr	r0, [fp, #16]
	ldr	ip, [fp, #20]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L2
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L3:
	.align	2
.L2:
	.word	.LC2
	.size	printTransaction1, .-printTransaction1
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Invalid transaction.\000"
	.text
	.align	2
	.global	printTransaction2
	.syntax unified
	.arm
	.fpu softvfp
	.type	printTransaction2, %function
printTransaction2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L8
	bl	puts
	b	.L7
.L5:
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	ip, [r3, #16]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L8+4
	bl	printf
.L7:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC2
	.size	printTransaction2, .-printTransaction2
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	addTax
	.syntax unified
	.arm
	.fpu softvfp
	.type	addTax, %function
addTax:
	@ 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, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	addTax, .-addTax
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Our bill amount before tax: $%.2f\012\000"
	.align	2
.LC5:
	.ascii	"Our bill amount after tax: $%.2f\012\000"
	.align	3
.LC0:
	.word	0
	.word	1080623104
	.word	6
	.word	20
	.word	2021
	.space	4
	.align	3
.LC1:
	.word	1889785610
	.word	1079065149
	.word	8
	.word	1
	.word	2020
	.space	4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L14+4
	sub	ip, fp, #60
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r2, #0
	ldr	r3, .L14+8
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #7
	str	r3, [fp, #-76]
	mov	r3, #15
	str	r3, [fp, #-72]
	ldr	r3, .L14+12
	str	r3, [fp, #-68]
	mov	r2, sp
	sub	r3, fp, #44
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	bl	printTransaction1
	mov	r2, sp
	sub	r3, fp, #68
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	sub	r3, fp, #84
	ldm	r3, {r0, r1, r2, r3}
	bl	printTransaction1
	ldr	r3, .L14+16
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-92]
	sub	r3, fp, #36
	str	r3, [fp, #-92]
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r1, [fp, #-88]
	mov	r2, #0
	ldr	r3, .L14+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	mov	r2, #3
	str	r2, [r3, #12]
	ldr	r3, [fp, #-88]
	mov	r2, #8
	str	r2, [r3, #8]
	ldr	r3, [fp, #-88]
	ldr	r2, .L14+12
	str	r2, [r3, #16]
	ldr	r0, [fp, #-92]
	bl	printTransaction2
	ldr	r0, [fp, #-88]
	bl	printTransaction2
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+24
	bl	printf
	sub	r1, fp, #84
	ldr	r2, .L14+28
	ldr	r3, .L14+32
	mov	r0, r1
	bl	addTax
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+36
	bl	printf
	ldr	r0, [fp, #-88]
	bl	free
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	.LC0
	.word	1078747136
	.word	2021
	.word	.LC1
	.word	-1070333952
	.word	.LC4
	.word	-1717986918
	.word	1068079513
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
