	.file	"extr_parsenumbase.c_mp_parse_num_base.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mp_parse_num_base
	.type	mp_parse_num_base, @function
mp_parse_num_base:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdx]
	cmp	rsi, 1
	jbe	.L2
	mov	ecx, DWORD PTR [rdi]
	test	eax, -17
	jne	.L3
	cmp	ecx, 48
	je	.L26
	xor	r8d, r8d
	cmp	eax, 8
	je	.L1
.L2:
	test	eax, eax
	jne	.L17
.L8:
	mov	DWORD PTR [rdx], 10
	xor	r8d, r8d
.L1:
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	eax, 8
	je	.L27
	cmp	eax, 2
	jne	.L17
	cmp	ecx, 48
	jne	.L17
	mov	eax, DWORD PTR 4[rdi]
	xor	r8d, r8d
	or	eax, 32
	cmp	eax, 98
	sete	r8b
	add	r8, r8
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	xor	r8d, r8d
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	xor	r8d, r8d
	cmp	ecx, 48
	jne	.L1
	mov	eax, DWORD PTR 4[rdi]
	xor	r8d, r8d
	or	eax, 32
	cmp	eax, 111
	sete	r8b
	add	r8, r8
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	ecx, DWORD PTR 4[rdi]
	or	ecx, 32
	cmp	ecx, 120
	je	.L28
	xor	r8d, r8d
	test	eax, eax
	jne	.L1
	cmp	ecx, 111
	je	.L29
	cmp	ecx, 98
	jne	.L8
	mov	DWORD PTR [rdx], 2
	mov	r8d, 2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	DWORD PTR [rdx], 16
	mov	r8d, 2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	DWORD PTR [rdx], 8
	mov	r8d, 2
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mp_parse_num_base, .-mp_parse_num_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_parsenumbase.c_mp_parse_num_base.c"
	.text
	.align	2
	.global	mp_parse_num_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	mp_parse_num_base, %function
mp_parse_num_base:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #1
	ldr	r3, [r2]
	bls	.L2
	bics	r1, r3, #16
	ldr	ip, [r0]
	bne	.L3
	cmp	ip, #48
	beq	.L21
	cmp	r3, #8
	beq	.L12
.L2:
	cmp	r3, #0
	bne	.L12
.L8:
	mov	r3, #10
	mov	r0, #0
	str	r3, [r2]
	bx	lr
.L3:
	cmp	r3, #8
	beq	.L22
	cmp	r3, #2
	cmpeq	ip, #48
	beq	.L10
.L12:
	mov	r0, #0
	bx	lr
.L10:
	ldr	r3, [r0, #4]
	orr	r3, r3, #32
	cmp	r3, #98
	movne	r0, #0
	moveq	r0, #2
	bx	lr
.L22:
	cmp	ip, #48
	bne	.L12
	ldr	r3, [r0, #4]
	orr	r3, r3, #32
	cmp	r3, #111
	movne	r0, #0
	moveq	r0, #2
	bx	lr
.L21:
	ldr	r0, [r0, #4]
	orr	r0, r0, #32
	cmp	r0, #120
	beq	.L23
	cmp	r3, #0
	bne	.L12
	cmp	r0, #111
	beq	.L24
	cmp	r0, #98
	bne	.L8
	mov	r0, #2
	str	r0, [r2]
	bx	lr
.L23:
	mov	r3, #16
	mov	r0, #2
	str	r3, [r2]
	bx	lr
.L24:
	mov	r3, #8
	mov	r0, #2
	str	r3, [r2]
	bx	lr
	.size	mp_parse_num_base, .-mp_parse_num_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
