	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostent_pack
_hostent_pack:                          ## @hostent_pack
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_add_string
	movl	24(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_add_number
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_add_number
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.4(%rip), %r12
	leaq	-112(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	decl	%eax
	xorl	%edi, %edi
	cmpl	$63, %eax
	setb	%dil
	callq	_assert
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_nvlist_add_string
	incl	%ebx
	movq	16(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
LBB0_7:
	callq	_nvlist_add_number
	movq	8(%r15), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	leaq	L_.str.6(%rip), %r12
	leaq	-112(%rbp), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	decl	%eax
	xorl	%edi, %edi
	cmpl	$63, %eax
	setb	%dil
	callq	_assert
	movq	(%r15), %rcx
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_nvlist_add_binary
	incl	%ebx
	movq	8(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_10
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_nvlist_add_number
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"addrtype"

L_.str.2:                               ## @.str.2
	.asciz	"length"

L_.str.3:                               ## @.str.3
	.asciz	"naliases"

L_.str.4:                               ## @.str.4
	.asciz	"alias%u"

L_.str.5:                               ## @.str.5
	.asciz	"naddrs"

L_.str.6:                               ## @.str.6
	.asciz	"addr%u"

	.no_dead_strip	_hostent_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostent_pack
_hostent_pack:                          ; @hostent_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x2, [x0, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvlist_add_string
	ldr	w2, [x20, #24]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nvlist_add_number
	ldr	w2, [x20]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_nvlist_add_number
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x21, #0
Lloh9:
	adrp	x22, l_.str.4@PAGE
Lloh10:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	sub	w8, w0, #1
	cmp	w8, #63
	cset	w0, lo
	bl	_assert
	ldr	x8, [x20, #16]
	ldr	x2, [x8, x21, lsl #3]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nvlist_add_string
	add	w21, w21, #1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, w21, uxtw #3]
	cbnz	x8, LBB0_3
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	b	LBB0_7
LBB0_5:
	mov	w21, #0
LBB0_6:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_7:
	bl	_nvlist_add_number
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
	mov	x21, #0
Lloh15:
	adrp	x22, l_.str.6@PAGE
Lloh16:
	add	x22, x22, l_.str.6@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	sub	w8, w0, #1
	cmp	w8, #63
	cset	w0, lo
	bl	_assert
	ldp	x3, x8, [x20]
	ldr	x2, [x8, x21, lsl #3]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nvlist_add_binary
	add	w21, w21, #1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, w21, uxtw #3]
	cbnz	x8, LBB0_10
	b	LBB0_12
LBB0_11:
	mov	w21, #0
LBB0_12:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_nvlist_add_number
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"addrtype"

l_.str.2:                               ; @.str.2
	.asciz	"length"

l_.str.3:                               ; @.str.3
	.asciz	"naliases"

l_.str.4:                               ; @.str.4
	.asciz	"alias%u"

l_.str.5:                               ; @.str.5
	.asciz	"naddrs"

l_.str.6:                               ; @.str.6
	.asciz	"addr%u"

	.no_dead_strip	_hostent_pack
.subsections_via_symbols
