	.file	"333666.c"
	.intel_syntax noprefix
	.text
	.globl	ft_strncat
	.type	ft_strncat, @function
ft_strncat:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ft_strlen
	mov	DWORD PTR -8[rbp], eax
	jmp	.L2
.L4:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ft_strncat, .-ft_strncat
	.globl	ft_strlen
	.type	ft_strlen, @function
ft_strlen:
.LFB1:
	.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
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	add	DWORD PTR -4[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ft_strlen, .-ft_strlen
	.section	.rodata
.LC0:
	.string	"\nTest %d: Error!\n"
.LC1:
	.string	"s1: %s\ns2: %s\n"
.LC2:
	.string	"Expected: "
.LC3:
	.string	"\nObtained: "
.LC4:
	.string	"\n"
.LC5:
	.string	"Test %d: OK!\n"
	.text
	.globl	test
	.type	test, @function
test:
.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, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	DWORD PTR -152[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 1599231059
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	edx, DWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -160[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	edx, DWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -160[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ft_strncat
	mov	QWORD PTR -120[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -160[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -136[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L12:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -136[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L14:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L18
.L11:
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test, .-test
	.section	.rodata
.LC6:
	.string	"hola"
.LC7:
	.string	"hol"
	.string	""
.LC8:
	.string	"ho"
	.string	"a"
.LC9:
	.string	""
	.string	"ola"
.LC10:
	.string	"ho\tla!"
.LC11:
	.string	"hol"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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], 1
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 0
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 1
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 2
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 3
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 5
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 6
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 4
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 4
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 4
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 4
	lea	rsi, .LC10[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, 76
	lea	rsi, .LC11[rip]
	mov	edi, eax
	call	test
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, -76
	lea	rsi, .LC11[rip]
	mov	edi, eax
	call	test
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"333666.c"
	.text
	.align	2
	.global	ft_strncat
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_strncat, %function
ft_strncat:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	ft_strlen
	str	r0, [fp, #-12]
	b	.L2
.L4:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	mov	r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L4
.L3:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ft_strncat, .-ft_strncat
	.align	2
	.global	ft_strlen
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_strlen, %function
ft_strlen:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ft_strlen, .-ft_strlen
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Test %d: Error!\012\000"
	.align	2
.LC2:
	.ascii	"s1: %s\012s2: %s\012\000"
	.align	2
.LC3:
	.ascii	"Expected: \000"
	.align	2
.LC4:
	.ascii	"\012Obtained: \000"
	.align	2
.LC5:
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"Test %d: OK!\012\000"
	.align	2
.LC0:
	.ascii	"STR_\000"
	.space	95
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L19+4
	sub	r3, fp, #108
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	sub	r3, fp, #103
	mov	r2, #95
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #108
	ldr	r2, [fp, #-136]
	ldr	r1, [fp, #-132]
	mov	r0, r3
	bl	strncat
	str	r0, [fp, #-116]
	sub	r3, fp, #108
	ldr	r2, [fp, #-136]
	ldr	r1, [fp, #-132]
	mov	r0, r3
	bl	ft_strncat
	str	r0, [fp, #-112]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-116]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-128]
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #108
	ldr	r2, [fp, #-132]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	ldr	r0, .L19+16
	bl	printf
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-120]
	b	.L12
.L13:
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L12:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L19+20
	bl	printf
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-120]
	b	.L14
.L15:
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L14:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L19+24
	bl	puts
	b	.L18
.L11:
	ldr	r1, [fp, #-128]
	ldr	r0, .L19+28
	bl	printf
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	test, .-test
	.section	.rodata
	.align	2
.LC8:
	.ascii	"hola\000"
	.align	2
.LC9:
	.ascii	"hol\000\000"
	.align	2
.LC10:
	.ascii	"ho\000a\000"
	.align	2
.LC11:
	.ascii	"\000ola\000"
	.align	2
.LC12:
	.ascii	"ho\011la!\000"
	.align	2
.LC13:
	.ascii	"hol\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #1
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #2
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #3
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #5
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #6
	ldr	r1, .L23
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L23+4
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L23+8
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L23+12
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L23+16
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #76
	ldr	r1, .L23+20
	mov	r0, r3
	bl	test
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mvn	r2, #75
	ldr	r1, .L23+20
	mov	r0, r3
	bl	test
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
