	.file	"449916.c"
	.intel_syntax noprefix
	.text
	.globl	strtoul
	.type	strtoul, @function
strtoul:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	BYTE PTR -33[rbp], 0
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
.L2:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jle	.L4
.L3:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L6
	mov	BYTE PTR -33[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
.L6:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L7
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jle	.L8
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -34[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	lea	rax, -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	strtoul0@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -56[rbp], rax
.L9:
	cmp	QWORD PTR -64[rbp], 0
	je	.L10
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
.L10:
	movzx	eax, BYTE PTR -34[rbp]
	test	al, al
	jne	.L11
	cmp	BYTE PTR -33[rbp], 0
	je	.L11
	neg	QWORD PTR -32[rbp]
.L11:
	movzx	eax, BYTE PTR -34[rbp]
	test	al, al
	je	.L12
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 34
.L12:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	strtoul, .-strtoul
	.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	"449916.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	strtoul
	.syntax unified
	.arm
	.fpu softvfp
	.type	strtoul, %function
strtoul:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-21]
	b	.L2
.L4:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L4
.L3:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L6
	mov	r3, #1
	strb	r3, [fp, #-21]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L6
.L8:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L8
.L7:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	sub	r2, fp, #22
	sub	r3, fp, #32
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strtoul0
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-32]
.L9:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r2, [r3]
.L10:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #0
	str	r3, [fp, #-20]
.L11:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	bl	__errno_location
	mov	r3, r0
	mov	r2, #34
	str	r2, [r3]
.L12:
	ldr	r3, [fp, #-20]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	strtoul, .-strtoul
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
