	.file	"extr_copyexec-results-data.c_get_hosts_list.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"p = %p, z + l = %p\n"
	.text
	.p2align 4
	.globl	get_hosts_list
	.type	get_hosts_list, @function
get_hosts_list:
.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
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_transaction_f@PLT
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR [rax]
	lea	r15, 4[rsp]
	mov	rsi, rbp
	mov	rdi, r15
	call	get_pairs_hostid_result@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	ecx, r14d
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, rax
	call	filter_pairs_hostid_result@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L5
	jle	.L23
	sub	eax, 1
	mov	r14, QWORD PTR HOSTS[rip]
	mov	rbx, r13
	xor	r12d, r12d
	lea	rbp, 8[r13+rax*8]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR [rbx]
	add	rbx, 8
	mov	rax, QWORD PTR [r14+rax*8]
	mov	rdi, QWORD PTR [rax]
	call	strlen@PLT
	lea	r12d, 1[r12+rax]
	cmp	rbp, rbx
	jne	.L8
.L7:
	mov	edi, r12d
	call	malloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L21
	mov	r15, rax
	mov	eax, DWORD PTR 4[rsp]
	xor	ebp, ebp
	mov	rbx, r14
	test	eax, eax
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movsx	r12, r12d
	mov	edi, 4
	mov	rdx, rbx
	lea	rcx, [r14+r12]
	lea	rsi, .LC1[rip]
	call	vkprintf@PLT
	lea	rax, -1[r14+r12]
	xor	edi, edi
	cmp	rbx, rax
	sete	dil
	call	assert@PLT
.L21:
	mov	rdi, r13
	call	free@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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
.L12:
	.cfi_restore_state
	mov	BYTE PTR [rbx], 44
	lea	r15, 1[rbx]
.L10:
	mov	rdx, QWORD PTR 0[r13+rbp*8]
	mov	rax, QWORD PTR HOSTS[rip]
	mov	rdi, r15
	add	rbp, 1
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rsi, QWORD PTR [rax]
	call	strcpy@PLT
	mov	rdi, r15
	call	strlen@PLT
	lea	rbx, [r15+rax]
	cmp	DWORD PTR 4[rsp], ebp
	jg	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r14d, r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r13
	call	free@PLT
	lea	rdi, .LC0[rip]
	call	strdup@PLT
	mov	r14, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	xor	r12d, r12d
	jmp	.L7
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_hosts_list, .-get_hosts_list
	.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_hosts_list.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"p = %p, z + l = %p\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_hosts_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_hosts_list, %function
get_hosts_list:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, .L23
	sub	sp, sp, #20
	mov	r6, r3
	mov	r3, #0
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r5, r0
	mov	r4, r1
	bl	get_transaction_f
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r0]
	mov	r2, r5
	str	r3, [sp]
	add	r0, sp, #8
	mov	r3, r4
	bl	get_pairs_hostid_result
	subs	r7, r0, #0
	beq	.L4
	mov	r2, r6
	ldr	r3, [sp, #56]
	add	r1, sp, #8
	bl	filter_pairs_hostid_result
	ldr	r6, [sp, #8]
	cmp	r6, #0
	beq	.L5
	mov	r5, #0
	ble	.L7
	ldr	r3, .L23+4
	add	r6, r7, r6, lsl #2
	ldr	r8, [r3]
	sub	r6, r6, #4
	sub	r4, r7, #4
.L8:
	ldr	r3, [r4, #4]!
	ldr	r3, [r8, r3, lsl #2]
	ldr	r0, [r3]
	bl	strlen
	cmp	r6, r4
	add	r0, r0, #1
	add	r5, r5, r0
	bne	.L8
.L7:
	mov	r0, r5
	bl	malloc
	subs	r8, r0, #0
	beq	.L20
	ldr	r6, [sp, #8]
	cmp	r6, #0
	ble	.L14
	ldr	r3, .L23+4
	add	r6, r7, r6, lsl #2
	mov	r4, r8
	mov	r10, #44
	ldr	r9, [r3]
	sub	r6, r6, #4
	sub	fp, r7, #4
	b	.L11
.L12:
	strb	r10, [r4], #1
.L11:
	ldr	r3, [fp, #4]!
	mov	r0, r4
	ldr	r3, [r9, r3, lsl #2]
	ldr	r1, [r3]
	bl	strcpy
	mov	r0, r4
	bl	strlen
	cmp	r6, fp
	add	r4, r4, r0
	bne	.L12
.L10:
	mov	r2, r4
	mov	r0, #4
	ldr	r1, .L23+8
	add	r3, r8, r5
	bl	vkprintf
	sub	r0, r5, #1
	add	r0, r8, r0
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
.L20:
	mov	r0, r7
	bl	free
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r8, #0
	b	.L1
.L5:
	mov	r0, r7
	bl	free
	ldr	r0, .L23+12
	bl	strdup
	mov	r8, r0
	b	.L1
.L14:
	mov	r4, r8
	b	.L10
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC2
	.word	HOSTS
	.word	.LC1
	.word	.LC0
	.size	get_hosts_list, .-get_hosts_list
	.comm	HOSTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
