	.file	"151420.c"
	.intel_syntax noprefix
	.text
	.globl	aux
	.type	aux, @function
aux:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 3978425819141910832
	movabs	rdx, 5063528411713059128
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR -16[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	neg	eax
	cmp	DWORD PTR -36[rbp], eax
	jle	.L2
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jg	.L3
.L2:
	mov	eax, DWORD PTR -36[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	mov	edi, eax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	call	aux
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	mov	eax, edx
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	rdx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR [rdx]
	lea	esi, 1[rdx]
	mov	rcx, QWORD PTR -56[rbp]
	mov	DWORD PTR [rcx], esi
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	mov	BYTE PTR [rdx], al
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	aux, .-aux
	.globl	ft_itoa_base
	.type	ft_itoa_base, @function
ft_itoa_base:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -40[rbp], 1
	jle	.L6
	cmp	DWORD PTR -40[rbp], 16
	jg	.L6
	mov	edi, 35
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L7
.L6:
	mov	eax, 0
	jmp	.L11
.L7:
	mov	DWORD PTR -20[rbp], 0
	cmp	DWORD PTR -40[rbp], 10
	jne	.L9
	cmp	DWORD PTR -36[rbp], 0
	jns	.L9
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 45
.L9:
	lea	rcx, -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	aux
	cmp	DWORD PTR -40[rbp], 10
	jne	.L10
	cmp	DWORD PTR -36[rbp], -2147483648
	jne	.L10
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 56
.L10:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ft_itoa_base, .-ft_itoa_base
	.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	"151420.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0123456789ABCDEF\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aux
	.syntax unified
	.arm
	.fpu softvfp
	.type	aux, %function
aux:
	@ 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]
	str	r3, [fp, #-44]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L5+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strb	r3, [ip]
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L2
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bgt	.L3
.L2:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	bl	aux
.L3:
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r1, [fp, #-44]
	str	r0, [r1]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	sub	r1, fp, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-24]	@ zero_extendqisi2
	strb	r2, [r3]
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	aux, .-aux
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ft_itoa_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_itoa_base, %function
ft_itoa_base:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L8
	ldr	r3, [fp, #-28]
	cmp	r3, #16
	bgt	.L8
	mov	r0, #35
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
.L8:
	mov	r3, #0
	b	.L13
.L9:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r3, #10
	bne	.L11
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L11
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #45
	strb	r2, [r3]
.L11:
	sub	r3, fp, #16
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	aux
	ldr	r3, [fp, #-28]
	cmp	r3, #10
	bne	.L12
	ldr	r3, [fp, #-24]
	cmp	r3, #-2147483648
	bne	.L12
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #56
	strb	r2, [r3]
.L12:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
.L13:
	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	.LC2
	.size	ft_itoa_base, .-ft_itoa_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
