	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_ps_inactive_ps
__rtl_ps_inactive_ps:                   ## @_rtl_ps_inactive_ps
	.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, %r15
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %rbx
	movl	$1, (%rax)
	movq	8(%rax), %rax
	movq	_ERFON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	(%r12), %rax
	movq	_INTF_PCI@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.2:
	movq	_RT_RF_OFF_LEVL_ASPM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_6
## %bb.3:
	movq	_RT_PS_LEVEL_ASPM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RT_IN_PS_LEVEL
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	movq	_RT_PS_LEVEL_ASPM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RT_CLEAR_PS_LEVEL
LBB0_6:
	movq	8(%rbx), %rsi
	movq	_RF_CHANGE_BY_IPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_rtl_ps_set_rf_state
	movq	8(%rbx), %rax
	movq	_ERFOFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	movq	(%r12), %rax
	movq	_INTF_PCI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	movq	_RT_RF_OFF_LEVL_ASPM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_11
## %bb.9:
	movq	_RT_PS_LEVEL_ASPM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_RT_IN_PS_LEVEL
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	(%r14), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_RT_SET_PS_LEVEL
LBB0_11:
	movl	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERFON,8,3                      ## @ERFON
	.comm	_INTF_PCI,8,3                   ## @INTF_PCI
	.comm	_RT_RF_OFF_LEVL_ASPM,4,2        ## @RT_RF_OFF_LEVL_ASPM
	.comm	_RT_PS_LEVEL_ASPM,4,2           ## @RT_PS_LEVEL_ASPM
	.comm	_RF_CHANGE_BY_IPS,4,2           ## @RF_CHANGE_BY_IPS
	.comm	_ERFOFF,8,3                     ## @ERFOFF
	.no_dead_strip	__rtl_ps_inactive_ps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_ps_inactive_ps
__rtl_ps_inactive_ps:                   ; @_rtl_ps_inactive_ps
	.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_hal
	mov	x22, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _ERFON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERFON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x22]
Lloh3:
	adrp	x23, _INTF_PCI@GOTPAGE
Lloh4:
	ldr	x23, [x23, _INTF_PCI@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x21, #16]
Lloh5:
	adrp	x9, _RT_RF_OFF_LEVL_ASPM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RT_RF_OFF_LEVL_ASPM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
Lloh8:
	adrp	x24, _RT_PS_LEVEL_ASPM@GOTPAGE
Lloh9:
	ldr	x24, [x24, _RT_PS_LEVEL_ASPM@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_RT_IN_PS_LEVEL
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	w1, [x24]
	mov	x0, x21
	bl	_RT_CLEAR_PS_LEVEL
LBB0_6:
	ldr	x1, [x21, #8]
Lloh10:
	adrp	x8, _RF_CHANGE_BY_IPS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RF_CHANGE_BY_IPS@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtl_ps_set_rf_state
	ldr	x8, [x21, #8]
Lloh13:
	adrp	x9, _ERFOFF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ERFOFF@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
	ldr	x8, [x22]
Lloh16:
	adrp	x9, _INTF_PCI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _INTF_PCI@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x21, #16]
Lloh19:
	adrp	x9, _RT_RF_OFF_LEVL_ASPM@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RT_RF_OFF_LEVL_ASPM@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
Lloh22:
	adrp	x22, _RT_PS_LEVEL_ASPM@GOTPAGE
Lloh23:
	ldr	x22, [x22, _RT_PS_LEVEL_ASPM@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_RT_IN_PS_LEVEL
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	w1, [x22]
	mov	x0, x21
	bl	_RT_SET_PS_LEVEL
LBB0_11:
	str	wzr, [x21]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ERFON,8,3                      ; @ERFON
	.comm	_INTF_PCI,8,3                   ; @INTF_PCI
	.comm	_RT_RF_OFF_LEVL_ASPM,4,2        ; @RT_RF_OFF_LEVL_ASPM
	.comm	_RT_PS_LEVEL_ASPM,4,2           ; @RT_PS_LEVEL_ASPM
	.comm	_RF_CHANGE_BY_IPS,4,2           ; @RF_CHANGE_BY_IPS
	.comm	_ERFOFF,8,3                     ; @ERFOFF
	.no_dead_strip	__rtl_ps_inactive_ps
.subsections_via_symbols
