	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_set_cntr_6120_sample
_qib_set_cntr_6120_sample:              ## @qib_set_cntr_6120_sample
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.2:
	movq	_IB_PMA_SAMPLE_STATUS_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	addq	$44, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rdx, %rdi
	callq	_usecs_to_jiffies
	addq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	jmp	LBB0_3
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	_IB_PMA_SAMPLE_STATUS_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	leaq	32(%rbx), %rsi
	leaq	24(%rbx), %rdx
	leaq	16(%rbx), %rcx
	leaq	8(%rbx), %r8
	movq	%rbx, %r9
	callq	_qib_snapshot_counters
	addq	$44, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_usecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_6:
	movq	_IB_PMA_SAMPLE_STATUS_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PMA_SAMPLE_STATUS_STARTED,4,2 ## @IB_PMA_SAMPLE_STATUS_STARTED
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IB_PMA_SAMPLE_STATUS_RUNNING,4,2 ## @IB_PMA_SAMPLE_STATUS_RUNNING
	.comm	_IB_PMA_SAMPLE_STATUS_DONE,4,2  ## @IB_PMA_SAMPLE_STATUS_DONE
	.no_dead_strip	_qib_set_cntr_6120_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_set_cntr_6120_sample
_qib_set_cntr_6120_sample:              ; @qib_set_cntr_6120_sample
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	ldr	x8, [x0]
	ldr	x19, [x8]
	cbz	x1, LBB0_3
; %bb.1:
	cbz	x2, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	add	x19, x19, #44
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	mov	x0, x2
	bl	_usecs_to_jiffies
	add	x1, x0, x20
	b	LBB0_5
LBB0_3:
	cbz	x20, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_RUNNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_RUNNING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	add	x1, x19, #32
	add	x2, x19, #24
	add	x3, x19, #16
	add	x4, x19, #8
	mov	x5, x19
	bl	_qib_snapshot_counters
	add	x19, x19, #44
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_usecs_to_jiffies
	add	x1, x0, x21
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_6:
Lloh12:
	adrp	x8, _IB_PMA_SAMPLE_STATUS_DONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_PMA_SAMPLE_STATUS_DONE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	str	xzr, [x19, #32]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PMA_SAMPLE_STATUS_STARTED,4,2 ; @IB_PMA_SAMPLE_STATUS_STARTED
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IB_PMA_SAMPLE_STATUS_RUNNING,4,2 ; @IB_PMA_SAMPLE_STATUS_RUNNING
	.comm	_IB_PMA_SAMPLE_STATUS_DONE,4,2  ; @IB_PMA_SAMPLE_STATUS_DONE
	.no_dead_strip	_qib_set_cntr_6120_sample
.subsections_via_symbols
