	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getAddrByIndexOrName           ## -- Begin function getAddrByIndexOrName
	.p2align	4, 0x90
_getAddrByIndexOrName:                  ## @getAddrByIndexOrName
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_FILE_READ_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	callq	_openTcpFile
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	-36(%rbp), %edi
	leaq	-56(%rbp), %rcx
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_getIPAddrEntryForIf
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movl	-48(%rbp), %r14d
	jmp	LBB0_9
LBB0_5:
	movl	-44(%rbp), %r14d
	jmp	LBB0_9
LBB0_4:
	movl	-40(%rbp), %r14d
	jmp	LBB0_9
LBB0_8:
	movl	-56(%rbp), %r14d
	jmp	LBB0_9
LBB0_7:
	movl	-52(%rbp), %r14d
LBB0_9:
	movl	-36(%rbp), %edi
	callq	_closeTcpFile
LBB0_10:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_STATUS_SUCCESS,4,2             ## @STATUS_SUCCESS
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_FILE_READ_DATA,4,2             ## @FILE_READ_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getAddrByIndexOrName           ; -- Begin function getAddrByIndexOrName
	.p2align	2
_getAddrByIndexOrName:                  ; @getAddrByIndexOrName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _FILE_READ_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #4
	bl	_openTcpFile
	bl	_NT_SUCCESS
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w0, [sp, #4]
	add	x3, sp, #8
	mov	x1, x22
	mov	x2, x21
	bl	_getIPAddrEntryForIf
	bl	_NT_SUCCESS
	cbz	x0, LBB0_9
; %bb.2:
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w19, [sp, #16]
	b	LBB0_9
LBB0_5:
	ldr	w19, [sp, #20]
	b	LBB0_9
LBB0_6:
	ldr	w19, [sp, #24]
	b	LBB0_9
LBB0_7:
	ldr	w19, [sp, #8]
	b	LBB0_9
LBB0_8:
	ldr	w19, [sp, #12]
LBB0_9:
	ldr	w0, [sp, #4]
	bl	_closeTcpFile
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_STATUS_SUCCESS,4,2             ; @STATUS_SUCCESS
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_FILE_READ_DATA,4,2             ; @FILE_READ_DATA
.subsections_via_symbols
