	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnameinfo_inet
_getnameinfo_inet:                      ## @getnameinfo_inet
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rsi, %r14
	movl	24(%rbp), %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movslq	(%rdi), %rax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	testq	%r9, %r9
	movq	%rdi, -1088(%rbp)               ## 8-byte Spill
	je	LBB0_9
## %bb.1:
	cmpq	$0, 16(%rbp)
	je	LBB0_9
## %bb.2:
	movq	%r9, %rbx
	movq	%rcx, -1080(%rbp)               ## 8-byte Spill
	movq	%r15, -1096(%rbp)               ## 8-byte Spill
	movl	4(%r14), %r15d
	movq	_NI_NUMERICSERV@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_5
LBB0_3:
	movl	%r15d, %edi
	callq	_ntohs
	leaq	L_.str.2(%rip), %rdx
	leaq	-560(%rbp), %r15
	movq	%r15, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	%eax, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	callq	_strlen
	incl	%eax
	cltq
	movq	16(%rbp), %rdx
	cmpq	%rdx, %rax
	ja	LBB0_25
## %bb.4:
	leaq	-560(%rbp), %rsi
	jmp	LBB0_8
LBB0_5:
	movq	_NI_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	%r15d, %edi
	callq	_getservbyport
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %r13
	movq	(%rax), %rdi
	callq	_strlen
	incl	%eax
	cltq
	movq	16(%rbp), %rdx
	cmpq	%rdx, %rax
	ja	LBB0_25
## %bb.7:
	movq	(%r13), %rsi
LBB0_8:
	movq	%rbx, %rdi
	callq	_strlcpy
	movq	-1096(%rbp), %r15               ## 8-byte Reload
	movq	-1080(%rbp), %rcx               ## 8-byte Reload
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
LBB0_9:
	cmpl	$129, (%r14)
	jne	LBB0_15
## %bb.10:
	movq	%rcx, %r13
	movl	$129, %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IN_MULTICAST
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movl	%ebx, %edi
	callq	_IN_EXPERIMENTAL
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_IN_ZERONET
	testl	%eax, %eax
	je	LBB0_14
LBB0_13:
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_14:
	movq	%r13, %rcx
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
LBB0_15:
	xorl	%r13d, %r13d
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.16:
	testq	%r15, %r15
	je	LBB0_27
## %bb.17:
	addq	-1104(%rbp), %r14               ## 8-byte Folded Reload
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_20
## %bb.18:
	movq	_NI_NAMEREQD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_23
LBB0_19:
	movq	_EAI_NONAME@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_20:
	movq	%rcx, -1080(%rbp)               ## 8-byte Spill
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	leaq	-1072(%rbp), %rcx
	movq	%r14, %rdi
	callq	_getipnodebyaddr
	testq	%rax, %rax
	je	LBB0_29
## %bb.21:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_strlen
	incl	%eax
	cltq
	cmpq	%r15, %rax
	jbe	LBB0_32
## %bb.22:
	movq	%rbx, %rdi
	callq	_freehostent
	jmp	LBB0_25
LBB0_23:
	movq	%rcx, %rbx
	movl	4(%rdi), %edi
	leaq	-1072(%rbp), %rdx
	movl	$512, %ecx                      ## imm = 0x200
	movq	%r14, %rsi
	callq	_inet_ntop
	testq	%rax, %rax
	je	LBB0_31
## %bb.24:
	leaq	-1072(%rbp), %rdi
	callq	_strlen
	cltq
	incq	%rax
	cmpq	%r15, %rax
	jbe	LBB0_33
LBB0_25:
	movq	_EAI_MEMORY@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %r13d
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.28:
	movl	%r13d, %eax
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movq	_NI_NAMEREQD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_19
## %bb.30:
	movl	4(%rcx), %edi
	movq	%r14, %rsi
	movq	-1080(%rbp), %rdx               ## 8-byte Reload
	movq	%r15, %rcx
	callq	_inet_ntop
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_27
LBB0_31:
	movq	_EAI_SYSTEM@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_32:
	movq	(%rbx), %rsi
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	movq	%r15, %rdx
	callq	_strlcpy
	movq	%rbx, %rdi
	callq	_freehostent
	jmp	LBB0_27
LBB0_33:
	leaq	-1072(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_strlcpy
	jmp	LBB0_27
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_NUMERICSERV,4,2             ## @NI_NUMERICSERV
	.comm	_NI_DGRAM,4,2                   ## @NI_DGRAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udp"

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

	.comm	_EAI_MEMORY,4,2                 ## @EAI_MEMORY
L_.str.2:                               ## @.str.2
	.asciz	"%u"

	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
	.comm	_NI_NAMEREQD,4,2                ## @NI_NAMEREQD
	.comm	_EAI_NONAME,4,2                 ## @EAI_NONAME
	.comm	_EAI_SYSTEM,4,2                 ## @EAI_SYSTEM
	.comm	_NI_NOFQDN,4,2                  ## @NI_NOFQDN
	.no_dead_strip	_getnameinfo_inet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnameinfo_inet
_getnameinfo_inet:                      ; @getnameinfo_inet
	.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
	sub	sp, sp, #1040
	mov	x22, x7
	mov	x19, x4
	mov	x20, x3
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldrsw	x28, [x0]
	cbz	x5, LBB0_9
; %bb.1:
	mov	x24, x6
	cbz	x6, LBB0_9
; %bb.2:
	mov	x25, x5
	ldr	w26, [x23, #4]
Lloh3:
	adrp	x8, _NI_NUMERICSERV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_NUMERICSERV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
LBB0_3:
	mov	x0, x26
	bl	_ntohs
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #512
	mov	w1, #512
	bl	_snprintf
	add	x0, sp, #512
	bl	_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	cmp	x8, x24
	b.hi	LBB0_24
; %bb.4:
	add	x1, sp, #512
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _NI_DGRAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NI_DGRAM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, l_.str@PAGE
Lloh12:
	add	x9, x9, l_.str@PAGEOFF
Lloh13:
	adrp	x10, l_.str.1@PAGE
Lloh14:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, w22
	csel	x1, x10, x9, eq
	mov	x0, x26
	bl	_getservbyport
	cbz	x0, LBB0_3
; %bb.6:
	mov	x27, x0
	ldr	x0, [x0]
	bl	_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	cmp	x8, x24
	b.hi	LBB0_24
; %bb.7:
	ldr	x1, [x27]
LBB0_8:
	mov	x0, x25
	mov	x2, x24
	bl	_strlcpy
LBB0_9:
	ldr	w8, [x23]
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.10:
	mov	w0, #129
	bl	_ntohl
	mov	x24, x0
	bl	_IN_MULTICAST
	cbnz	w0, LBB0_13
; %bb.11:
	mov	x0, x24
	bl	_IN_EXPERIMENTAL
	cbnz	w0, LBB0_13
; %bb.12:
	mov	x0, x24
	bl	_IN_ZERONET
	cbz	w0, LBB0_14
LBB0_13:
Lloh15:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_14:
	mov	w0, #0
	cbz	x20, LBB0_26
; %bb.15:
	cbz	x19, LBB0_26
; %bb.16:
	add	x23, x23, x28
Lloh18:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_19
; %bb.17:
Lloh21:
	adrp	x8, _NI_NAMEREQD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NI_NAMEREQD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_22
LBB0_18:
Lloh24:
	adrp	x8, _EAI_NONAME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EAI_NONAME@GOTPAGEOFF]
	b	LBB0_25
LBB0_19:
	ldp	w2, w1, [x21, #4]
	mov	x3, sp
	mov	x0, x23
	bl	_getipnodebyaddr
	cbz	x0, LBB0_28
; %bb.20:
	mov	x24, x0
	ldr	x0, [x0]
	bl	_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	cmp	x8, x19
	b.ls	LBB0_30
; %bb.21:
	mov	x0, x24
	bl	_freehostent
	b	LBB0_24
LBB0_22:
	ldr	w0, [x21, #4]
	mov	x2, sp
	mov	x1, x23
	mov	w3, #512
	bl	_inet_ntop
	cbz	x0, LBB0_31
; %bb.23:
	mov	x0, sp
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x8, x8, #1
	cmp	x8, x19
	b.ls	LBB0_32
LBB0_24:
Lloh26:
	adrp	x8, _EAI_MEMORY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EAI_MEMORY@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
LBB0_26:
	ldur	x8, [x29, #-96]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.27:
	add	sp, sp, #1040
	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
LBB0_28:
Lloh31:
	adrp	x8, _NI_NAMEREQD@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NI_NAMEREQD@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_18
; %bb.29:
	ldr	w0, [x21, #4]
	mov	x1, x23
	mov	x2, x20
	mov	x3, x19
	bl	_inet_ntop
Lloh34:
	adrp	x8, _EAI_SYSTEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EAI_SYSTEM@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_26
LBB0_30:
	ldr	x1, [x24]
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	mov	x0, x24
	bl	_freehostent
	mov	w0, #0
	b	LBB0_26
LBB0_31:
Lloh37:
	adrp	x8, _EAI_SYSTEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EAI_SYSTEM@GOTPAGEOFF]
	b	LBB0_25
LBB0_32:
	mov	x1, sp
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	mov	w0, #0
	b	LBB0_26
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_NUMERICSERV,4,2             ; @NI_NUMERICSERV
	.comm	_NI_DGRAM,4,2                   ; @NI_DGRAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udp"

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

	.comm	_EAI_MEMORY,4,2                 ; @EAI_MEMORY
l_.str.2:                               ; @.str.2
	.asciz	"%u"

	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
	.comm	_NI_NAMEREQD,4,2                ; @NI_NAMEREQD
	.comm	_EAI_NONAME,4,2                 ; @EAI_NONAME
	.comm	_EAI_SYSTEM,4,2                 ; @EAI_SYSTEM
	.comm	_NI_NOFQDN,4,2                  ; @NI_NOFQDN
	.no_dead_strip	_getnameinfo_inet
.subsections_via_symbols
