	.file	"298157.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%07x"
.LC1:
	.string	"0x"
.LC2:
	.string	"0x worked"
.LC3:
	.string	"+0x"
.LC4:
	.string	"+0x worked"
.LC5:
	.string	"base +16 worked"
.LC6:
	.string	"base 16 worked"
.LC7:
	.string	"-0x"
.LC8:
	.string	"-0x worked"
.LC9:
	.string	"base -16 worked"
.LC10:
	.string	"shouldn't happen"
.LC11:
	.string	"Nope x"
.LC12:
	.string	"%u"
.LC13:
	.string	"base 8 worked"
.LC14:
	.string	"base +8 worked"
.LC15:
	.string	"base +10 worked"
.LC16:
	.string	"base 10 worked"
.LC17:
	.string	"base -8 worked"
.LC18:
	.string	"base -10 worked"
.LC19:
	.string	"Nope u"
.LC20:
	.string	"No switch"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rax, -117[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	mov	eax, 0
	call	read@PLT
	lea	rax, -112[rbp]
	mov	edx, 80
	mov	rsi, rax
	mov	edi, 0
	mov	eax, 0
	call	read@PLT
	movzx	eax, BYTE PTR -117[rbp]
	cmp	al, 120
	jne	.L2
	lea	rdx, -116[rbp]
	lea	rax, -112[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, 43690
	jne	.L3
	lea	rax, -112[rbp]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	lea	rax, -112[rbp]
	mov	edx, 3
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 43
	jne	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L5
.L7:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L5
.L3:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, -52685
	jne	.L8
	lea	rax, -112[rbp]
	mov	edx, 3
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L9
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L5
.L9:
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 45
	jne	.L10
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L5
.L10:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L5
.L8:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L5
.L2:
	movzx	eax, BYTE PTR -117[rbp]
	cmp	al, 117
	jne	.L11
	lea	rdx, -116[rbp]
	lea	rax, -112[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, 43690
	jne	.L12
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 48
	jne	.L13
	movzx	eax, BYTE PTR -111[rbp]
	cmp	al, 120
	je	.L13
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L5
.L13:
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 43
	jne	.L15
	movzx	eax, BYTE PTR -111[rbp]
	cmp	al, 48
	jne	.L15
	movzx	eax, BYTE PTR -110[rbp]
	cmp	al, 120
	je	.L15
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L5
.L15:
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 43
	jne	.L16
	movzx	eax, BYTE PTR -111[rbp]
	cmp	al, 48
	je	.L16
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L5
.L16:
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L5
.L12:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, -52685
	jne	.L17
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 45
	jne	.L18
	movzx	eax, BYTE PTR -111[rbp]
	cmp	al, 48
	jne	.L18
	movzx	eax, BYTE PTR -110[rbp]
	cmp	al, 120
	je	.L18
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L5
.L18:
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 45
	jne	.L20
	movzx	eax, BYTE PTR -111[rbp]
	cmp	al, 48
	je	.L20
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L5
.L20:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L5
.L17:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L5
.L11:
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L5:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"298157.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%07x\000"
	.align	2
.LC1:
	.ascii	"0x\000"
	.align	2
.LC2:
	.ascii	"0x worked\000"
	.align	2
.LC3:
	.ascii	"+0x\000"
	.align	2
.LC4:
	.ascii	"+0x worked\000"
	.align	2
.LC5:
	.ascii	"base +16 worked\000"
	.align	2
.LC6:
	.ascii	"base 16 worked\000"
	.align	2
.LC7:
	.ascii	"-0x\000"
	.align	2
.LC8:
	.ascii	"-0x worked\000"
	.align	2
.LC9:
	.ascii	"base -16 worked\000"
	.align	2
.LC10:
	.ascii	"shouldn't happen\000"
	.align	2
.LC11:
	.ascii	"Nope x\000"
	.align	2
.LC12:
	.ascii	"%u\000"
	.align	2
.LC13:
	.ascii	"base 8 worked\000"
	.align	2
.LC14:
	.ascii	"base +8 worked\000"
	.align	2
.LC15:
	.ascii	"base +10 worked\000"
	.align	2
.LC16:
	.ascii	"base 10 worked\000"
	.align	2
.LC17:
	.ascii	"base -8 worked\000"
	.align	2
.LC18:
	.ascii	"base -10 worked\000"
	.align	2
.LC19:
	.ascii	"Nope u\000"
	.align	2
.LC20:
	.ascii	"No switch\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #113
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	sub	r3, fp, #108
	mov	r2, #80
	mov	r1, r3
	mov	r0, #0
	bl	read
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L2
	sub	r2, fp, #112
	sub	r3, fp, #108
	ldr	r1, .L23+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-112]
	ldr	r2, .L23+8
	cmp	r3, r2
	bne	.L3
	sub	r3, fp, #108
	mov	r2, #2
	ldr	r1, .L23+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L23+16
	bl	puts
	b	.L5
.L4:
	sub	r3, fp, #108
	mov	r2, #3
	ldr	r1, .L23+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L23+24
	bl	puts
	b	.L5
.L6:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L7
	ldr	r0, .L23+28
	bl	puts
	b	.L5
.L7:
	ldr	r0, .L23+32
	bl	puts
	b	.L5
.L3:
	ldr	r3, [fp, #-112]
	ldr	r2, .L23+36
	cmp	r3, r2
	bne	.L8
	sub	r3, fp, #108
	mov	r2, #3
	ldr	r1, .L23+40
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L23+44
	bl	puts
	b	.L5
.L9:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L10
	ldr	r0, .L23+48
	bl	puts
	b	.L5
.L10:
	ldr	r0, .L23+52
	bl	puts
	b	.L5
.L8:
	ldr	r0, .L23+56
	bl	puts
	b	.L5
.L2:
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #117
	bne	.L11
	sub	r2, fp, #112
	sub	r3, fp, #108
	ldr	r1, .L23+60
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-112]
	ldr	r2, .L23+8
	cmp	r3, r2
	bne	.L12
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L13
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L13
	ldr	r0, .L23+64
	bl	puts
	b	.L5
.L13:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L15
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L15
	ldrb	r3, [fp, #-106]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L15
	ldr	r0, .L23+68
	bl	puts
	b	.L5
.L15:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L16
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L16
	ldr	r0, .L23+72
	bl	puts
	b	.L5
.L16:
	ldr	r0, .L23+76
	bl	puts
	b	.L5
.L12:
	ldr	r3, [fp, #-112]
	ldr	r2, .L23+36
	cmp	r3, r2
	bne	.L17
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L18
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L18
	ldrb	r3, [fp, #-106]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L18
	ldr	r0, .L23+80
	bl	puts
	b	.L5
.L18:
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L20
	ldrb	r3, [fp, #-107]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L20
	ldr	r0, .L23+84
	bl	puts
	b	.L5
.L20:
	ldr	r0, .L23+52
	bl	puts
	b	.L5
.L17:
	ldr	r0, .L23+88
	bl	puts
	b	.L5
.L11:
	ldr	r0, .L23+92
	bl	puts
.L5:
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC21
	.word	.LC0
	.word	43690
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	-52685
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
