	.file	"165764965.c"
	.intel_syntax noprefix
	.text
	.globl	ft_putchar
	.type	ft_putchar, @function
ft_putchar:
.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, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	lea	rax, -4[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ft_putchar, .-ft_putchar
	.globl	ft_putstr
	.type	ft_putstr, @function
ft_putstr:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ft_putstr, .-ft_putstr
	.globl	ft_putnbr
	.type	ft_putnbr, @function
ft_putnbr:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jns	.L6
	mov	edi, 45
	call	ft_putchar
	neg	DWORD PTR -20[rbp]
.L6:
	cmp	DWORD PTR -20[rbp], -2147483648
	jne	.L7
	mov	edi, 50
	call	ft_putchar
	mov	DWORD PTR -20[rbp], 147483648
.L7:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -4[rbp], eax
.L8:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jg	.L9
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	add	eax, 48
	movsx	eax, al
	mov	edi, eax
	call	ft_putchar
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
.L10:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L11
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	ft_putnbr, .-ft_putnbr
	.globl	ft_is_prime
	.type	ft_is_prime, @function
ft_is_prime:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L16
	mov	eax, 0
	jmp	.L14
.L16:
	add	DWORD PTR -4[rbp], 1
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L17
	mov	eax, 1
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	ft_is_prime, .-ft_is_prime
	.section	.rodata
.LC0:
	.string	"\321\207\320\270\321\201\320\273\320\276 \320\277\321\200\320\276\321\201\321\202\320\276\320\265\n"
	.align 8
.LC1:
	.string	"\321\207\320\270\321\201\320\273\320\276 \321\201\320\276\321\201\321\202\320\260\320\262\320\275\320\276\320\265\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 4
	call	ft_is_prime
	test	eax, eax
	je	.L19
	lea	rdi, .LC0[rip]
	call	ft_putstr
	jmp	.L20
.L19:
	lea	rdi, .LC1[rip]
	call	ft_putstr
.L20:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.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	"165764965.c"
	.text
	.align	2
	.global	ft_putchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_putchar, %function
ft_putchar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	sub	r3, fp, #5
	mov	r2, #1
	mov	r1, r3
	mov	r0, #1
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_putchar, .-ft_putchar
	.align	2
	.global	ft_putstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_putstr, %function
ft_putstr:
	@ 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]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #1
	mov	r1, r3
	mov	r0, #1
	bl	write
.L3:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_putstr, .-ft_putstr
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.global	ft_putnbr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_putnbr, %function
ft_putnbr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L6
	mov	r0, #45
	bl	ft_putchar
	ldr	r3, [fp, #-16]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #-2147483648
	bne	.L7
	mov	r0, #50
	bl	ft_putchar
	ldr	r3, .L12
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L8
.L9:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-12]
	ldr	r2, .L12+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L9
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	mov	r0, r3
	bl	ft_putchar
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, .L12+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	147483648
	.word	1717986919
	.size	ft_putnbr, .-ft_putnbr
	.align	2
	.global	ft_is_prime
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_is_prime, %function
ft_is_prime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L15
	mov	r3, #0
	b	.L16
.L15:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L17
.L19:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	b	.L16
.L18:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	ble	.L19
	mov	r3, #1
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_is_prime, .-ft_is_prime
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\321\207\320\270\321\201\320\273\320\276 \320\277\321"
	.ascii	"\200\320\276\321\201\321\202\320\276\320\265\012\000"
	.align	2
.LC1:
	.ascii	"\321\207\320\270\321\201\320\273\320\276 \321\201\320"
	.ascii	"\276\321\201\321\202\320\260\320\262\320\275\320\276"
	.ascii	"\320\265\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #4
	bl	ft_is_prime
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L24
	bl	ft_putstr
	b	.L22
.L21:
	ldr	r0, .L24+4
	bl	ft_putstr
.L22:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
