	.file	"54826490.c"
	.intel_syntax noprefix
	.text
	.globl	shift
	.type	shift, @function
shift:
.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -8[rbp], 0
	jle	.L2
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	sal	DWORD PTR -4[rbp], cl
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -8[rbp]
	neg	eax
	mov	ecx, eax
	shr	DWORD PTR -4[rbp], cl
.L3:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	shift, .-shift
	.section	.rodata
.LC0:
	.string	"%o\t%o\n"
.LC1:
	.string	"%o\n"
	.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
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -24[rbp], 65535
	mov	DWORD PTR -20[rbp], 292
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 5
	mov	ebx, eax
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, 5
	mov	edi, eax
	call	shift
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	shr	eax, 6
	mov	ebx, eax
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, -6
	mov	edi, eax
	call	shift
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 0
	mov	edi, eax
	call	shift
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, -3
	mov	edi, eax
	call	shift
	mov	esi, 3
	mov	edi, eax
	call	shift
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"54826490.c"
	.text
	.align	2
	.global	shift
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift, %function
shift:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L2
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-8]
	lsr	r3, r2, r3
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	shift, .-shift
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%o\011%o\012\000"
	.align	2
.LC1:
	.ascii	"%o\012\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
	ldr	r3, .L7
	str	r3, [fp, #-12]
	mov	r3, #292
	str	r3, [fp, #-8]
	mov	r1, #5
	ldr	r0, [fp, #-12]
	bl	shift
	mov	r1, r0
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	mov	r2, r3
	ldr	r0, .L7+4
	bl	printf
	mvn	r1, #5
	ldr	r0, [fp, #-12]
	bl	shift
	mov	r1, r0
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #6
	mov	r2, r3
	ldr	r0, .L7+4
	bl	printf
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	shift
	mov	r3, r0
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L7+4
	bl	printf
	mvn	r1, #2
	ldr	r0, [fp, #-12]
	bl	shift
	mov	r3, r0
	mov	r1, #3
	mov	r0, r3
	bl	shift
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L7+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	65535
	.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
