	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cap_getnameinfo                ## -- Begin function cap_getnameinfo
	.p2align	4, 0x90
_cap_getnameinfo:                       ## @cap_getnameinfo
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rbx
	xorl	%edi, %edi
	callq	_nvlist_create
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rdi
	callq	_nvlist_add_string
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	callq	_nvlist_add_number
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_nvlist_add_number
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_nvlist_add_binary
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	24(%rbp), %edx
	callq	_nvlist_add_number
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_cap_xfer_nvlist
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdi
	callq	_nvlist_get_number
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_get_number
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_nvlist_destroy
	jmp	LBB0_11
LBB0_1:
	movq	_EAI_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_exists_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_get_string
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strlcpy
LBB0_7:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_exists_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_get_string
	movq	16(%rbp), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strlcpy
LBB0_10:
	movq	%r14, %rdi
	callq	_nvlist_destroy
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %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
	.asciz	"cmd"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"sa"

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

	.comm	_EAI_MEMORY,4,2                 ## @EAI_MEMORY
L_.str.6:                               ## @.str.6
	.asciz	"error"

L_.str.7:                               ## @.str.7
	.asciz	"host"

L_.str.8:                               ## @.str.8
	.asciz	"serv"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cap_getnameinfo                ; -- Begin function cap_getnameinfo
	.p2align	2
_cap_getnameinfo:                       ; @cap_getnameinfo
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x7
	mov	x20, x6
	mov	x19, x5
	mov	x22, x4
	mov	x21, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	mov	w0, #0
	bl	_nvlist_create
	mov	x27, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_nvlist_add_string
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	mov	x2, x22
	bl	_nvlist_add_number
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x27
	mov	x2, x20
	bl	_nvlist_add_number
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x27
	mov	x2, x25
	mov	x3, x24
	bl	_nvlist_add_binary
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x27
	mov	x2, x23
	bl	_nvlist_add_number
	mov	x0, x26
	mov	x1, x27
	bl	_cap_xfer_nvlist
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_nvlist_get_number
	cbz	x0, LBB0_4
; %bb.2:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_nvlist_get_number
	mov	x19, x0
	mov	x0, x23
	bl	_nvlist_destroy
	b	LBB0_11
LBB0_3:
Lloh16:
	adrp	x8, _EAI_MEMORY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAI_MEMORY@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_4:
	cbz	x21, LBB0_7
; %bb.5:
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_nvlist_exists_string
	cbz	x0, LBB0_7
; %bb.6:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_nvlist_get_string
	mov	x1, x0
	add	x2, x22, #1
	mov	x0, x21
	bl	_strlcpy
LBB0_7:
	cbz	x19, LBB0_10
; %bb.8:
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_nvlist_exists_string
	cbz	x0, LBB0_10
; %bb.9:
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_nvlist_get_string
	mov	x1, x0
	add	x2, x20, #1
	mov	x0, x19
	bl	_strlcpy
LBB0_10:
	mov	x0, x23
	bl	_nvlist_destroy
	mov	w19, #0
LBB0_11:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"sa"

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

	.comm	_EAI_MEMORY,4,2                 ; @EAI_MEMORY
l_.str.6:                               ; @.str.6
	.asciz	"error"

l_.str.7:                               ; @.str.7
	.asciz	"host"

l_.str.8:                               ; @.str.8
	.asciz	"serv"

.subsections_via_symbols
