	.file	"extr_randomize_layout_plugin.c_performance_shuffle.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	performance_shuffle, @function
performance_shuffle:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	push	r12
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rax, 15[0+rsi*8]
	mov	rcx, rsp
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	r13, rsp
	lea	rcx, -64[rbp]
	mov	rdi, r12
	mov	QWORD PTR -64[rbp], 0
	mov	rdx, r13
	call	partition_struct@PLT
	mov	rbx, QWORD PTR -64[rbp]
	cmp	rbx, 1
	je	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r14
	call	ranval@PLT
	xor	edx, edx
	mov	esi, DWORD PTR -8[r13+rbx*8]
	mov	ecx, DWORD PTR -4[r13+rbx*8]
	div	rbx
	mov	rax, QWORD PTR 0[r13+rdx*8]
	mov	QWORD PTR -8[r13+rbx*8], rax
	lea	rax, 0[r13+rdx*8]
	sub	rbx, 1
	mov	DWORD PTR [rax], esi
	mov	DWORD PTR 4[rax], ecx
	cmp	rbx, 1
	jne	.L5
	cmp	QWORD PTR -64[rbp], 0
	je	.L1
.L7:
	mov	QWORD PTR -72[rbp], 0
	.p2align 4,,10
	.p2align 3
.L6:
	movsx	rax, DWORD PTR 0[r13]
	mov	ebx, DWORD PTR 4[r13]
	add	ebx, eax
	sub	ebx, 1
	movsx	rbx, ebx
	cmp	rbx, rax
	jbe	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR [r12+rbx*4]
	call	DECL_BIT_FIELD_TYPE@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, r14
	call	ranval@PLT
	xor	edx, edx
	lea	rcx, 1[rbx]
	div	rcx
	lea	r15, [r12+rdx*4]
	mov	edi, DWORD PTR [r15]
	call	DECL_BIT_FIELD_TYPE@PLT
	test	rax, rax
	jne	.L11
	mov	eax, DWORD PTR [r12+rbx*4]
	mov	ecx, DWORD PTR [r15]
	mov	DWORD PTR [r12+rbx*4], ecx
	mov	DWORD PTR [r15], eax
.L11:
	movsx	rax, DWORD PTR 0[r13]
	sub	rbx, 1
	cmp	rax, rbx
	jb	.L13
.L9:
	add	QWORD PTR -72[rbp], 1
	add	r13, 8
	mov	rax, QWORD PTR -72[rbp]
	cmp	QWORD PTR -64[rbp], rax
	ja	.L6
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L25:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	performance_shuffle, .-performance_shuffle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_randomize_layout_plugin.c_performance_shuffle.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	performance_shuffle, %function
performance_shuffle:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	mov	r3, sp
	sub	r3, r3, r1, lsl #3
	mov	sp, r3
	mov	r7, sp
	mov	ip, #0
	ldr	lr, .L20
	mov	r8, r2
	sub	r3, fp, #36
	mov	r2, r7
	ldr	lr, [lr]
	str	lr, [fp, #-32]
	mov	lr,#0
	mov	r5, r0
	str	ip, [fp, #-36]
	bl	partition_struct
	ldr	r4, [fp, #-36]
	cmp	r4, #1
	addne	r6, r7, r4, lsl #3
	beq	.L18
.L4:
	mov	r0, r8
	bl	ranval
	mov	r1, r4
	bl	__aeabi_uidivmod
	ldmdb	r6, {r9, lr}
	mov	r3, r1
	sub	r4, r4, #1
	add	r2, r7, r1, lsl #3
	sub	ip, r6, #8
	cmp	r4, #1
	ldm	r2, {r0, r1}
	mov	r6, ip
	stm	ip, {r0, r1}
	str	r9, [r7, r3, lsl #3]
	str	lr, [r2, #4]
	bne	.L4
	ldr	r2, [fp, #-36]
	cmp	r2, #0
	beq	.L1
.L5:
	mov	r9, #0
	add	r7, r7, #4
.L3:
	ldmda	r7, {r3, r4}
	add	r4, r3, r4
	sub	r4, r4, #1
	cmp	r4, r3
	bls	.L7
.L11:
	ldr	r0, [r5, r4, lsl #2]
	bl	DECL_BIT_FIELD_TYPE
	cmp	r0, #0
	bne	.L9
	mov	r0, r8
	bl	ranval
	add	r1, r4, #1
	bl	__aeabi_uidivmod
	ldr	r0, [r5, r1, lsl #2]
	mov	r6, r1
	bl	DECL_BIT_FIELD_TYPE
	cmp	r0, #0
	ldreq	r3, [r5, r4, lsl #2]
	ldreq	r2, [r5, r6, lsl #2]
	streq	r2, [r5, r4, lsl #2]
	streq	r3, [r5, r6, lsl #2]
.L9:
	ldr	r3, [r7, #-4]
	sub	r4, r4, #1
	cmp	r3, r4
	bcc	.L11
	ldr	r2, [fp, #-36]
.L7:
	add	r9, r9, #1
	cmp	r2, r9
	add	r7, r7, #8
	bhi	.L3
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L18:
	mov	r2, r4
	b	.L5
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.size	performance_shuffle, .-performance_shuffle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
