	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hosts_list                 ## -- Begin function get_hosts_list
	.p2align	4, 0x90
_get_hosts_list:                        ## @get_hosts_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_get_transaction_f
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_get_pairs_hostid_result
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_filter_pairs_hostid_result
	movl	-44(%rbp), %r14d
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.7:
	movq	_HOSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	(%r12,%rax,8), %rax
	movq	(%rax), %rdi
	callq	_strlen
	addl	%eax, %r15d
	incl	%r15d
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str(%rip), %rdi
	callq	_strdup
	movq	%rax, %r14
	jmp	LBB0_17
LBB0_5:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_9:
	movl	%r15d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	cmpl	$0, -44(%rbp)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movq	%r13, %rbx
	jle	LBB0_16
## %bb.11:
	movq	_HOSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r12
	addq	%rbx, %r12
	cmpl	$2, -44(%rbp)
	jl	LBB0_12
## %bb.14:
	movl	$1, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r12), %r13
	movb	$44, (%r12)
	movq	_HOSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%r14,8), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	addq	%rax, %r12
	incq	%r12
	incq	%r14
	movslq	-44(%rbp), %rax
	cmpq	%rax, %r14
	jl	LBB0_15
	jmp	LBB0_16
LBB0_13:
	movq	%r13, %rdi
	callq	_free
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_12:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:
	movslq	%r15d, %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	movq	%r12, %rdx
	callq	_vkprintf
	leaq	(%r15,%r14), %rax
	decq	%rax
	movq	%r15, %r14
	xorl	%edi, %edi
	cmpq	%rax, %r12
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_free
LBB0_17:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_HOSTS,8,3                      ## @HOSTS
L_.str.1:                               ## @.str.1
	.asciz	"p = %p, z + l = %p\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hosts_list                 ; -- Begin function get_hosts_list
	.p2align	2
_get_hosts_list:                        ; @get_hosts_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	mov	w2, #0
	bl	_get_transaction_f
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w2, [x0]
	add	x0, sp, #12
	mov	x1, x19
	bl	_get_pairs_hostid_result
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
	add	x1, sp, #12
	mov	x2, x21
	mov	x3, x20
	bl	_filter_pairs_hostid_result
	ldr	w21, [sp, #12]
	cbz	w21, LBB0_7
; %bb.3:
Lloh0:
	adrp	x23, _HOSTS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HOSTS@GOTPAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w20, #0
	ldr	x22, [x23]
	mov	x24, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24], #8
	ldr	x8, [x22, x8, lsl #3]
	ldr	x0, [x8]
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
	subs	x21, x21, #1
	b.ne	LBB0_5
	b	LBB0_9
LBB0_6:
	mov	x21, #0
	b	LBB0_16
LBB0_7:
	mov	x0, x19
	bl	_free
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strdup
	mov	x21, x0
	b	LBB0_16
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_15
; %bb.10:
	ldr	w8, [sp, #12]
	mov	x22, x21
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.11:
	ldr	x8, [x23]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_strcpy
	mov	x0, x21
	bl	_strlen
	add	x22, x21, x0
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.12:
	mov	w24, #1
	mov	w25, #44
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	strb	w25, [x22], #1
	ldr	x8, [x23]
	ldr	x9, [x19, x24, lsl #3]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x1, [x8]
	mov	x0, x22
	bl	_strcpy
	mov	x0, x22
	bl	_strlen
	add	x22, x22, x0
	add	x24, x24, #1
	ldrsw	x8, [sp, #12]
	cmp	x24, x8
	b.lt	LBB0_13
LBB0_14:
	add	x20, x21, w20, sxtw
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	mov	x2, x22
	mov	x3, x20
	bl	_vkprintf
	sub	x8, x20, #1
	cmp	x22, x8
	cset	w0, eq
	bl	_assert
LBB0_15:
	mov	x0, x19
	bl	_free
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_HOSTS,8,3                      ; @HOSTS
l_.str.1:                               ; @.str.1
	.asciz	"p = %p, z + l = %p\n"

.subsections_via_symbols
