	.file	"186822.c"
	.intel_syntax noprefix
	.text
	.globl	strtol
	.type	strtol, @function
strtol:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	r13d, edx
	mov	r12, QWORD PTR -56[rbp]
	mov	DWORD PTR -72[rbp], 0
.L2:
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L2
	cmp	ebx, 45
	jne	.L3
	mov	DWORD PTR -72[rbp], 1
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	jmp	.L4
.L3:
	cmp	ebx, 43
	jne	.L4
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
.L4:
	test	r13d, r13d
	je	.L5
	cmp	r13d, 16
	jne	.L6
.L5:
	cmp	ebx, 48
	jne	.L6
	movzx	eax, BYTE PTR [r12]
	cmp	al, 120
	je	.L7
	movzx	eax, BYTE PTR [r12]
	cmp	al, 88
	jne	.L6
.L7:
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	add	r12, 2
	mov	r13d, 16
	jmp	.L8
.L6:
	test	r13d, r13d
	je	.L9
	cmp	r13d, 2
	jne	.L8
.L9:
	cmp	ebx, 48
	jne	.L8
	movzx	eax, BYTE PTR [r12]
	cmp	al, 98
	je	.L10
	movzx	eax, BYTE PTR [r12]
	cmp	al, 66
	jne	.L8
.L10:
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	add	r12, 2
	mov	r13d, 2
.L8:
	test	r13d, r13d
	jne	.L11
	cmp	ebx, 48
	jne	.L12
	mov	eax, 8
	jmp	.L13
.L12:
	mov	eax, 10
.L13:
	mov	r13d, eax
.L11:
	cmp	DWORD PTR -72[rbp], 0
	je	.L14
	movabs	rax, -9223372036854775808
	jmp	.L15
.L14:
	movabs	rax, 9223372036854775807
.L15:
	mov	r15, rax
	movsx	rcx, r13d
	mov	rax, r15
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	mov	DWORD PTR -76[rbp], eax
	movsx	rsi, r13d
	mov	rax, r15
	mov	edx, 0
	div	rsi
	mov	r15, rax
	mov	r14d, 0
	mov	DWORD PTR -68[rbp], 0
.L26:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L16
	sub	ebx, 48
	jmp	.L17
.L16:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L35
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L19
	mov	eax, 55
	jmp	.L20
.L19:
	mov	eax, 87
.L20:
	sub	ebx, eax
.L17:
	cmp	ebx, r13d
	jge	.L36
	cmp	DWORD PTR -68[rbp], 0
	js	.L23
	cmp	r14, r15
	ja	.L23
	cmp	r14, r15
	jne	.L24
	cmp	ebx, DWORD PTR -76[rbp]
	jle	.L24
.L23:
	mov	DWORD PTR -68[rbp], -1
	jmp	.L25
.L24:
	mov	DWORD PTR -68[rbp], 1
	movsx	rax, r13d
	imul	r14, rax
	movsx	rax, ebx
	add	r14, rax
.L25:
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	jmp	.L26
.L35:
	nop
	jmp	.L21
.L36:
	nop
.L21:
	cmp	DWORD PTR -68[rbp], 0
	jns	.L27
	cmp	DWORD PTR -72[rbp], 0
	je	.L28
	movabs	rax, -9223372036854775808
	jmp	.L29
.L28:
	movabs	rax, 9223372036854775807
.L29:
	mov	r14, rax
	jmp	.L30
.L27:
	cmp	DWORD PTR -72[rbp], 0
	je	.L30
	neg	r14
.L30:
	cmp	QWORD PTR -64[rbp], 0
	je	.L31
	cmp	DWORD PTR -68[rbp], 0
	je	.L32
	lea	rax, -1[r12]
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -56[rbp]
.L33:
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
.L31:
	mov	rax, r14
	add	rsp, 40
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	strtol, .-strtol
	.globl	strtoul
	.type	strtoul, @function
strtoul:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	r13d, edx
	mov	r12, QWORD PTR -56[rbp]
	mov	DWORD PTR -68[rbp], 0
.L38:
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L38
	cmp	ebx, 45
	jne	.L39
	mov	DWORD PTR -68[rbp], 1
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	jmp	.L40
.L39:
	cmp	ebx, 43
	jne	.L40
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
.L40:
	test	r13d, r13d
	je	.L41
	cmp	r13d, 16
	jne	.L42
.L41:
	cmp	ebx, 48
	jne	.L42
	movzx	eax, BYTE PTR [r12]
	cmp	al, 120
	je	.L43
	movzx	eax, BYTE PTR [r12]
	cmp	al, 88
	jne	.L42
.L43:
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	add	r12, 2
	mov	r13d, 16
	jmp	.L44
.L42:
	test	r13d, r13d
	je	.L45
	cmp	r13d, 2
	jne	.L44
.L45:
	cmp	ebx, 48
	jne	.L44
	movzx	eax, BYTE PTR [r12]
	cmp	al, 98
	je	.L46
	movzx	eax, BYTE PTR [r12]
	cmp	al, 66
	jne	.L44
.L46:
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	add	r12, 2
	mov	r13d, 2
.L44:
	test	r13d, r13d
	jne	.L47
	cmp	ebx, 48
	jne	.L48
	mov	eax, 8
	jmp	.L49
.L48:
	mov	eax, 10
.L49:
	mov	r13d, eax
.L47:
	movsx	rsi, r13d
	mov	rax, -1
	mov	edx, 0
	div	rsi
	mov	QWORD PTR -80[rbp], rax
	movsx	rcx, r13d
	mov	rax, -1
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	mov	DWORD PTR -72[rbp], eax
	mov	r14d, 0
	mov	r15d, 0
.L60:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L50
	sub	ebx, 48
	jmp	.L51
.L50:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L67
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ebx
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L53
	mov	eax, 55
	jmp	.L54
.L53:
	mov	eax, 87
.L54:
	sub	ebx, eax
.L51:
	cmp	ebx, r13d
	jge	.L68
	test	r15d, r15d
	js	.L57
	mov	rax, QWORD PTR -80[rbp]
	cmp	r14, rax
	ja	.L57
	cmp	r14, rax
	jne	.L58
	cmp	ebx, DWORD PTR -72[rbp]
	jle	.L58
.L57:
	mov	r15d, -1
	jmp	.L59
.L58:
	mov	r15d, 1
	movsx	rax, r13d
	imul	r14, rax
	movsx	rax, ebx
	add	r14, rax
.L59:
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	jmp	.L60
.L67:
	nop
	jmp	.L55
.L68:
	nop
.L55:
	test	r15d, r15d
	jns	.L61
	mov	r14, -1
	jmp	.L62
.L61:
	cmp	DWORD PTR -68[rbp], 0
	je	.L62
	neg	r14
.L62:
	cmp	QWORD PTR -64[rbp], 0
	je	.L63
	test	r15d, r15d
	je	.L64
	lea	rax, -1[r12]
	jmp	.L65
.L64:
	mov	rax, QWORD PTR -56[rbp]
.L65:
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
.L63:
	mov	rax, r14
	add	rsp, 40
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"186822.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.global	strtol
	.syntax unified
	.arm
	.fpu softvfp
	.type	strtol, %function
strtol:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r7, r2
	ldr	r4, [fp, #-40]
	mov	r9, #0
.L2:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L2
	cmp	r5, #45
	bne	.L3
	mov	r9, #1
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	b	.L4
.L3:
	cmp	r5, #43
	bne	.L4
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
.L4:
	cmp	r7, #0
	beq	.L5
	cmp	r7, #16
	bne	.L6
.L5:
	cmp	r5, #48
	bne	.L6
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L7
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L6
.L7:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	add	r4, r4, #2
	mov	r7, #16
	b	.L8
.L6:
	cmp	r7, #0
	beq	.L9
	cmp	r7, #2
	bne	.L8
.L9:
	cmp	r5, #48
	bne	.L8
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #98
	beq	.L10
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L8
.L10:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	add	r4, r4, #2
	mov	r7, #2
.L8:
	cmp	r7, #0
	bne	.L11
	cmp	r5, #48
	bne	.L12
	mov	r3, #8
	b	.L13
.L12:
	mov	r3, #10
.L13:
	mov	r7, r3
.L11:
	cmp	r9, #0
	beq	.L14
	mov	r3, #-2147483648
	b	.L15
.L14:
	mvn	r3, #-2147483648
.L15:
	mov	r10, r3
	mov	r3, r7
	mov	r1, r3
	mov	r0, r10
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-48]
	mov	r3, r7
	mov	r1, r3
	mov	r0, r10
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r10, r3
	mov	r6, #0
	mov	r8, #0
.L26:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L16
	sub	r5, r5, #48
	b	.L17
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L35
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L19
	mov	r3, #55
	b	.L20
.L19:
	mov	r3, #87
.L20:
	sub	r5, r5, r3
.L17:
	cmp	r5, r7
	bge	.L36
	cmp	r8, #0
	blt	.L23
	cmp	r6, r10
	bhi	.L23
	cmp	r6, r10
	bne	.L24
	ldr	r3, [fp, #-48]
	cmp	r5, r3
	ble	.L24
.L23:
	mvn	r8, #0
	b	.L25
.L24:
	mov	r8, #1
	mov	r3, r7
	mul	r6, r3, r6
	mov	r3, r5
	add	r6, r6, r3
.L25:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	b	.L26
.L35:
	nop
	b	.L21
.L36:
	nop
.L21:
	cmp	r8, #0
	bge	.L27
	cmp	r9, #0
	beq	.L28
	mov	r3, #-2147483648
	b	.L29
.L28:
	mvn	r3, #-2147483648
.L29:
	mov	r6, r3
	b	.L30
.L27:
	cmp	r9, #0
	beq	.L30
	rsb	r6, r6, #0
.L30:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L31
	cmp	r8, #0
	beq	.L32
	sub	r3, r4, #1
	b	.L33
.L32:
	ldr	r3, [fp, #-40]
.L33:
	ldr	r2, [fp, #-44]
	str	r3, [r2]
.L31:
	mov	r3, r6
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	strtol, .-strtol
	.align	2
	.global	strtoul
	.syntax unified
	.arm
	.fpu softvfp
	.type	strtoul, %function
strtoul:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r7, r2
	ldr	r4, [fp, #-40]
	mov	r10, #0
.L38:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L38
	cmp	r5, #45
	bne	.L39
	mov	r10, #1
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	b	.L40
.L39:
	cmp	r5, #43
	bne	.L40
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
.L40:
	cmp	r7, #0
	beq	.L41
	cmp	r7, #16
	bne	.L42
.L41:
	cmp	r5, #48
	bne	.L42
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L43
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L42
.L43:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	add	r4, r4, #2
	mov	r7, #16
	b	.L44
.L42:
	cmp	r7, #0
	beq	.L45
	cmp	r7, #2
	bne	.L44
.L45:
	cmp	r5, #48
	bne	.L44
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #98
	beq	.L46
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L44
.L46:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	add	r4, r4, #2
	mov	r7, #2
.L44:
	cmp	r7, #0
	bne	.L47
	cmp	r5, #48
	bne	.L48
	mov	r3, #8
	b	.L49
.L48:
	mov	r3, #10
.L49:
	mov	r7, r3
.L47:
	mov	r3, r7
	mov	r1, r3
	mvn	r0, #0
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r9, r3
	mov	r2, r7
	mvn	r3, #0
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-48]
	mov	r6, #0
	mov	r8, #0
.L60:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L50
	sub	r5, r5, #48
	b	.L51
.L50:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L67
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L53
	mov	r3, #55
	b	.L54
.L53:
	mov	r3, #87
.L54:
	sub	r5, r5, r3
.L51:
	cmp	r5, r7
	bge	.L68
	cmp	r8, #0
	blt	.L57
	cmp	r6, r9
	bhi	.L57
	cmp	r6, r9
	bne	.L58
	ldr	r3, [fp, #-48]
	cmp	r5, r3
	ble	.L58
.L57:
	mvn	r8, #0
	b	.L59
.L58:
	mov	r8, #1
	mov	r3, r7
	mul	r6, r3, r6
	mov	r3, r5
	add	r6, r6, r3
.L59:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	b	.L60
.L67:
	nop
	b	.L55
.L68:
	nop
.L55:
	cmp	r8, #0
	bge	.L61
	mvn	r6, #0
	b	.L62
.L61:
	cmp	r10, #0
	beq	.L62
	rsb	r6, r6, #0
.L62:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L63
	cmp	r8, #0
	beq	.L64
	sub	r3, r4, #1
	b	.L65
.L64:
	ldr	r3, [fp, #-40]
.L65:
	ldr	r2, [fp, #-44]
	str	r3, [r2]
.L63:
	mov	r3, r6
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	strtoul, .-strtoul
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
