	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_net_device
_add_net_device:                        ## @add_net_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HSO_MAX_NET_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	_network_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.6:
	movl	%ecx, %edx
	jmp	LBB0_7
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_4:
	movq	%rdi, (%rax,%rdx,8)
LBB0_7:
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	sete	%al
	negl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HSO_MAX_NET_DEVICES,4,2        ## @HSO_MAX_NET_DEVICES
	.comm	_network_table,8,3              ## @network_table
	.no_dead_strip	_add_net_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_net_device
_add_net_device:                        ; @add_net_device
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HSO_MAX_NET_DEVICES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HSO_MAX_NET_DEVICES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
Lloh3:
	adrp	x10, _network_table@GOTPAGE
Lloh4:
	ldr	x10, [x10, _network_table@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x9, lsl #3]
	cbz	x11, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:
	mov	x9, x8
	b	LBB0_7
LBB0_5:
	mov	w9, #0
	b	LBB0_7
LBB0_6:
	str	x0, [x10, x9, lsl #3]
LBB0_7:
	cmp	w9, w8
	csetm	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HSO_MAX_NET_DEVICES,4,2        ; @HSO_MAX_NET_DEVICES
	.comm	_network_table,8,3              ; @network_table
	.no_dead_strip	_add_net_device
.subsections_via_symbols
