	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sa2addrlist
_sa2addrlist:                           ## @sa2addrlist
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rcx
LBB0_4:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movzwl	%ax, %edi
	callq	_ntohs
	movw	%ax, -42(%rbp)                  ## 2-byte Spill
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_mrb_str_buf_new
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_RSTRING_PTR
	movl	(%rbx), %ecx
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_getnameinfo
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_sys_fail
LBB0_6:
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%eax, %edi
	callq	_strlen
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_str_resize
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_mrb_ary_new_capa
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mrb_str_new_cstr
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
	movzwl	-42(%rbp), %edi                 ## 2-byte Folded Reload
	callq	_mrb_fixnum_value
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_mrb_ary_push
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_mrb_ary_push
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	callq	_mrb_raise
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_nil_value                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AF_INET"

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

	.comm	_E_ARGUMENT_ERROR,4,2           ## @E_ARGUMENT_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"bad af"

	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
L_.str.3:                               ## @.str.3
	.asciz	"getnameinfo"

	.no_dead_strip	_sa2addrlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sa2addrlist
_sa2addrlist:                           ; @sa2addrlist
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
Lloh0:
	adrp	x21, l_.str.1@PAGE
Lloh1:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_4:
	and	w0, w8, #0xffff
	bl	_ntohs
	mov	x22, x0
Lloh4:
	adrp	x25, _NI_MAXHOST@GOTPAGE
Lloh5:
	ldr	x25, [x25, _NI_MAXHOST@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_mrb_str_buf_new
	mov	x20, x0
	bl	_RSTRING_PTR
	mov	x2, x0
	ldr	w3, [x25]
Lloh6:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mrb_sys_fail
LBB0_6:
	mov	x0, x20
	bl	_RSTRING_PTR
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_str_resize
	mov	x0, x19
	mov	w1, #4
	bl	_mrb_ary_new_capa
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_str_new_cstr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_mrb_ary_push
	mov	x0, x22
	bl	_mrb_fixnum_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_mrb_ary_push
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_mrb_ary_push
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_mrb_ary_push
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh11:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mrb_raise
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mrb_nil_value
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AF_INET"

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

	.comm	_E_ARGUMENT_ERROR,4,2           ; @E_ARGUMENT_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"bad af"

	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
l_.str.3:                               ; @.str.3
	.asciz	"getnameinfo"

	.no_dead_strip	_sa2addrlist
.subsections_via_symbols
