	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pma_6120_timer
_pma_6120_timer:                        ## @pma_6120_timer
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pma_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	56(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	movq	_IB_PMA_SAMPLE_STATUS_STARTED@GOTPCREL(%rip), %rdx
	movq	_IB_PMA_SAMPLE_STATUS_RUNNING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rcx, (%rbx)
	leaq	8(%rbx), %rsi
	leaq	16(%rbx), %rdx
	leaq	24(%rbx), %rcx
	leaq	32(%rbx), %r8
	leaq	40(%rbx), %r9
	movq	%r14, %rdi
	callq	_qib_snapshot_counters
	addq	$48, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	4(%r14), %edi
	callq	_usecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	jmp	LBB0_4
LBB0_2:
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.3:
	movq	_IB_PMA_SAMPLE_STATUS_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-32(%rbp), %r9
	movq	%r14, %rdi
	callq	_qib_snapshot_counters
	movq	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	punpcklqdq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0]
	movdqu	8(%rbx), %xmm0
	psubq	%xmm0, %xmm1
	movdqu	24(%rbx), %xmm0
	movdqu	%xmm1, 8(%rbx)
	movq	-40(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movq	-48(%rbp), %xmm2                ## xmm2 = mem[0],zero
	punpcklqdq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0]
	psubq	%xmm0, %xmm2
	movdqu	%xmm2, 24(%rbx)
	movq	-32(%rbp), %rax
	subq	40(%rbx), %rax
	movq	%rax, 40(%rbx)
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pma_timer,4,2                  ## @pma_timer
	.comm	_IB_PMA_SAMPLE_STATUS_STARTED,8,3 ## @IB_PMA_SAMPLE_STATUS_STARTED
	.comm	_IB_PMA_SAMPLE_STATUS_RUNNING,8,3 ## @IB_PMA_SAMPLE_STATUS_RUNNING
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IB_PMA_SAMPLE_STATUS_DONE,8,3  ## @IB_PMA_SAMPLE_STATUS_DONE
	.comm	_cs,8,3                         ## @cs
	.no_dead_strip	_pma_6120_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pma_6120_timer
_pma_6120_timer:                        ; @pma_6120_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _pma_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pma_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	ldr	x19, [x0, #56]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_STARTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_STARTED@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_RUNNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_RUNNING@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x20
	str	x8, [x21], #48
	add	x1, x20, #8
	add	x2, x20, #16
	add	x3, x20, #24
	add	x4, x20, #32
	add	x5, x20, #40
	mov	x0, x19
	bl	_qib_snapshot_counters
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x8]
	ldr	w0, [x19, #4]
	bl	_usecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x21
	bl	_mod_timer
	b	LBB0_4
LBB0_2:
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_DONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_DONE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x20]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #16
	add	x5, sp, #8
	mov	x0, x19
	bl	_qib_snapshot_counters
	ldr	x8, [sp, #40]
	ldp	x9, x10, [x20, #8]
	sub	x8, x8, x9
	ldr	x9, [sp, #32]
	sub	x9, x9, x10
	stp	x8, x9, [x20, #8]
	ldr	x8, [sp, #24]
	ldp	x9, x10, [x20, #24]
	sub	x8, x8, x9
	ldr	x9, [sp, #16]
	sub	x9, x9, x10
	stp	x8, x9, [x20, #24]
	ldr	x8, [sp, #8]
	ldr	x9, [x20, #40]
	sub	x8, x8, x9
	str	x8, [x20, #40]
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pma_timer,4,2                  ; @pma_timer
	.comm	_IB_PMA_SAMPLE_STATUS_STARTED,8,3 ; @IB_PMA_SAMPLE_STATUS_STARTED
	.comm	_IB_PMA_SAMPLE_STATUS_RUNNING,8,3 ; @IB_PMA_SAMPLE_STATUS_RUNNING
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IB_PMA_SAMPLE_STATUS_DONE,8,3  ; @IB_PMA_SAMPLE_STATUS_DONE
	.comm	_cs,8,3                         ; @cs
	.no_dead_strip	_pma_6120_timer
.subsections_via_symbols
