	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realhostname_sa                ## -- Begin function realhostname_sa
	.p2align	4, 0x90
_realhostname_sa:                       ## @realhostname_sa
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_HOSTNAME_INVALIDADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_NI_NAMEREQD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_19
## %bb.1:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	-168(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	%rax, -160(%rbp)
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -152(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	leaq	-88(%rbp), %rcx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_HOSTNAME_INVALIDNAME@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_3:
	movq	-88(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	40(%rax), %rax
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	je	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r13d, 8(%rbx)
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_SOCKINET
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_SOCKINET
	movl	%r15d, (%rax)
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.11:
	movq	_HOSTNAME_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	24(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.12:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_trimdomain
	movq	%r15, %rdi
	callq	_strlen
	cmpq	%rbx, %rax
	jbe	LBB0_23
## %bb.13:
	movq	(%r12), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.14:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_freeaddrinfo
	jmp	LBB0_18
LBB0_15:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_freeaddrinfo
	movq	_HOSTNAME_INCORRECTNAME@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_17:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_19:
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncpy
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.22:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_strncpy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_freeaddrinfo
	jmp	LBB0_21
LBB0_24:
	callq	_freeaddrinfo
	jmp	LBB0_17
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_HOSTNAME_INVALIDADDR,4,2       ## @HOSTNAME_INVALIDADDR
	.comm	_NI_NAMEREQD,4,2                ## @NI_NAMEREQD
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_HOSTNAME_INVALIDNAME,4,2       ## @HOSTNAME_INVALIDNAME
	.comm	_HOSTNAME_INCORRECTNAME,4,2     ## @HOSTNAME_INCORRECTNAME
	.comm	_HOSTNAME_FOUND,4,2             ## @HOSTNAME_FOUND
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
	.comm	_AF_INET6,8,3                   ## @AF_INET6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realhostname_sa                ; -- Begin function realhostname_sa
	.p2align	2
_realhostname_sa:                       ; @realhostname_sa
	.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, #96
	mov	x22, x3
	mov	x23, x2
	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, #-88]
Lloh3:
	adrp	x8, _NI_MAXHOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_MAXHOST@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _HOSTNAME_INVALIDADDR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HOSTNAME_INVALIDADDR@GOTPAGEOFF]
Lloh10:
	ldr	w25, [x8]
Lloh11:
	adrp	x8, _NI_NAMEREQD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NI_NAMEREQD@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	x0, x2
	mov	x1, x3
	mov	x2, x21
	mov	x3, x24
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cbnz	w0, LBB0_17
; %bb.1:
	sub	x0, x29, #160
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	x8, [x23]
	stur	x8, [x29, #-152]
Lloh14:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _AI_PASSIVE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AI_PASSIVE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stur	w8, [x29, #-144]
	stur	w9, [x29, #-112]
	sub	x2, x29, #160
	sub	x3, x29, #168
	mov	x0, x21
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_3
; %bb.2:
Lloh23:
	adrp	x8, _HOSTNAME_INVALIDNAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HOSTNAME_INVALIDNAME@GOTPAGEOFF]
	b	LBB0_16
LBB0_3:
	ldur	x26, [x29, #-168]
	cbz	x26, LBB0_15
; %bb.4:
	mov	x8, x26
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-168]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x8, #40]
	stur	x8, [x29, #-168]
	cbz	x8, LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x8, #32]
	cbz	x25, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x25, #8]
	cmp	w9, w22
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x25]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_SOCKINET
	ldr	w27, [x0]
	mov	x0, x25
	bl	_SOCKINET
	str	w27, [x0]
	ldr	w2, [x25, #8]
	mov	x0, x25
	mov	x1, x23
	bl	_memcmp
	cbnz	w0, LBB0_5
; %bb.11:
Lloh25:
	adrp	x8, _HOSTNAME_FOUND@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HOSTNAME_FOUND@GOTPAGEOFF]
Lloh27:
	ldr	w25, [x8]
	ldr	x1, [x26, #24]
	cbz	x1, LBB0_14
; %bb.12:
	mov	x0, x21
	mov	x2, x24
	bl	_strlcpy
	mov	x0, x21
	mov	x1, x19
	bl	_trimdomain
	mov	x0, x21
	bl	_strlen
	cmp	x0, x19
	b.ls	LBB0_21
; %bb.13:
	ldr	x8, [x23]
Lloh28:
	adrp	x9, _AF_INET@GOTPAGE
Lloh29:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
LBB0_14:
	mov	x0, x26
	bl	_freeaddrinfo
	b	LBB0_17
LBB0_15:
	mov	x0, x26
	bl	_freeaddrinfo
Lloh31:
	adrp	x8, _HOSTNAME_INCORRECTNAME@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HOSTNAME_INCORRECTNAME@GOTPAGEOFF]
LBB0_16:
	ldr	w25, [x8]
LBB0_17:
Lloh33:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh35:
	ldr	w6, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cbnz	w0, LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_strncpy
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x25
	sub	sp, x29, #80
	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_21:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_strncpy
	mov	x0, x26
	bl	_freeaddrinfo
	b	LBB0_19
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_HOSTNAME_INVALIDADDR,4,2       ; @HOSTNAME_INVALIDADDR
	.comm	_NI_NAMEREQD,4,2                ; @NI_NAMEREQD
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_HOSTNAME_INVALIDNAME,4,2       ; @HOSTNAME_INVALIDNAME
	.comm	_HOSTNAME_INCORRECTNAME,4,2     ; @HOSTNAME_INCORRECTNAME
	.comm	_HOSTNAME_FOUND,4,2             ; @HOSTNAME_FOUND
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
	.comm	_AF_INET6,8,3                   ; @AF_INET6
.subsections_via_symbols
