	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_set_network_type        ## -- Begin function rtl92c_set_network_type
	.p2align	4, 0x90
_rtl92c_set_network_type:               ## @rtl92c_set_network_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	callq	_rtl_priv
	movq	%rax, %r14
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.rtl92c_set_network_type(%rip), %rcx
	movq	(%rcx,%rax,8), %rdx
	leaq	l_reltable.rtl92c_set_network_type(%rip), %rsi
	movslq	(%rsi,%rax,4), %rcx
	addq	%rsi, %rcx
	movl	(%rdx), %r15d
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_MSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_rtl_write_byte
	jmp	LBB0_3
LBB0_1:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NT_NO_LINK,4,2                 ## @NT_NO_LINK
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set Network type to NO LINK!\n"

	.comm	_NT_LINK_AD_HOC,4,2             ## @NT_LINK_AD_HOC
L_.str.1:                               ## @.str.1
	.asciz	"Set Network type to Ad Hoc!\n"

	.comm	_NT_LINK_AP,4,2                 ## @NT_LINK_AP
L_.str.2:                               ## @.str.2
	.asciz	"Set Network type to STA!\n"

	.comm	_NT_AS_AP,4,2                   ## @NT_AS_AP
L_.str.3:                               ## @.str.3
	.asciz	"Set Network type to AP!\n"

L_.str.4:                               ## @.str.4
	.asciz	"Network type %d not supported!\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MSR,4,2                        ## @MSR
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rtl92c_set_network_type
l_switch.table.rtl92c_set_network_type:
	.quad	_NT_NO_LINK
	.quad	_NT_LINK_AP
	.quad	_NT_AS_AP
	.quad	_NT_LINK_AD_HOC

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.rtl92c_set_network_type
l_reltable.rtl92c_set_network_type:
	.long	L_.str-l_reltable.rtl92c_set_network_type
	.long	L_.str.2-l_reltable.rtl92c_set_network_type
	.long	L_.str.3-l_reltable.rtl92c_set_network_type
	.long	L_.str.1-l_reltable.rtl92c_set_network_type

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_set_network_type        ; -- Begin function rtl92c_set_network_type
	.p2align	2
_rtl92c_set_network_type:               ; @rtl92c_set_network_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	bl	_rtl_priv
	mov	x19, x0
	sub	w8, w20, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.rtl92c_set_network_type@PAGE
Lloh1:
	add	x9, x9, l_switch.table.rtl92c_set_network_type@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.rtl92c_set_network_type.5@PAGE
Lloh3:
	add	x10, x10, l_switch.table.rtl92c_set_network_type.5@PAGEOFF
	ldr	x3, [x10, x8]
	ldr	w20, [x9]
Lloh4:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_RT_TRACE
Lloh10:
	adrp	x8, _MSR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh21:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NT_NO_LINK,4,2                 ; @NT_NO_LINK
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set Network type to NO LINK!\n"

	.comm	_NT_LINK_AD_HOC,4,2             ; @NT_LINK_AD_HOC
l_.str.1:                               ; @.str.1
	.asciz	"Set Network type to Ad Hoc!\n"

	.comm	_NT_LINK_AP,4,2                 ; @NT_LINK_AP
l_.str.2:                               ; @.str.2
	.asciz	"Set Network type to STA!\n"

	.comm	_NT_AS_AP,4,2                   ; @NT_AS_AP
l_.str.3:                               ; @.str.3
	.asciz	"Set Network type to AP!\n"

l_.str.4:                               ; @.str.4
	.asciz	"Network type %d not supported!\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MSR,4,2                        ; @MSR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rtl92c_set_network_type
l_switch.table.rtl92c_set_network_type:
	.quad	_NT_NO_LINK
	.quad	_NT_LINK_AP
	.quad	_NT_AS_AP
	.quad	_NT_LINK_AD_HOC

	.p2align	3                               ; @switch.table.rtl92c_set_network_type.5
l_switch.table.rtl92c_set_network_type.5:
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.1

.subsections_via_symbols
