	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_get_address                ## -- Begin function tcp_get_address
	.p2align	4, 0x90
_tcp_get_address:                       ## @tcp_get_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$4, -12(%rbp)
	movq	_g_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	callq	_getsockname
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	_tcp_get_address.ipaddr(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	jmp	LBB0_3
LBB0_1:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %ecx
	movl	(%rbp), %r8d
	movl	4(%rbp), %r9d
	leaq	_tcp_get_address.ipaddr(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
LBB0_3:
	leaq	_tcp_get_address.ipaddr(%rip), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tcp_get_address.ipaddr,32,4 ## @tcp_get_address.ipaddr
	.comm	_g_sock,4,2                     ## @g_sock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d.%d.%d.%d"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_get_address                ; -- Begin function tcp_get_address
	.p2align	2
_tcp_get_address:                       ; @tcp_get_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #4
	str	w8, [sp, #4]
Lloh0:
	adrp	x8, _g_sock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_sock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_getsockname
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, _tcp_get_address.ipaddr@PAGE
Lloh4:
	add	x0, x0, _tcp_get_address.ipaddr@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
	b	LBB0_3
LBB0_2:
	ldp	w2, w3, [sp, #8]
	ldp	w4, w5, [sp, #16]
Lloh7:
	adrp	x0, _tcp_get_address.ipaddr@PAGE
Lloh8:
	add	x0, x0, _tcp_get_address.ipaddr@PAGEOFF
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
LBB0_3:
Lloh11:
	adrp	x0, _tcp_get_address.ipaddr@PAGE
Lloh12:
	add	x0, x0, _tcp_get_address.ipaddr@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tcp_get_address.ipaddr,32,0 ; @tcp_get_address.ipaddr
	.comm	_g_sock,4,2                     ; @g_sock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d.%d.%d.%d"

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

.subsections_via_symbols
