	.file	"879799.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rrextract"
	.align 8
.LC1:
	.string	"../versisec/bind/progs1/bindCA-1999-14rrextract-nxt_simp_ok.c"
	.align 8
.LC2:
	.string	"dlen - n <= sizeof data - (strlen((char *)data) + 1)"
	.text
	.type	rrextract, @function
rrextract:
.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, 368
	mov	QWORD PTR -344[rbp], rdi
	mov	DWORD PTR -348[rbp], esi
	mov	QWORD PTR -360[rbp], rdx
	mov	QWORD PTR -368[rbp], rcx
	mov	DWORD PTR -352[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -280[rbp], 5
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -280[rbp]
	add	rax, rdx
	mov	QWORD PTR -272[rbp], rax
	mov	rax, QWORD PTR -272[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -360[rbp]
	mov	QWORD PTR -264[rbp], rax
	mov	eax, DWORD PTR -348[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -344[rbp]
	add	rax, rdx
	mov	QWORD PTR -256[rbp], rax
.L2:
	mov	eax, 0
	call	__VERIFIER_nondet_short@PLT
	mov	DWORD PTR -324[rbp], eax
	add	QWORD PTR -264[rbp], 2
	nop
.L3:
.L4:
	mov	rax, QWORD PTR -256[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	eax, DWORD PTR -324[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -264[rbp]
	add	rax, rdx
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	cmp	rax, QWORD PTR -248[rbp]
	jbe	.L15
	mov	eax, -1
	jmp	.L13
.L15:
	nop
.L7:
	mov	rax, QWORD PTR -344[rbp]
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	QWORD PTR -184[rbp], rax
	mov	DWORD PTR -320[rbp], 6
	mov	edi, DWORD PTR -320[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -208[rbp]
	mov	rsi, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	dn_expand@PLT
	mov	DWORD PTR -316[rbp], eax
	cmp	DWORD PTR -316[rbp], 0
	jns	.L8
	mov	eax, -1
	jmp	.L13
.L8:
	mov	eax, DWORD PTR -316[rbp]
	cmp	eax, DWORD PTR -324[rbp]
	jl	.L9
	mov	eax, -1
	jmp	.L13
.L9:
	mov	eax, 0
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -312[rbp], eax
	cmp	DWORD PTR -312[rbp], 0
	je	.L10
	mov	eax, -1
	jmp	.L13
.L10:
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	add	QWORD PTR -264[rbp], rax
	mov	QWORD PTR -176[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -308[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	add	eax, 1
	mov	DWORD PTR -304[rbp], eax
	mov	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR -300[rbp], eax
	mov	QWORD PTR -144[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	eax, DWORD PTR -300[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -324[rbp]
	sub	eax, DWORD PTR -316[rbp]
	mov	DWORD PTR -296[rbp], eax
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	mov	QWORD PTR -112[rbp], rax
	mov	eax, 6
	sub	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jbe	.L11
	mov	eax, -1
	jmp	.L13
.L11:
	mov	QWORD PTR -88[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	add	eax, 1
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -288[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, 6
	sub	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -324[rbp]
	sub	eax, DWORD PTR -316[rbp]
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jbe	.L12
	lea	rcx, .LC0[rip]
	mov	edx, 44
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L12:
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -296[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	r_memcpy@PLT
	mov	eax, 0
.L13:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rrextract, .-rrextract
	.globl	main
	.type	main, @function
main:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 2
	lea	rdx, -17[rbp]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR [rax], 0
	mov	QWORD PTR -112[rbp], 5
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -136[rbp], 4
	mov	QWORD PTR -96[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], 0
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	lea	rdx, -17[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 3
	mov	rdi, rax
	call	rrextract
	mov	DWORD PTR -132[rbp], eax
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"879799.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rrextract\000"
	.align	2
.LC1:
	.ascii	"../versisec/bind/progs1/bindCA-1999-14rrextract-nxt"
	.ascii	"_simp_ok.c\000"
	.align	2
.LC2:
	.ascii	"dlen - n <= sizeof data - (strlen((char *)data) + 1"
	.ascii	")\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rrextract, %function
rrextract:
	@ args = 4, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	str	r2, [fp, #-208]
	str	r3, [fp, #-212]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-192]
	sub	r3, fp, #16
	ldr	r2, [fp, #-192]
	add	r3, r2, r3
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-188]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-204]
	ldr	r2, [fp, #-200]
	add	r3, r2, r3
	str	r3, [fp, #-180]
.L2:
	bl	__VERIFIER_nondet_short
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-184]
	add	r3, r3, #2
	str	r3, [fp, #-184]
	nop
.L3:
.L4:
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-164]
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	bls	.L15
	mvn	r3, #0
	b	.L13
.L15:
	nop
.L7:
	ldr	r3, [fp, #-200]
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-184]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	sub	r3, fp, #16
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-140]
	mov	r3, #6
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	str	r3, [sp]
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-152]
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-160]
	bl	dn_expand
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L8
	mvn	r3, #0
	b	.L13
.L8:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-176]
	cmp	r2, r3
	blt	.L9
	mvn	r3, #0
	b	.L13
.L9:
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	beq	.L10
	mvn	r3, #0
	b	.L13
.L10:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	str	r3, [fp, #-184]
	mov	r3, #0
	str	r3, [fp, #-124]
	sub	r3, fp, #16
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r0, [fp, #-112]
	bl	strlen
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-96]
	sub	r3, fp, #16
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	rsb	r3, r3, #6
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bls	.L11
	mvn	r3, #0
	b	.L13
.L11:
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #16
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-52]
	bl	strlen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #6
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bls	.L12
	ldr	r3, .L16+4
	mov	r2, #44
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-184]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-80]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	r_memcpy
	mov	r3, #0
.L13:
	ldr	r2, .L16
	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}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	rrextract, .-rrextract
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-80]
	sub	r3, fp, #20
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #5
	str	r3, [fp, #-72]
	sub	r3, fp, #16
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #4
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #16
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	sub	r3, fp, #16
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #20
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	mov	r3, #3
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-40]
	bl	rrextract
	str	r0, [fp, #-24]
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
