	.file	"extr_copyexec-results-data.c_get_volumes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"%llu"
	.text
	.p2align 4
	.globl	get_volumes
	.type	get_volumes, @function
get_volumes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	edi, DWORD PTR hosts[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	edi, edi
	jle	.L21
	mov	esi, 8
	call	calloc@PLT
	mov	r8d, DWORD PTR hosts[rip]
	mov	rbp, rax
	test	r8d, r8d
	jle	.L8
	lea	ecx, -1[r8]
	mov	rsi, QWORD PTR HOSTS[rip]
	mov	eax, 1
	add	rcx, 2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, QWORD PTR [rsi+rax*8]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR -8[rbp+rax*8], rdx
	add	rax, 1
	cmp	rcx, rax
	jne	.L7
.L8:
	mov	ecx, DWORD PTR cmp_unsigned_long_long[rip]
	mov	esi, r8d
	mov	rdi, rbp
	lea	r13, 8[rbp]
	mov	edx, 8
	call	qsort@PLT
	mov	edx, DWORD PTR hosts[rip]
	cmp	edx, 1
	jle	.L22
	sub	edx, 2
	mov	rax, r13
	xor	esi, esi
	lea	r8, 16[rbp+rdx*8]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, QWORD PTR [rax]
	lea	rdi, 0[0+rdx*8]
	cmp	rcx, QWORD PTR 0[rbp+rdx*8]
	je	.L9
	mov	QWORD PTR 8[rbp+rdi], rcx
	add	esi, 1
	movsx	rdx, esi
.L9:
	add	rax, 8
	cmp	r8, rax
	jne	.L10
.L6:
	lea	rax, 0[0+rdx*8]
	mov	rbx, rbp
	lea	r15, 16[rsp]
	xor	r12d, r12d
	mov	QWORD PTR 8[rsp], rax
	add	r13, rax
	mov	QWORD PTR [rsp], r13
	mov	r13, rbp
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rcx, QWORD PTR 0[r13]
	lea	rdx, .LC1[rip]
	mov	esi, 32
	mov	rdi, r15
	call	snprintf@PLT
	xor	edi, edi
	cmp	eax, 31
	mov	r14d, eax
	setbe	dil
	lea	r12d, 1[r14+r12]
	add	r13, 8
	call	assert@PLT
	cmp	QWORD PTR [rsp], r13
	jne	.L11
	mov	edi, r12d
	lea	r13, .LC1[rip]
	call	malloc@PLT
	mov	r15, QWORD PTR 8[rsp]
	mov	QWORD PTR [rsp], rax
	mov	r14, rax
	add	r15, rbp
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	mov	BYTE PTR [rdx], 44
	lea	r14, 1[rdx]
	add	rbx, 8
.L12:
	mov	rdx, QWORD PTR [rbx]
	mov	rsi, r13
	mov	rdi, r14
	call	sprintf@PLT
	movsx	rdx, eax
	add	rdx, r14
	cmp	r15, rbx
	jne	.L13
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rdx
	movsx	r12, r12d
	call	free@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR 8[rsp]
	xor	edi, edi
	lea	rax, -1[rax+r12]
	cmp	rdx, rax
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	mov	rax, QWORD PTR [rsp]
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, .LC0[rip]
	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	strdup@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	xor	edx, edx
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_volumes, .-get_volumes
	.comm	hosts,4,4
	.comm	cmp_unsigned_long_long,4,4
	.comm	HOSTS,8,8
	.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_copyexec-results-data.c_get_volumes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%llu\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_volumes
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_volumes, %function
get_volumes:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, .L20
	ldr	r3, .L20+4
	ldr	r5, [r4]
	sub	sp, sp, #52
	cmp	r5, #0
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ble	.L19
	mov	r1, #8
	mov	r0, r5
	bl	calloc
	mov	r8, r0
	mov	r6, r0
	mov	r2, r0
	ldr	r3, .L20+8
	ldr	r3, [r3]
	add	ip, r3, r5, lsl #2
.L4:
	ldr	r1, [r3, #4]!
	cmp	ip, r3
	ldmia	r1, {r0-r1}
	stm	r2!, {r0-r1}
	bne	.L4
	ldr	r3, .L20+12
	mov	r1, r5
	mov	r2, #8
	mov	r0, r8
	ldr	r3, [r3]
	bl	qsort
	ldr	r7, [r4]
	cmp	r7, #1
	ble	.L12
	mov	ip, #0
	add	fp, r8, #8
	mov	lr, ip
	mov	r1, fp
	add	r7, r8, r7, lsl #3
.L7:
	add	r0, r8, lr
	ldmia	r0, {r2-r3}
	ldmia	r1!, {r4-r5}
	cmp	r5, r3
	cmpeq	r4, r2
	strne	r4, [r0, #8]
	strne	r5, [r0, #12]
	addne	ip, ip, #1
	lslne	lr, ip, #3
.L6:
	cmp	r7, r1
	bne	.L7
.L5:
	mov	r9, r8
	mov	r7, #0
	ldr	r10, .L20+16
	add	r5, lr, fp
.L8:
	ldmia	r9!, {r0-r1}
	mov	r2, r10
	stm	sp, {r0-r1}
	mov	r1, #32
	add	r0, sp, #12
	bl	snprintf
	mov	r4, r0
	cmp	r0, #31
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	add	r4, r4, #1
	cmp	r5, r9
	add	r7, r7, r4
	bne	.L8
	mov	r0, r7
	bl	malloc
	mov	r10, #44
	mov	r9, r0
	mov	r4, r0
	ldr	fp, .L20+16
	b	.L9
.L10:
	strb	r10, [r4], #1
.L9:
	mov	r0, r4
	ldmia	r6!, {r2-r3}
	mov	r1, fp
	bl	sprintf
	cmp	r5, r6
	add	r4, r4, r0
	bne	.L10
	sub	r7, r7, #1
	mov	r0, r8
	add	r7, r9, r7
	bl	free
	sub	r0, r4, r7
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r9
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	ldr	r0, .L20+20
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	strdup
.L12:
	mov	lr, #0
	add	fp, r8, #8
	b	.L5
.L17:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	hosts
	.word	.LC2
	.word	HOSTS
	.word	cmp_unsigned_long_long
	.word	.LC1
	.word	.LC0
	.size	get_volumes, .-get_volumes
	.comm	hosts,4,4
	.comm	cmp_unsigned_long_long,4,4
	.comm	HOSTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
