	.file	"154830054.c"
	.intel_syntax noprefix
	.text
	.globl	ft_validate_base_system
	.type	ft_validate_base_system, @function
ft_validate_base_system:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	mov	WORD PTR -6[rbp], -1
	jmp	.L5
.L12:
	mov	WORD PTR -2[rbp], 0
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 31
	jle	.L6
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 127
	jne	.L7
.L6:
	mov	eax, 0
	jmp	.L4
.L7:
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L8
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L9
.L8:
	mov	eax, 0
	jmp	.L4
.L9:
	mov	WORD PTR -4[rbp], -1
	jmp	.L10
.L11:
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movsx	rcx, WORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L10
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 1
	mov	WORD PTR -2[rbp], ax
.L10:
	movzx	eax, WORD PTR -4[rbp]
	add	eax, 1
	mov	WORD PTR -4[rbp], ax
	movsx	rdx, WORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	cmp	WORD PTR -2[rbp], 1
	jle	.L5
	mov	eax, 0
	jmp	.L4
.L5:
	movzx	eax, WORD PTR -6[rbp]
	add	eax, 1
	mov	WORD PTR -6[rbp], ax
	movsx	rdx, WORD PTR -6[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	eax, 1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ft_validate_base_system, .-ft_validate_base_system
	.globl	ft_putnbr_base_util
	.type	ft_putnbr_base_util, @function
ft_putnbr_base_util:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ft_validate_base_system
	test	eax, eax
	je	.L24
	mov	WORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L16
.L17:
	add	QWORD PTR -8[rbp], 1
.L16:
	movzx	eax, WORD PTR -16[rbp]
	mov	edx, eax
	add	edx, 1
	mov	WORD PTR -16[rbp], dx
	movsx	rdx, ax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR -14[rbp], ax
	cmp	QWORD PTR -24[rbp], 0
	jns	.L18
	mov	edi, 45
	call	ft_putchar@PLT
.L18:
	cmp	QWORD PTR -24[rbp], 0
	jns	.L20
	neg	QWORD PTR -24[rbp]
	jmp	.L20
.L21:
	movsx	rax, WORD PTR -14[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
.L20:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jle	.L21
	jmp	.L22
.L23:
	movsx	rcx, WORD PTR -14[rbp]
	mov	rax, QWORD PTR -8[rbp]
	cqo
	idiv	rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	QWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	ft_putchar@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -24[rbp], rax
.L22:
	cmp	QWORD PTR -8[rbp], 1
	jg	.L23
	jmp	.L13
.L24:
	nop
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ft_putnbr_base_util, .-ft_putnbr_base_util
	.globl	ft_putnbr_base
	.type	ft_putnbr_base, @function
ft_putnbr_base:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ft_putnbr_base_util
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	ft_putnbr_base, .-ft_putnbr_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	"154830054.c"
	.text
	.align	2
	.global	ft_validate_base_system
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_validate_base_system, %function
ft_validate_base_system:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	mvn	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	b	.L5
.L12:
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L6
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bls	.L7
.L6:
	mov	r3, #0
	b	.L4
.L7:
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L8
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L9
.L8:
	mov	r3, #0
	b	.L4
.L9:
	mvn	r3, #0
	strh	r3, [fp, #-8]	@ movhi
	b	.L10
.L11:
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrsh	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L10
	ldrsh	r3, [fp, #-6]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L10:
	ldrh	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldrsh	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldrsh	r3, [fp, #-6]
	cmp	r3, #1
	ble	.L5
	mov	r3, #0
	b	.L4
.L5:
	ldrh	r3, [fp, #-10]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldrsh	r3, [fp, #-10]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mov	r3, #1
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ft_validate_base_system, .-ft_validate_base_system
	.global	__aeabi_idiv
	.align	2
	.global	ft_putnbr_base_util
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_putnbr_base_util, %function
ft_putnbr_base_util:
	@ 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	r0, [fp, #-28]
	bl	ft_validate_base_system
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L16
.L17:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldrsh	r3, [fp, #-16]
	lsl	r2, r3, #16
	lsr	r2, r2, #16
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [fp, #-16]	@ movhi
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-12]
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L18
	mov	r0, #45
	bl	ft_putchar
.L18:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
	b	.L20
.L21:
	ldrsh	r2, [fp, #-14]
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
.L20:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L21
	b	.L22
.L23:
	ldrsh	r3, [fp, #-14]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	ft_putchar
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bgt	.L23
	b	.L13
.L24:
	nop
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_putnbr_base_util, .-ft_putnbr_base_util
	.align	2
	.global	ft_putnbr_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_putnbr_base, %function
ft_putnbr_base:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	ft_putnbr_base_util
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_putnbr_base, .-ft_putnbr_base
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
