	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_nth_interface_name
_find_nth_interface_name:               ## @find_nth_interface_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_MAX_CHASSIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	xorl	%eax, %eax
	testl	%r11d, %r11d
	js	LBB0_13
## %bb.1:
	testl	%edi, %edi
	cmovlel	%eax, %edi
	movq	_MAX_GEOSLOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_units@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	leal	1(%r9), %r10d
	incq	%r11
	xorl	%edx, %edx
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	testl	%r9d, %r9d
	js	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8,%rdx,8), %rsi
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rcx
	cmpq	%r10, %rcx
	je	LBB0_12
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%rcx, %rbx
	shlq	$4, %rbx
	cmpq	$0, 8(%rsi,%rbx)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rsi,%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	(%rbx), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=3
	subl	$1, %edi
	jb	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%r11, %rdx
	jne	LBB0_2
LBB0_13:
	testq	%rax, %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rcx, %rax
LBB0_14:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHASSIS,4,2                ## @MAX_CHASSIS
	.comm	_MAX_GEOSLOT,4,2                ## @MAX_GEOSLOT
	.comm	_units,8,3                      ## @units
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_find_nth_interface_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_nth_interface_name
_find_nth_interface_name:               ; @find_nth_interface_name
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _MAX_CHASSIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_CHASSIS@GOTPAGEOFF]
Lloh2:
	ldr	w13, [x9]
	tbnz	w13, #31, LBB0_12
; %bb.1:
	mov	x8, x0
	mov	x9, #0
	mov	x0, #0
	cmp	w8, #0
	csel	w8, w8, wzr, gt
Lloh3:
	adrp	x10, _MAX_GEOSLOT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_GEOSLOT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _units@GOTPAGE
Lloh7:
	ldr	x11, [x11, _units@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	add	w12, w10, #1
	add	x13, x13, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	tbnz	w10, #31, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x14, #0
	ldr	x15, [x11, x9, lsl #3]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x14, x14, #1
	cmp	x14, x12
	b.eq	LBB0_11
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	add	x16, x15, x14, lsl #4
	ldr	x16, [x16, #8]
	cbz	x16, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	lsl	x16, x14, #4
	ldr	x16, [x15, x16]
	cbz	x16, LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x17, [x16, #16]
	cbz	x17, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	x0, [x16]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=3
	cbz	w8, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=3
	sub	w8, w8, #1
	ldr	x16, [x16, #8]
	cbnz	x16, LBB0_7
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x9, x13
	b.ne	LBB0_2
	b	LBB0_13
LBB0_12:
	mov	x0, #0
LBB0_13:
Lloh9:
	adrp	x8, l_.str@PAGE
Lloh10:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x0, x8, x0, eq
LBB0_14:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHASSIS,4,2                ; @MAX_CHASSIS
	.comm	_MAX_GEOSLOT,4,2                ; @MAX_GEOSLOT
	.comm	_units,8,3                      ; @units
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_find_nth_interface_name
.subsections_via_symbols
