	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_nameindex                   ## -- Begin function if_nameindex
	.p2align	4, 0x90
_if_nameindex:                          ## @if_nameindex
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-48(%rbp), %rdi
	callq	_getifaddrs
	xorl	%r15d, %r15d
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rbx
	movl	$0, %r14d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	_AF_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r12, (%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	callq	_strlen
	addl	%eax, %r14d
	incl	%r14d
	incl	%r15d
	jmp	LBB0_7
LBB0_8:
	incl	%r15d
	shlq	$4, %r15
	leal	(%r15,%r14), %edi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_17
## %bb.9:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.11:
	movq	%r14, %r12
	addq	%r15, %r12
	movq	_AF_LINK@GOTPCREL(%rip), %r13
	movq	%r14, %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rdi), %rax
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	callq	_LLINDEX
	movq	%rax, 8(%r15)
	movq	%r12, (%r15)
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_strcpy
	addq	$16, %r15
	movq	%r12, %rdi
	callq	_strlen
	addq	%rax, %r12
	incq	%r12
	jmp	LBB0_15
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_10:
	movq	%r14, %r15
LBB0_16:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
LBB0_18:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_LINK,8,3                    ## @AF_LINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_nameindex                   ; -- Begin function if_nameindex
	.p2align	2
_if_nameindex:                          ; @if_nameindex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	add	x0, sp, #8
	bl	_getifaddrs
	tbnz	x0, #63, LBB0_7
; %bb.1:
	ldr	x21, [sp, #8]
	cbz	x21, LBB0_8
; %bb.2:
	mov	w19, #0
	mov	w20, #0
Lloh0:
	adrp	x8, _AF_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_LINK@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	bl	_strlen
	add	w8, w19, w0
	add	w19, w8, #1
	add	w20, w20, #1
	b	LBB0_3
LBB0_7:
	mov	x19, #0
	b	LBB0_19
LBB0_8:
	mov	w20, #0
	mov	w19, #0
LBB0_9:
	add	w8, w20, #1
	lsl	x20, x8, #4
	add	w0, w19, w20
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_18
; %bb.10:
	ldr	x21, [sp, #8]
	cbz	x21, LBB0_16
; %bb.11:
	add	x20, x19, x20
Lloh3:
	adrp	x23, _AF_LINK@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AF_LINK@GOTPAGEOFF]
	mov	x22, x19
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_LLINDEX
	stp	x20, x0, [x22], #16
	ldr	x1, [x21]
	mov	x0, x20
	bl	_strcpy
	mov	x0, x20
	bl	_strlen
	add	x8, x0, x20
	add	x20, x8, #1
	b	LBB0_12
LBB0_16:
	mov	x22, x19
LBB0_17:
	stp	xzr, xzr, [x22]
LBB0_18:
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
LBB0_19:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_LINK,8,3                    ; @AF_LINK
.subsections_via_symbols
