	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hosts_list_by_status       ## -- Begin function get_hosts_list_by_status
	.p2align	4, 0x90
_get_hosts_list_by_status:              ## @get_hosts_list_by_status
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, %rdi
	callq	_alpha_to_status
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_get_transaction_f
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movl	(%rax), %edx
	leaq	-116(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_pairs_hostid_result
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	shll	$28, %r15d
	leaq	-116(%rbp), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	movl	$-268435456, %ecx               ## imm = 0xF0000000
	callq	_filter_pairs_hostid_result
	movl	-116(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	jle	LBB0_15
## %bb.5:
	xorl	%eax, %eax
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	andb	$15, 3(%rcx)
	incq	%rax
	movslq	-116(%rbp), %rdx
	addq	$16, %rcx
	cmpq	%rdx, %rax
	jl	LBB0_6
## %bb.7:
	testl	%edx, %edx
	jle	LBB0_15
## %bb.8:
	leaq	8(%rbx), %r14
	xorl	%r15d, %r15d
	movq	_HOSTS@GOTPCREL(%rip), %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-8(%r14), %ecx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_snprintf
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	$64, %eax
	setl	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rdi
	callq	_strlen
	addl	%r13d, %r12d
	addl	%eax, %r12d
	addl	$2, %r12d
	incq	%r15
	movslq	-116(%rbp), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jl	LBB0_9
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$3, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_21
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$3, %edi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_21
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_21
LBB0_15:
	xorl	%r12d, %r12d
LBB0_16:
	movl	%r12d, %edi
	callq	_malloc
	movq	%rax, %r15
	cmpl	$0, -116(%rbp)
	movq	%rax, %rbx
	jle	LBB0_20
## %bb.17:
	movq	_HOSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	8(%r13), %rdx
	movl	(%r13), %ecx
	movq	(%rax,%rdx,8), %rax
	movq	(%rax), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	cmpl	$2, -116(%rbp)
	jl	LBB0_20
## %bb.18:
	addq	$24, %r13
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %rdi
	movb	$44, (%rbx)
	movq	_HOSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rdx
	movl	-8(%r13), %ecx
	leaq	L_.str.5(%rip), %rsi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	incq	%rbx
	incq	%r14
	movslq	-116(%rbp), %rax
	addq	$16, %r13
	cmpq	%rax, %r14
	jl	LBB0_19
LBB0_20:
	movslq	%r12d, %rax
	addq	%r15, %rax
	decq	%rax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_assert
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	jmp	LBB0_21
LBB0_13:
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str.3(%rip), %rdi
	callq	_strdup
	movq	%rax, %r15
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_hosts_list_by_status: unknown status \"%s\"\n"

L_.str.1:                               ## @.str.1
	.asciz	"get_hosts_list_by_status: get_transaction_f (0x%llx, %d) returns NULL.\n"

L_.str.2:                               ## @.str.2
	.asciz	"get_hosts_list_by_status: get_pairs_hostid_result returns NULL.\n"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"0x%04x"

	.comm	_HOSTS,8,3                      ## @HOSTS
L_.str.5:                               ## @.str.5
	.asciz	"%s,0x%04x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hosts_list_by_status       ; -- Begin function get_hosts_list_by_status
	.p2align	2
_get_hosts_list_by_status:              ; @get_hosts_list_by_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	mov	x0, x2
	bl	_alpha_to_status
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_get_transaction_f
	cbz	x0, LBB0_11
; %bb.2:
	ldr	w2, [x0]
	add	x0, sp, #20
	mov	x1, x19
	bl	_get_pairs_hostid_result
	cbz	x0, LBB0_12
; %bb.3:
	mov	x19, x0
	lsl	w2, w20, #28
	add	x1, sp, #20
	mov	w3, #-268435456
	bl	_filter_pairs_hostid_result
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_22
; %bb.4:
Lloh3:
	adrp	x24, _HOSTS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HOSTS@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.5:
	mov	x8, #0
	mov	x9, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	and	w10, w10, #0xfffffff
	str	w10, [x9], #16
	add	x8, x8, #1
	ldrsw	x10, [sp, #20]
	cmp	x8, x10
	b.lt	LBB0_6
; %bb.7:
	cmp	w10, #1
	b.lt	LBB0_16
; %bb.8:
	mov	x23, #0
	mov	w20, #0
	add	x25, x19, #8
Lloh5:
	adrp	x21, l_.str.4@PAGE
Lloh6:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w3, [x25, #-8]
	add	x0, sp, #24
	mov	w1, #64
	mov	x2, x21
	bl	_snprintf
	mov	x22, x0
	cmp	w0, #64
	cset	w0, lt
	bl	_assert
	ldr	x8, [x24]
	ldr	x9, [x25], #16
	ldr	x8, [x8, x9, lsl #3]
	ldr	x0, [x8]
	bl	_strlen
	add	w8, w20, w22
	add	w8, w8, w0
	add	w20, w8, #2
	add	x23, x23, #1
	ldrsw	x8, [sp, #20]
	cmp	x23, x8
	b.lt	LBB0_9
	b	LBB0_17
LBB0_10:
	str	x22, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_11:
	stp	x19, x21, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	mov	w0, #3
	bl	_vkprintf
	mov	x21, #0
LBB0_14:
	ldr	x8, [sp, #88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.15:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_16:
	mov	w20, #0
LBB0_17:
	mov	x0, x20
	bl	_malloc
	mov	x21, x0
	ldr	w8, [sp, #20]
	mov	x22, x0
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.18:
	ldr	x8, [x24]
	ldr	x9, [x19, #8]
	ldr	w3, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x2, [x8]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x22, x21, w0, sxtw
	ldr	w8, [sp, #20]
	cmp	w8, #2
	b.lt	LBB0_21
; %bb.19:
	add	x25, x19, #24
	mov	w26, #1
	mov	w27, #44
Lloh18:
	adrp	x23, l_.str.5@PAGE
Lloh19:
	add	x23, x23, l_.str.5@PAGEOFF
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	strb	w27, [x22], #1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x2, [x8]
	ldur	w3, [x25, #-8]
	mov	x0, x22
	mov	x1, x23
	bl	_sprintf
	add	x22, x22, w0, sxtw
	add	x26, x26, #1
	ldrsw	x8, [sp, #20]
	add	x25, x25, #16
	cmp	x26, x8
	b.lt	LBB0_20
LBB0_21:
	sub	w8, w20, #1
	add	x8, x21, w8, sxtw
	cmp	x22, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_free
	b	LBB0_14
LBB0_22:
	mov	x0, x19
	bl	_free
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strdup
	mov	x21, x0
	b	LBB0_14
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_hosts_list_by_status: unknown status \"%s\"\n"

l_.str.1:                               ; @.str.1
	.asciz	"get_hosts_list_by_status: get_transaction_f (0x%llx, %d) returns NULL.\n"

l_.str.2:                               ; @.str.2
	.asciz	"get_hosts_list_by_status: get_pairs_hostid_result returns NULL.\n"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"0x%04x"

	.comm	_HOSTS,8,3                      ; @HOSTS
l_.str.5:                               ; @.str.5
	.asciz	"%s,0x%04x"

.subsections_via_symbols
