	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_p2p_ps_cmd                 ## -- Begin function rtl_p2p_ps_cmd
	.p2align	4, 0x90
_rtl_p2p_ps_cmd:                        ## @rtl_p2p_ps_cmd
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, -44(%rbp)
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	_COMP_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	leal	-128(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	64(%rbx), %eax
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_13
## %bb.10:
	movl	%r12d, 8(%rbx)
LBB0_11:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
LBB0_12:
	callq	*(%rax)
LBB0_13:
	movq	_COMP_FW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	56(%rbx), %r9d
	movl	60(%rbx), %r8d
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	48(%rbx), %rax
	movl	(%rax), %r8d
	movq	40(%rbx), %rax
	movl	(%rax), %r9d
	movl	32(%rbx), %r10d
	movq	24(%rbx), %rax
	movl	(%rax), %r11d
	movq	16(%rbx), %rax
	movl	(%rax), %r14d
	movl	12(%rbx), %r15d
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_RT_TRACE
	addq	$32, %rsp
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	64(%rbx), %eax
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_13
## %bb.6:
	movl	$130, 8(%rbx)
	cmpl	$0, 60(%rbx)
	jle	LBB0_11
## %bb.7:
	cmpl	$0, (%r15)
	je	LBB0_11
## %bb.8:
	movl	$0, (%r15)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_PWRMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addq	$4, %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	*(%rax)
	jmp	LBB0_11
LBB0_2:
	movl	$131, 8(%rbx)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	*(%rax)
	movl	$0, 32(%rbx)
	movq	$0, 56(%rbx)
	movl	$0, 12(%rbx)
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	cmpl	$0, 8(%r15)
	je	LBB0_13
## %bb.3:
	cmpl	$0, (%r15)
	jne	LBB0_13
## %bb.4:
	movl	$2, (%r15)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_PWRMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addq	$4, %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_COMP_FW,4,2                    ## @COMP_FW
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" p2p state %x\n"

	.comm	_HW_VAR_H2C_FW_P2P_PS_OFFLOAD,4,2 ## @HW_VAR_H2C_FW_P2P_PS_OFFLOAD
	.comm	_P2P_PS_NONE,4,2                ## @P2P_PS_NONE
	.comm	_HW_VAR_H2C_FW_PWRMODE,4,2      ## @HW_VAR_H2C_FW_PWRMODE
L_.str.1:                               ## @.str.1
	.asciz	"ctwindow %x oppps %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"count %x duration %x index %x interval %x start time %x noa num %x\n"

L_.str.3:                               ## @.str.3
	.asciz	"end\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_p2p_ps_cmd                 ; -- Begin function rtl_p2p_ps_cmd
	.p2align	2
_rtl_p2p_ps_cmd:                        ; @rtl_p2p_ps_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x1
	mov	x20, x0
	stur	w1, [x29, #-52]
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
Lloh0:
	adrp	x23, _COMP_FW@GOTPAGE
Lloh1:
	ldr	x23, [x23, _COMP_FW@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x24, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x24]
	str	x22, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	sub	w8, w22, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19, #64]
Lloh8:
	adrp	x9, _P2P_PS_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _P2P_PS_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_6
; %bb.3:
	str	w22, [x19, #8]
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	sub	x2, x29, #52
	mov	x0, x20
LBB0_5:
	blr	x8
LBB0_6:
	ldr	w1, [x23]
	ldr	w2, [x24]
	ldp	w9, w8, [x19, #56]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	w1, [x23]
	ldr	w2, [x24]
	ldp	x9, x8, [x19, #40]
	ldp	x11, x10, [x19, #16]
	ldr	w8, [x8]
	ldr	w9, [x9]
	ldr	w12, [x19, #32]
	ldr	w10, [x10]
	ldr	w11, [x11]
	ldr	w13, [x19, #12]
	stp	x11, x13, [sp, #32]
	stp	x12, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x3, l_.str.2@PAGE
Lloh17:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	w1, [x23]
	ldr	w2, [x24]
Lloh18:
	adrp	x3, l_.str.3@PAGE
Lloh19:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	ldr	w8, [x19, #64]
Lloh20:
	adrp	x9, _P2P_PS_NONE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _P2P_PS_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_6
; %bb.8:
	mov	w8, #130
	str	w8, [x19, #8]
	ldr	w8, [x19, #60]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.9:
	ldr	w8, [x21]
	cbz	w8, LBB0_4
; %bb.10:
	str	wzr, [x21], #4
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x9]
	mov	x0, x20
	mov	x2, x21
	blr	x8
	b	LBB0_4
LBB0_11:
	mov	w8, #131
	str	w8, [x19, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HW_VAR_H2C_FW_P2P_PS_OFFLOAD@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x9]
	sub	x2, x29, #52
	mov	x0, x20
	blr	x8
	str	wzr, [x19, #32]
	str	xzr, [x19, #56]
	str	wzr, [x19, #12]
Lloh29:
	adrp	x8, _P2P_PS_NONE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _P2P_PS_NONE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_6
; %bb.12:
	ldr	w8, [x21]
	cbnz	w8, LBB0_6
; %bb.13:
	mov	w8, #2
	str	w8, [x21], #4
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
	mov	x0, x20
	mov	x2, x21
	b	LBB0_5
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_COMP_FW,4,2                    ; @COMP_FW
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" p2p state %x\n"

	.comm	_HW_VAR_H2C_FW_P2P_PS_OFFLOAD,4,2 ; @HW_VAR_H2C_FW_P2P_PS_OFFLOAD
	.comm	_P2P_PS_NONE,4,2                ; @P2P_PS_NONE
	.comm	_HW_VAR_H2C_FW_PWRMODE,4,2      ; @HW_VAR_H2C_FW_PWRMODE
l_.str.1:                               ; @.str.1
	.asciz	"ctwindow %x oppps %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"count %x duration %x index %x interval %x start time %x noa num %x\n"

l_.str.3:                               ; @.str.3
	.asciz	"end\n"

.subsections_via_symbols
