	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_pmrx_get_stats              ## -- Begin function t4_pmrx_get_stats
	.p2align	4, 0x90
_t4_pmrx_get_stats:                     ## @t4_pmrx_get_stats
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, 4(%rdi)
	jle	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PM_RX_DBG_CTRL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PM_RX_DBG_DATA_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PM_RX_DBG_STAT_MSB_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	leaq	-56(%rbp), %rcx
	movl	$2, %r8d
	callq	_t4_read_indirect
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r13), %rax
	movq	%r12, %rbx
	cmpq	%rax, %r12
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PM_RX_STAT_CONFIG_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	1(%rbx), %r12
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_t4_write_reg
	movq	_PM_RX_STAT_COUNT_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_t4_read_reg
	movl	%eax, (%r15,%rbx,4)
	movl	(%r13), %edi
	callq	_is_t4
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PM_RX_STAT_LSB_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_t4_read_reg64
	movl	%eax, (%r14,%rbx,4)
	jmp	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_RX_STAT_CONFIG_A,4,2        ## @PM_RX_STAT_CONFIG_A
	.comm	_PM_RX_STAT_COUNT_A,4,2         ## @PM_RX_STAT_COUNT_A
	.comm	_PM_RX_STAT_LSB_A,4,2           ## @PM_RX_STAT_LSB_A
	.comm	_PM_RX_DBG_CTRL_A,4,2           ## @PM_RX_DBG_CTRL_A
	.comm	_PM_RX_DBG_DATA_A,4,2           ## @PM_RX_DBG_DATA_A
	.comm	_PM_RX_DBG_STAT_MSB_A,4,2       ## @PM_RX_DBG_STAT_MSB_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_pmrx_get_stats              ; -- Begin function t4_pmrx_get_stats
	.p2align	2
_t4_pmrx_get_stats:                     ; @t4_pmrx_get_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
Lloh3:
	adrp	x23, _PM_RX_STAT_CONFIG_A@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PM_RX_STAT_CONFIG_A@GOTPAGEOFF]
Lloh5:
	adrp	x24, _PM_RX_STAT_COUNT_A@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PM_RX_STAT_COUNT_A@GOTPAGEOFF]
Lloh7:
	adrp	x26, _PM_RX_DBG_DATA_A@GOTPAGE
Lloh8:
	ldr	x26, [x26, _PM_RX_DBG_DATA_A@GOTPAGEOFF]
Lloh9:
	adrp	x27, _PM_RX_DBG_STAT_MSB_A@GOTPAGE
Lloh10:
	ldr	x27, [x27, _PM_RX_DBG_STAT_MSB_A@GOTPAGEOFF]
Lloh11:
	adrp	x28, _PM_RX_STAT_LSB_A@GOTPAGE
Lloh12:
	ldr	x28, [x28, _PM_RX_STAT_LSB_A@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _PM_RX_DBG_CTRL_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PM_RX_DBG_CTRL_A@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x26]
	ldr	w5, [x27]
	mov	x3, sp
	mov	x0, x21
	mov	w4, #2
	bl	_t4_read_indirect
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21, #4]
	mov	x22, x25
	cmp	x25, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x25, x22, #1
	mov	x0, x21
	mov	x2, x25
	bl	_t4_write_reg
	ldr	w1, [x24]
	mov	x0, x21
	bl	_t4_read_reg
	str	w0, [x20, x22, lsl #2]
	ldr	w0, [x21]
	bl	_is_t4
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28]
	mov	x0, x21
	bl	_t4_read_reg64
	str	w0, [x19, x22, lsl #2]
	b	LBB0_3
LBB0_6:
	ldr	x8, [sp, #8]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_RX_STAT_CONFIG_A,4,2        ; @PM_RX_STAT_CONFIG_A
	.comm	_PM_RX_STAT_COUNT_A,4,2         ; @PM_RX_STAT_COUNT_A
	.comm	_PM_RX_STAT_LSB_A,4,2           ; @PM_RX_STAT_LSB_A
	.comm	_PM_RX_DBG_CTRL_A,4,2           ; @PM_RX_DBG_CTRL_A
	.comm	_PM_RX_DBG_DATA_A,4,2           ; @PM_RX_DBG_DATA_A
	.comm	_PM_RX_DBG_STAT_MSB_A,4,2       ; @PM_RX_DBG_STAT_MSB_A
.subsections_via_symbols
