	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnettype
_getnettype:                            ## @getnettype
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__RPC_NETPATH@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.2:
	movq	__rpctypelist@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movl	$24, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movq	(%r14), %rcx
	movq	(%rcx,%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.8:
	movl	%r12d, %eax
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
LBB0_9:
	shlq	$4, %rax
	addq	%rcx, %rax
	jmp	LBB0_10
LBB0_6:
	movl	%r12d, %eax
	shlq	$4, %rax
	addq	(%r14), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__RPC_NETPATH,4,2               ## @_RPC_NETPATH
	.comm	__rpctypelist,8,3               ## @_rpctypelist
	.no_dead_strip	_getnettype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnettype
_getnettype:                            ; @getnettype
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
Lloh0:
	adrp	x20, __rpctypelist@GOTPAGE
Lloh1:
	ldr	x20, [x20, __rpctypelist@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_8
; %bb.3:
	mov	x21, #0
	mov	w22, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	ldr	x1, [x8, x22]
	add	x22, x22, #16
	cbnz	x1, LBB0_4
; %bb.6:
	and	x9, x21, #0xffffffff
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, __RPC_NETPATH@GOTPAGE
Lloh3:
	ldr	x8, [x8, __RPC_NETPATH@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	mov	x9, #0
LBB0_9:
	add	x8, x8, x9, lsl #4
	b	LBB0_11
LBB0_10:
	ldr	x8, [x20]
	add	x8, x8, w21, uxtw #4
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	__RPC_NETPATH,4,2               ; @_RPC_NETPATH
	.comm	__rpctypelist,8,3               ; @_rpctypelist
	.no_dead_strip	_getnettype
.subsections_via_symbols
