	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_op_stop
_rtl_op_stop:                           ## @rtl_op_stop
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -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_mac
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r13
	movl	$0, -44(%rbp)
	movq	%r12, %rdi
	callq	_is_hal_stop
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_HAL_DEF_WOWLAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	(%r13), %rax
	movq	_ERFOFF@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_rtl_ips_nic_on
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpl	$0, -44(%rbp)
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%r12)
	jne	LBB0_6
LBB0_5:
	movq	_MAC80211_NOLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	4(%r15), %edi
	callq	_eth_zero_addr
	movq	_PEER_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_rtl_cam_reset_sec_info
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtl_deinit_deferred_work
LBB0_6:
	movq	8(%r14), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAL_DEF_WOWLAN,4,2             ## @HAL_DEF_WOWLAN
	.comm	_ERFOFF,8,3                     ## @ERFOFF
	.comm	_MAC80211_NOLINK,4,2            ## @MAC80211_NOLINK
	.comm	_PEER_UNKNOWN,4,2               ## @PEER_UNKNOWN
	.no_dead_strip	_rtl_op_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_op_stop
_rtl_op_stop:                           ; @rtl_op_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x22, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x23, x0
	str	wzr, [sp, #12]
	mov	x0, x22
	bl	_is_hal_stop
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HAL_DEF_WOWLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HAL_DEF_WOWLAN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _ERFOFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERFOFF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_rtl_ips_nic_on
LBB0_3:
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	x8, [x22]
	cbnz	x8, LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _MAC80211_NOLINK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC80211_NOLINK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	ldr	w0, [x21, #4]
	bl	_eth_zero_addr
Lloh9:
	adrp	x8, _PEER_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PEER_UNKNOWN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x19
	bl	_rtl_cam_reset_sec_info
	mov	x0, x19
	mov	w1, #0
	bl	_rtl_deinit_deferred_work
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x0, x20
	bl	_mutex_unlock
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HAL_DEF_WOWLAN,4,2             ; @HAL_DEF_WOWLAN
	.comm	_ERFOFF,8,3                     ; @ERFOFF
	.comm	_MAC80211_NOLINK,4,2            ; @MAC80211_NOLINK
	.comm	_PEER_UNKNOWN,4,2               ; @PEER_UNKNOWN
	.no_dead_strip	_rtl_op_stop
.subsections_via_symbols
