	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_card_disable          ## -- Begin function rtl8723e_card_disable
	.p2align	4, 0x90
_rtl8723e_card_disable:                 ## @rtl8723e_card_disable
	.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
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	_MAC80211_NOLINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__rtl8723e_set_media_status
	cmpq	$0, 16(%r14)
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	_RF_CHANGE_BY_PS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
LBB0_2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_LED_CTL_POWER_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_3:
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RT_SET_PS_LEVEL
	movq	%rbx, %rdi
	callq	__rtl8723e_poweroff_adapter
	movl	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC80211_NOLINK,4,2            ## @MAC80211_NOLINK
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_RF_CHANGE_BY_PS,8,3            ## @RF_CHANGE_BY_PS
	.comm	_LED_CTL_POWER_OFF,4,2          ## @LED_CTL_POWER_OFF
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ## @RT_RF_OFF_LEVL_HALT_NIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_card_disable          ; -- Begin function rtl8723e_card_disable
	.p2align	2
_rtl8723e_card_disable:                 ; @rtl8723e_card_disable
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
Lloh0:
	adrp	x8, _MAC80211_NOLINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC80211_NOLINK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh3:
	adrp	x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__rtl8723e_set_media_status
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _RF_CHANGE_BY_PS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RF_CHANGE_BY_PS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _LED_CTL_POWER_OFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LED_CTL_POWER_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_3:
Lloh12:
	adrp	x8, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_RT_SET_PS_LEVEL
	mov	x0, x19
	bl	__rtl8723e_poweroff_adapter
	str	wzr, [x20]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC80211_NOLINK,4,2            ; @MAC80211_NOLINK
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_RF_CHANGE_BY_PS,8,3            ; @RF_CHANGE_BY_PS
	.comm	_LED_CTL_POWER_OFF,4,2          ; @LED_CTL_POWER_OFF
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ; @RT_RF_OFF_LEVL_HALT_NIC
.subsections_via_symbols
