	.file	"116508.c"
	.intel_syntax noprefix
	.text
	.globl	i32sign
	.type	i32sign, @function
i32sign:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 31
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 1
	not	eax
	mov	edx, eax
	cmp	DWORD PTR -4[rbp], 0
	sete	cl
	cmp	DWORD PTR -20[rbp], 0
	setne	al
	and	eax, ecx
	movzx	eax, al
	add	eax, edx
	add	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	i32sign, .-i32sign
	.section	.rodata
.LC0:
	.string	"the_stack_data/116508.c"
.LC1:
	.string	"i32sign(42) == 1"
.LC2:
	.string	"i32sign(0) == 0"
.LC3:
	.string	"i32sign(-42) == -1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 42
	call	i32sign
	cmp	eax, 1
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 21
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	mov	edi, 0
	call	i32sign
	test	eax, eax
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 22
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L5:
	mov	edi, -42
	call	i32sign
	cmp	eax, -1
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 23
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L6:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"116508.c"
	.text
	.align	2
	.global	i32sign
	.syntax unified
	.arm
	.fpu softvfp
	.type	i32sign, %function
i32sign:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #31
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	mvn	r3, r3
	ldr	r2, [fp, #-8]
	cmp	r2, #0
	moveq	r2, #1
	movne	r2, #0
	and	r1, r2, #255
	ldr	r2, [fp, #-16]
	cmp	r2, #0
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	and	r2, r2, r1
	and	r2, r2, #255
	add	r3, r3, r2
	add	r3, r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	i32sign, .-i32sign
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/116508.c\000"
	.align	2
.LC1:
	.ascii	"i32sign(42) == 1\000"
	.align	2
.LC2:
	.ascii	"i32sign(0) == 0\000"
	.align	2
.LC3:
	.ascii	"i32sign(-42) == -1\000"
	.text
	.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
	mov	r0, #42
	bl	i32sign
	mov	r3, r0
	cmp	r3, #1
	beq	.L4
	ldr	r3, .L8
	mov	r2, #21
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	__assert_fail
.L4:
	mov	r0, #0
	bl	i32sign
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L8
	mov	r2, #22
	ldr	r1, .L8+4
	ldr	r0, .L8+12
	bl	__assert_fail
.L5:
	mvn	r0, #41
	bl	i32sign
	mov	r3, r0
	cmn	r3, #1
	beq	.L6
	ldr	r3, .L8
	mov	r2, #23
	ldr	r1, .L8+4
	ldr	r0, .L8+16
	bl	__assert_fail
.L6:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	__PRETTY_FUNCTION__.4214
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4214, %object
	.size	__PRETTY_FUNCTION__.4214, 5
__PRETTY_FUNCTION__.4214:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
