	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rndis_get_friendly_name
_rndis_get_friendly_name:               ## @rndis_get_friendly_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$2072, %rsp                     ## imm = 0x818
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$1024, -2084(%rbp)              ## imm = 0x400
	movq	_RNDIS_OID_GEN_FRIENDLY_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-1056(%rbp), %rcx
	leaq	-2084(%rbp), %r8
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_rndis_filter_query_device
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, -2084(%rbp)
	je	LBB0_4
## %bb.2:
	leaq	-2080(%rbp), %rbx
	leaq	-1056(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_ucs2_as_utf8
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-2080(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_dev_set_alias
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$2072, %rsp                     ## imm = 0x818
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RNDIS_OID_GEN_FRIENDLY_NAME,4,2 ## @RNDIS_OID_GEN_FRIENDLY_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Network Adapter"

	.no_dead_strip	_rndis_get_friendly_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rndis_get_friendly_name
_rndis_get_friendly_name:               ; @rndis_get_friendly_name
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #2064
	mov	x8, x2
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
	mov	w9, #1024
	str	w9, [sp, #4]
Lloh3:
	adrp	x9, _RNDIS_OID_GEN_FRIENDLY_NAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RNDIS_OID_GEN_FRIENDLY_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	x3, sp, #1032
	add	x4, sp, #4
	mov	x0, x1
	mov	x1, x8
	bl	_rndis_filter_query_device
	ldr	w8, [sp, #4]
	cmp	x0, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_3
; %bb.1:
	add	x0, sp, #8
	add	x1, sp, #1032
	mov	w2, #1024
	bl	_ucs2_as_utf8
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_dev_set_alias
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	add	sp, sp, #2064
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RNDIS_OID_GEN_FRIENDLY_NAME,4,2 ; @RNDIS_OID_GEN_FRIENDLY_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Network Adapter"

	.no_dead_strip	_rndis_get_friendly_name
.subsections_via_symbols
