	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addrinfo_read_hostlist_func
_addrinfo_read_hostlist_func:           ## @addrinfo_read_hostlist_func
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_printf
	movq	_hints@GOTPCREL(%rip), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_5
LBB0_1:
	leaq	L_str.3(%rip), %rdi
	callq	_puts
	movq	-40(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_addrinfo_test_correctness
	movq	-40(%rbp), %rsi
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movq	%rsi, %rdi
	callq	_freeaddrinfo
	movl	%r15d, %r12d
	jmp	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	callq	_clone_addrinfo
	movq	-40(%rbp), %rdi
	callq	_freeaddrinfo
LBB0_5:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resolving %s: "

	.comm	_hints,4,2                      ## @hints
L_str:                                  ## @str
	.asciz	"not found"

L_str.3:                                ## @str.3
	.asciz	"found"

	.no_dead_strip	_addrinfo_read_hostlist_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addrinfo_read_hostlist_func
_addrinfo_read_hostlist_func:           ; @addrinfo_read_hostlist_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x2, _hints@GOTPAGE
Lloh3:
	ldr	x2, [x2, _hints@GOTPAGEOFF]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w20, #0
	b	LBB0_6
LBB0_2:
Lloh6:
	adrp	x0, l_str.3@PAGE
Lloh7:
	add	x0, x0, l_str.3@PAGEOFF
	bl	_puts
	ldr	x0, [sp, #8]
	mov	x1, #0
	bl	_addrinfo_test_correctness
	mov	x20, x0
	ldr	x1, [sp, #8]
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x1
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_clone_addrinfo
	ldr	x0, [sp, #8]
LBB0_5:
	bl	_freeaddrinfo
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resolving %s: "

	.comm	_hints,4,2                      ; @hints
l_str:                                  ; @str
	.asciz	"not found"

l_str.3:                                ; @str.3
	.asciz	"found"

	.no_dead_strip	_addrinfo_read_hostlist_func
.subsections_via_symbols
