	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amu_get_myaddress              ## -- Begin function amu_get_myaddress
	.p2align	4, 0x90
_amu_get_myaddress:                     ## @amu_get_myaddress
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.8:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_2:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_h_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hstrerror
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_3
LBB0_5:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_3:
	movq	_INADDR_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, (%r14)
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	$8, %edx
	callq	_memmove
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rdx
	leaq	-64(%rbp), %rdi
	movl	$20, %esi
	callq	_inet_dquad
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to resolve localhost_address \"%s\" (%s): using default"

	.comm	_h_errno,4,2                    ## @h_errno
L_.str.1:                               ## @.str.1
	.asciz	"localhost_address \"%s\" has no IP addresses: using default"

L_.str.2:                               ## @.str.2
	.asciz	"localhost_address \"%s\" has more than one IP addresses: using first"

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"localhost_address \"%s\" requested, using %s"

	.comm	_INADDR_LOOPBACK,4,2            ## @INADDR_LOOPBACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amu_get_myaddress              ; -- Begin function amu_get_myaddress
	.p2align	2
_amu_get_myaddress:                     ; @amu_get_myaddress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	bl	_gethostbyname
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_11
; %bb.4:
Lloh3:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
Lloh11:
	adrp	x8, _h_errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _h_errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_hstrerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x2, x20
	bl	_plog
LBB0_8:
Lloh21:
	adrp	x8, _INADDR_LOOPBACK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INADDR_LOOPBACK@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [x19]
LBB0_9:
	ldr	x8, [sp, #40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	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
	add	sp, sp, #96
	ret
LBB0_11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_memmove
Lloh27:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	ldr	x2, [x19]
	add	x0, sp, #20
	mov	w1, #20
	bl	_inet_dquad
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_plog
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to resolve localhost_address \"%s\" (%s): using default"

	.comm	_h_errno,4,2                    ; @h_errno
l_.str.1:                               ; @.str.1
	.asciz	"localhost_address \"%s\" has no IP addresses: using default"

l_.str.2:                               ; @.str.2
	.asciz	"localhost_address \"%s\" has more than one IP addresses: using first"

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"localhost_address \"%s\" requested, using %s"

	.comm	_INADDR_LOOPBACK,4,2            ; @INADDR_LOOPBACK
.subsections_via_symbols
