	.file	"12638823.c"
	.intel_syntax noprefix
	.text
	.globl	__wcsncat_chk
	.type	__wcsncat_chk, @function
__wcsncat_chk:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
.L3:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L2
	mov	eax, 0
	call	__chk_fail@PLT
.L2:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L3
	add	QWORD PTR -64[rbp], 1
	sub	QWORD PTR -40[rbp], 8
	cmp	QWORD PTR -56[rbp], 3
	jbe	.L15
	mov	rax, QWORD PTR -56[rbp]
	shr	rax, 2
	mov	QWORD PTR -16[rbp], rax
.L14:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L5
	mov	eax, 0
	call	__chk_fail@PLT
.L5:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L8
	mov	eax, 0
	call	__chk_fail@PLT
.L8:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L10
	mov	eax, 0
	call	__chk_fail@PLT
.L10:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L11:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L12
	mov	eax, 0
	call	__chk_fail@PLT
.L12:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L13:
	sub	QWORD PTR -16[rbp], 1
	cmp	QWORD PTR -16[rbp], 0
	jne	.L14
	and	QWORD PTR -56[rbp], 3
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L16
	mov	eax, 0
	call	__chk_fail@PLT
.L16:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -20[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L7
.L17:
	sub	QWORD PTR -56[rbp], 1
.L15:
	cmp	QWORD PTR -56[rbp], 0
	jne	.L18
	cmp	DWORD PTR -20[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	test	rax, rax
	sete	al
	movzx	eax, al
	test	rax, rax
	je	.L20
	mov	eax, 0
	call	__chk_fail@PLT
.L20:
	add	QWORD PTR -40[rbp], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
.L19:
	mov	rax, QWORD PTR -8[rbp]
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__wcsncat_chk, .-__wcsncat_chk
	.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	"12638823.c"
	.text
	.align	2
	.global	__wcsncat_chk
	.syntax unified
	.arm
	.fpu softvfp
	.type	__wcsncat_chk, %function
__wcsncat_chk:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L2
	bl	__chk_fail
.L2:
	ldr	r3, [fp, #-24]
	add	r2, r3, #4
	str	r2, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #8
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	bls	.L15
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #2
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L5
	bl	__chk_fail
.L5:
	ldr	r3, [fp, #-28]
	add	r2, r3, #4
	str	r2, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-8]
	b	.L7
.L6:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	bl	__chk_fail
.L8:
	ldr	r3, [fp, #-28]
	add	r2, r3, #4
	str	r2, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-8]
	b	.L7
.L9:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	bl	__chk_fail
.L10:
	ldr	r3, [fp, #-28]
	add	r2, r3, #4
	str	r2, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-8]
	b	.L7
.L11:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	bl	__chk_fail
.L12:
	ldr	r3, [fp, #-28]
	add	r2, r3, #4
	str	r2, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-8]
	b	.L7
.L13:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-32]
	and	r3, r3, #3
	str	r3, [fp, #-32]
	b	.L15
.L18:
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L16
	bl	__chk_fail
.L16:
	ldr	r3, [fp, #-28]
	add	r2, r3, #4
	str	r2, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-8]
	b	.L7
.L17:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L15:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-36]
	sub	r2, r3, #1
	str	r2, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L20
	bl	__chk_fail
.L20:
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
.L19:
	ldr	r3, [fp, #-8]
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__wcsncat_chk, .-__wcsncat_chk
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
