	.file	"674679.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 -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, -1
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	and	eax, DWORD PTR -4[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	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 65536
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	lea	edx, -1[rax]
	mov	eax, 3
	sub	eax, DWORD PTR -24[rbp]
	mov	esi, 4
	mov	ecx, eax
	sal	rsi, cl
	mov	rax, rsi
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	je	.L5
	mov	eax, DWORD PTR -4[rbp]
	or	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
.L5:
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sra, .-sra
	.section	.rodata
	.align 8
.LC0:
	.string	"Logical shifts simulate successful\n"
	.align 8
.LC1:
	.string	"Arithmetic shifts simulate successful\n"
	.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, 32
	mov	DWORD PTR -20[rbp], 3
	mov	DWORD PTR -16[rbp], -2147483648
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	srl
	mov	edx, DWORD PTR -12[rbp]
	cmp	eax, edx
	jne	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	test	eax, eax
.L9:
	mov	DWORD PTR -20[rbp], 7
	mov	DWORD PTR -8[rbp], 268435455
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	sra
	mov	edx, DWORD PTR -4[rbp]
	cmp	eax, edx
	jne	.L11
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	test	eax, eax
.L11:
	call	getchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"674679.c"
	.text
	.align	2
	.global	srl
	.syntax unified
	.arm
	.fpu softvfp
	.type	srl, %function
srl:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	asr	r3, r2, r3
	str	r3, [fp, #-12]
	mvn	r2, #0
	ldr	r3, [fp, #-20]
	lsr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	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, #-16]
	ldr	r3, [fp, #-24]
	and	r3, r3, #65536
	str	r3, [fp, #-12]
	mov	r2, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #3
	mov	r1, #4
	lsl	r3, r1, r3
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L5
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
.L5:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sra, .-sra
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Logical shifts simulate successful\012\000"
	.align	2
.LC1:
	.ascii	"Arithmetic shifts simulate successful\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #3
	str	r3, [fp, #-24]
	mov	r3, #-2147483648
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	lsr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	srl
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L9
	ldr	r0, .L13
	bl	printf
	mov	r3, r0
	cmp	r3, #0
.L9:
	mov	r3, #7
	str	r3, [fp, #-24]
	mvn	r3, #-268435456
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	asr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	sra
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L11
	ldr	r0, .L13+4
	bl	printf
	mov	r3, r0
	cmp	r3, #0
.L11:
	bl	getchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
