	.file	"831423.c"
	.intel_syntax noprefix
	.text
	.globl	srl
	.type	srl, @function
srl:
.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	DWORD PTR -24[rbp], esi
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -8[rbp], 32
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	srl, .-srl
	.globl	sra
	.type	sra, @function
sra:
.LFB1:
	.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	DWORD PTR -24[rbp], esi
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -12[rbp], 32
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, DWORD PTR -4[rbp]
	test	eax, eax
	jne	.L4
	mov	eax, 0
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	and	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	or	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sra, .-sra
	.section	.rodata
.LC0:
	.string	"the_stack_data/831423.c"
.LC1:
	.string	"srl(test_u, 4) == test_u >> 4"
.LC2:
	.string	"sra(test_i, 4) == test_i >> 4"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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 -8[rbp], -1
	mov	DWORD PTR -4[rbp], -1
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 4
	mov	edi, eax
	call	srl
	mov	edx, DWORD PTR -8[rbp]
	shr	edx, 4
	cmp	eax, edx
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 31
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 4
	mov	edi, eax
	call	sra
	mov	edx, DWORD PTR -4[rbp]
	sar	edx, 4
	cmp	eax, edx
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 32
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L9:
	mov	DWORD PTR -8[rbp], 2147483647
	mov	DWORD PTR -4[rbp], 2147483647
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 4
	mov	edi, eax
	call	srl
	mov	edx, DWORD PTR -8[rbp]
	shr	edx, 4
	cmp	eax, edx
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 37
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 4
	mov	edi, eax
	call	sra
	mov	edx, DWORD PTR -4[rbp]
	sar	edx, 4
	cmp	eax, edx
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L11:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"831423.c"
	.text
	.align	2
	.global	srl
	.syntax unified
	.arm
	.fpu softvfp
	.type	srl, %function
srl:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	asr	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #32
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mvn	r2, #0
	lsl	r3, r2, r3
	mvn	r3, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	and	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	srl, .-srl
	.align	2
	.global	sra
	.syntax unified
	.arm
	.fpu softvfp
	.type	sra, %function
sra:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	lsr	r3, r2, r3
	str	r3, [fp, #-20]
	mov	r3, #32
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mvn	r2, #0
	lsl	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	ldr	r2, [fp, #-12]
	and	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sra, .-sra
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/831423.c\000"
	.align	2
.LC1:
	.ascii	"srl(test_u, 4) == test_u >> 4\000"
	.align	2
.LC2:
	.ascii	"sra(test_i, 4) == test_i >> 4\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
	mvn	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r1, #4
	ldr	r0, [fp, #-12]
	bl	srl
	mov	r2, r0
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #4
	cmp	r2, r3
	beq	.L8
	ldr	r3, .L13
	mov	r2, #31
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	__assert_fail
.L8:
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	sra
	mov	r2, r0
	ldr	r3, [fp, #-8]
	asr	r3, r3, #4
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L13
	mov	r2, #32
	ldr	r1, .L13+4
	ldr	r0, .L13+12
	bl	__assert_fail
.L9:
	mvn	r3, #-2147483648
	str	r3, [fp, #-12]
	mvn	r3, #-2147483648
	str	r3, [fp, #-8]
	mov	r1, #4
	ldr	r0, [fp, #-12]
	bl	srl
	mov	r2, r0
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #4
	cmp	r2, r3
	beq	.L10
	ldr	r3, .L13
	mov	r2, #37
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	__assert_fail
.L10:
	mov	r1, #4
	ldr	r0, [fp, #-8]
	bl	sra
	mov	r2, r0
	ldr	r3, [fp, #-8]
	asr	r3, r3, #4
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L13
	mov	r2, #38
	ldr	r1, .L13+4
	ldr	r0, .L13+12
	bl	__assert_fail
.L11:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	__PRETTY_FUNCTION__.4637
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4637, %object
	.size	__PRETTY_FUNCTION__.4637, 5
__PRETTY_FUNCTION__.4637:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
