	.file	"470123.c"
	.intel_syntax noprefix
	.text
	.globl	foo
	.type	foo, @function
foo:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	WORD PTR -4[rbp], dx
	mov	WORD PTR -8[rbp], ax
	movsx	edx, WORD PTR -4[rbp]
	movzx	eax, WORD PTR -8[rbp]
	imul	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	foo, .-foo
	.globl	bar
	.type	bar, @function
bar:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	WORD PTR -4[rbp], dx
	mov	WORD PTR -8[rbp], ax
	movzx	edx, WORD PTR -4[rbp]
	movsx	eax, WORD PTR -8[rbp]
	imul	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bar, .-bar
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 65535
	mov	edi, -2
	call	foo
	cmp	eax, -131070
	je	.L6
	call	abort@PLT
.L6:
	mov	esi, 65535
	mov	edi, 2
	call	foo
	cmp	eax, 131070
	je	.L7
	call	abort@PLT
.L7:
	mov	esi, 32768
	mov	edi, -32768
	call	foo
	cmp	eax, -1073741824
	je	.L8
	call	abort@PLT
.L8:
	mov	esi, 32768
	mov	edi, 32767
	call	foo
	cmp	eax, 1073709056
	je	.L9
	call	abort@PLT
.L9:
	mov	esi, -2
	mov	edi, 65535
	call	bar
	cmp	eax, -131070
	je	.L10
	call	abort@PLT
.L10:
	mov	esi, 2
	mov	edi, 65535
	call	bar
	cmp	eax, 131070
	je	.L11
	call	abort@PLT
.L11:
	mov	esi, -32768
	mov	edi, 32768
	call	bar
	cmp	eax, -1073741824
	je	.L12
	call	abort@PLT
.L12:
	mov	esi, 32767
	mov	edi, 32768
	call	bar
	cmp	eax, 1073709056
	je	.L13
	call	abort@PLT
.L13:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.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	"470123.c"
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	mov	r2, r1
	strh	r3, [fp, #-6]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-8]	@ movhi
	ldrsh	r3, [fp, #-6]
	ldrh	r2, [fp, #-8]
	mul	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo, .-foo
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	mov	r2, r1
	strh	r3, [fp, #-6]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-6]
	ldrsh	r2, [fp, #-8]
	mul	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bar, .-bar
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L14
	mvn	r0, #1
	bl	foo
	mov	r3, r0
	ldr	r2, .L14+4
	cmp	r3, r2
	beq	.L6
	bl	abort
.L6:
	ldr	r1, .L14
	mov	r0, #2
	bl	foo
	mov	r3, r0
	ldr	r2, .L14+8
	cmp	r3, r2
	beq	.L7
	bl	abort
.L7:
	mov	r1, #32768
	ldr	r0, .L14+12
	bl	foo
	mov	r3, r0
	cmp	r3, #-1073741824
	beq	.L8
	bl	abort
.L8:
	mov	r1, #32768
	ldr	r0, .L14+16
	bl	foo
	mov	r3, r0
	ldr	r2, .L14+20
	cmp	r3, r2
	beq	.L9
	bl	abort
.L9:
	mvn	r1, #1
	ldr	r0, .L14
	bl	bar
	mov	r3, r0
	ldr	r2, .L14+4
	cmp	r3, r2
	beq	.L10
	bl	abort
.L10:
	mov	r1, #2
	ldr	r0, .L14
	bl	bar
	mov	r3, r0
	ldr	r2, .L14+8
	cmp	r3, r2
	beq	.L11
	bl	abort
.L11:
	ldr	r1, .L14+12
	mov	r0, #32768
	bl	bar
	mov	r3, r0
	cmp	r3, #-1073741824
	beq	.L12
	bl	abort
.L12:
	ldr	r1, .L14+16
	mov	r0, #32768
	bl	bar
	mov	r3, r0
	ldr	r2, .L14+20
	cmp	r3, r2
	beq	.L13
	bl	abort
.L13:
	mov	r0, #0
	bl	exit
.L15:
	.align	2
.L14:
	.word	65535
	.word	-131070
	.word	131070
	.word	-32768
	.word	32767
	.word	1073709056
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
