	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addrinfo_unpack
_addrinfo_unpack:                       ## @addrinfo_unpack
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_nvlist_get_binary
	movq	%rax, %r14
	movl	-32(%rbp), %edi
	addl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_nvlist_get_number
	movl	%eax, (%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_nvlist_get_number
	movl	%eax, 4(%rbx)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_nvlist_get_number
	movl	%eax, 8(%rbx)
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_nvlist_get_number
	movl	%eax, 12(%rbx)
	movq	-32(%rbp), %rax
	movq	%rax, 40(%rbx)
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_dnvlist_get_string
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rdi
	callq	_strdup
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_free
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	$0, 32(%rbx)
LBB0_6:
	movq	%rbx, %rdi
	addq	$48, %rdi
	movq	%rdi, 24(%rbx)
	movq	-32(%rbp), %rdx
	movq	%r14, %rsi
	callq	_memmove
	movq	$0, 16(%rbx)
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ai_addr"

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

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

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

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

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

	.no_dead_strip	_addrinfo_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addrinfo_unpack
_addrinfo_unpack:                       ; @addrinfo_unpack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_nvlist_get_binary
	mov	x20, x0
	ldr	w8, [sp, #8]
	add	w0, w8, #48
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_nvlist_get_number
	str	w0, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nvlist_get_number
	str	w0, [x19, #4]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_nvlist_get_number
	str	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_nvlist_get_number
	str	w0, [x19, #12]
	ldr	x8, [sp, #8]
	str	x8, [x19, #40]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	bl	_dnvlist_get_string
	cbz	x0, LBB0_4
; %bb.2:
	bl	_strdup
	str	x0, [x19, #32]
	cbnz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_6
LBB0_4:
	str	xzr, [x19, #32]
LBB0_5:
	add	x0, x19, #48
	str	x0, [x19, #24]
	ldr	x2, [sp, #8]
	mov	x1, x20
	bl	_memmove
	str	xzr, [x19, #16]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ai_addr"

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

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

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

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

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

	.no_dead_strip	_addrinfo_unpack
.subsections_via_symbols
