	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm3386_get_stats               ## -- Begin function pm3386_get_stats
	.p2align	4, 0x90
_pm3386_get_stats:                      ## @pm3386_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$1280, %esi                     ## imm = 0x500
	movl	$256, %edx                      ## imm = 0x100
	movl	$1, %ecx
	callq	_pm3386_port_reg_write
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	$1280, %esi                     ## imm = 0x500
	movl	$256, %edx                      ## imm = 0x100
	callq	_pm3386_port_reg_read
	testb	$1, %al
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	%ebx, %edi
	movl	$1296, %esi                     ## imm = 0x510
	callq	_pm3386_get_stat
	movq	%rax, 24(%r14)
	movl	%ebx, %edi
	movl	$1424, %esi                     ## imm = 0x590
	callq	_pm3386_get_stat
	movq	%rax, 16(%r14)
	movl	%ebx, %edi
	movl	$1300, %esi                     ## imm = 0x514
	callq	_pm3386_get_stat
	movq	%rax, 8(%r14)
	movl	%ebx, %edi
	movl	$1428, %esi                     ## imm = 0x594
	callq	_pm3386_get_stat
	movq	%rax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm3386_get_stats               ; -- Begin function pm3386_get_stats
	.p2align	2
_pm3386_get_stats:                      ; @pm3386_get_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w1, #1280
	mov	w2, #256
	mov	w3, #1
	bl	_pm3386_port_reg_write
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #1280
	mov	w2, #256
	bl	_pm3386_port_reg_read
	tbnz	w0, #0, LBB0_1
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x20
	mov	w1, #1296
	bl	_pm3386_get_stat
	str	x0, [x19, #24]
	mov	x0, x20
	mov	w1, #1424
	bl	_pm3386_get_stat
	str	x0, [x19, #16]
	mov	x0, x20
	mov	w1, #1300
	bl	_pm3386_get_stat
	str	x0, [x19, #8]
	mov	x0, x20
	mov	w1, #1428
	bl	_pm3386_get_stat
	str	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
