	.file	"extr_compat_getopt.c_shuffle_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shuffle_block, @function
shuffle_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	esi, 8
	sub	rbx, rdi
	sar	rbx, 3
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, ebx
	lea	r12d, 0[0+rbx*8]
	call	calloc@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	retro_assert@PLT
	movsx	rax, ebx
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	memcpy@PLT
	mov	rdx, r13
	mov	rsi, r15
	mov	rdi, r14
	sub	rdx, r15
	call	memmove@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	edx, r12d
	mov	rsi, rbp
	lea	r15, 0[0+rax*8]
	sub	rdi, r15
	call	memcpy@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.cfi_endproc
.LFE0:
	.size	shuffle_block, .-shuffle_block
	.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_compat_getopt.c_shuffle_block.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shuffle_block, %function
shuffle_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	r8, r1, r0
	mov	r6, r0
	mov	r5, r1
	asr	r0, r8, #2
	mov	r1, #4
	mov	r7, r2
	bl	calloc
	mov	r4, r0
	bl	retro_assert
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	bl	memcpy
	mov	r1, r5
	sub	r2, r7, r5
	mov	r0, r6
	bl	memmove
	mov	r2, r8
	mov	r1, r4
	sub	r0, r7, r8
	bl	memcpy
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	free
	.size	shuffle_block, .-shuffle_block
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
