	.file	"35936.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Long range: %ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rsi, 9223372036854775807
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"Char at %d: "
	.text
	.globl	calc_char_range
	.type	calc_char_range, @function
calc_char_range:
.LFB1:
	.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 -4[rbp], 256
	mov	BYTE PTR -5[rbp], 0
	jmp	.L4
.L5:
	movsx	eax, BYTE PTR -5[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	movzx	eax, BYTE PTR -5[rbp]
	add	eax, 1
	mov	BYTE PTR -5[rbp], al
	sub	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	calc_char_range, .-calc_char_range
	.globl	calc_signed_char_range
	.type	calc_signed_char_range, @function
calc_signed_char_range:
.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 -4[rbp], 256
	mov	BYTE PTR -5[rbp], 0
	jmp	.L7
.L8:
	movsx	eax, BYTE PTR -5[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	movzx	eax, BYTE PTR -5[rbp]
	add	eax, 1
	mov	BYTE PTR -5[rbp], al
	sub	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	calc_signed_char_range, .-calc_signed_char_range
	.globl	calc_unsigned_char_range
	.type	calc_unsigned_char_range, @function
calc_unsigned_char_range:
.LFB3:
	.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 -4[rbp], 256
	mov	BYTE PTR -5[rbp], 0
	jmp	.L10
.L11:
	movzx	eax, BYTE PTR -5[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	add	BYTE PTR -5[rbp], 1
	sub	DWORD PTR -4[rbp], 1
.L10:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L11
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	calc_unsigned_char_range, .-calc_unsigned_char_range
	.section	.rodata
.LC2:
	.string	"Short at %d: %d\n"
	.text
	.globl	calc_short_range
	.type	calc_short_range, @function
calc_short_range:
.LFB4:
	.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 -4[rbp], 1
	mov	WORD PTR -6[rbp], 0
	jmp	.L13
.L14:
	movsx	edx, WORD PTR -6[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -6[rbp]
	add	eax, 1
	mov	WORD PTR -6[rbp], ax
	add	DWORD PTR -4[rbp], 1
.L13:
	cmp	DWORD PTR -4[rbp], 65536
	jle	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	calc_short_range, .-calc_short_range
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	calc_int_range
	.type	calc_int_range, @function
calc_int_range:
.LFB5:
	.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 -4[rbp], 2147483647
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	calc_int_range, .-calc_int_range
	.globl	get_long_range
	.type	get_long_range, @function
get_long_range:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	rsi, 9223372036854775807
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_long_range, .-get_long_range
	.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	"35936.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Long range: %ld\012\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
	mvn	r1, #-2147483648
	ldr	r0, .L3
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Char at %d: \000"
	.text
	.align	2
	.global	calc_char_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_char_range, %function
calc_char_range:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #256
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L6
.L7:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L8
	bl	printf
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-9]
	add	r3, r3, #1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.size	calc_char_range, .-calc_char_range
	.align	2
	.global	calc_signed_char_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_signed_char_range, %function
calc_signed_char_range:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #256
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L11
.L12:
	ldrsb	r3, [fp, #-9]
	mov	r1, r3
	ldr	r0, .L13
	bl	printf
	ldrsb	r3, [fp, #-9]
	mov	r0, r3
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r3, r3, #255
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L12
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.size	calc_signed_char_range, .-calc_signed_char_range
	.align	2
	.global	calc_unsigned_char_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_unsigned_char_range, %function
calc_unsigned_char_range:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #256
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L16
.L17:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L18
	bl	printf
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-9]
	add	r3, r3, #1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L17
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC1
	.size	calc_unsigned_char_range, .-calc_unsigned_char_range
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Short at %d: %d\012\000"
	.text
	.align	2
	.global	calc_short_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_short_range, %function
calc_short_range:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	b	.L21
.L22:
	ldrsh	r3, [fp, #-10]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L23
	bl	printf
	ldrh	r3, [fp, #-10]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #65536
	ble	.L22
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC2
	.size	calc_short_range, .-calc_short_range
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	calc_int_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_int_range, %function
calc_int_range:
	@ 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, #-2147483648
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L26
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L26
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC3
	.size	calc_int_range, .-calc_int_range
	.align	2
	.global	get_long_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_long_range, %function
get_long_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mvn	r1, #-2147483648
	ldr	r0, .L29
	bl	printf
	nop
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC0
	.size	get_long_range, .-get_long_range
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
