	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_ps_enable_nic              ## -- Begin function rtl_ps_enable_nic
	.p2align	4, 0x90
_rtl_ps_enable_nic:                     ## @rtl_ps_enable_nic
	.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, %r13
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	_INTF_PCI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%r14), %rax
	movq	%r13, %rdi
	callq	*(%rax)
LBB0_2:
	movq	%rbx, %rdi
	callq	_is_hal_stop
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
LBB0_4:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	callq	*40(%rax)
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.5:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_RETRY_LIMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	*32(%rax)
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RT_CLEAR_PS_LEVEL
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	callq	*24(%rax)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	callq	*16(%rax)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rbx
	movq	%r13, %rdi
	callq	_cfg80211_get_chandef_type
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_rtl_watch_dog_timer_callback
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTF_PCI,8,3                   ## @INTF_PCI
	.comm	_COMP_ERR,4,2                   ## @COMP_ERR
	.comm	_DBG_WARNING,4,2                ## @DBG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver is already down!\n"

	.comm	_HW_VAR_RETRY_LIMIT,4,2         ## @HW_VAR_RETRY_LIMIT
	.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	_rtl_ps_enable_nic              ; -- Begin function rtl_ps_enable_nic
	.p2align	2
_rtl_ps_enable_nic:                     ; @rtl_ps_enable_nic
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_psc
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x23, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x22, x0
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _INTF_PCI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTF_PCI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_2:
	mov	x0, x23
	bl	_is_hal_stop
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DBG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DBG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #40]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #32]
Lloh11:
	adrp	x9, _HW_VAR_RETRY_LIMIT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HW_VAR_RETRY_LIMIT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x22
	blr	x8
Lloh14:
	adrp	x8, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_RT_CLEAR_PS_LEVEL
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	mov	x0, x19
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x21, [x8, #8]
	mov	x0, x19
	bl	_cfg80211_get_chandef_type
	mov	x1, x0
	mov	x0, x19
	blr	x21
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x0, x20
	bl	_rtl_watch_dog_timer_callback
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_INTF_PCI,8,3                   ; @INTF_PCI
	.comm	_COMP_ERR,4,2                   ; @COMP_ERR
	.comm	_DBG_WARNING,4,2                ; @DBG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver is already down!\n"

	.comm	_HW_VAR_RETRY_LIMIT,4,2         ; @HW_VAR_RETRY_LIMIT
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ; @RT_RF_OFF_LEVL_HALT_NIC
.subsections_via_symbols
