	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostent_read_hostlist_func
_hostent_read_hostlist_func:            ## @hostent_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_af_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	___gethostbyname2
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_hostent_test_correctness
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	___freehostent
	movl	%r12d, %r15d
	jmp	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_clone_hostent
	movq	%rbx, %rdi
	callq	___freehostent
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_af_type,4,2                    ## @af_type
	.no_dead_strip	_hostent_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 hostent_read_hostlist_func
_hostent_read_hostlist_func:            ; @hostent_read_hostlist_func
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _af_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _af_type@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	___gethostbyname2
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x1, #0
	bl	_hostent_test_correctness
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_clone_hostent
LBB0_3:
	mov	x0, x20
	bl	___freehostent
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x21
	bl	_strdup
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	w21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_af_type,4,2                    ; @af_type
	.no_dead_strip	_hostent_read_hostlist_func
.subsections_via_symbols
