	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rackmeter_do_pause
_rackmeter_do_pause:                    ## @rackmeter_do_pause
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	testl	%esi, %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	%ebx, (%r14)
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBDMA_DO_STOP                  ## TAILCALL
LBB0_2:
	movl	12(%r15), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	8(%r15), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	16(%r14), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_mb
	movq	8(%r14), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_out_le32
	movq	8(%r14), %rdi
	addq	$4, %rdi
	movl	4(%r14), %esi
	callq	_out_le32
	movq	8(%r14), %rdi
	movq	_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shll	$16, %esi
	orl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_out_le32                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rackmeter: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"paused"

L_.str.2:                               ## @.str.2
	.asciz	"started"

	.comm	_RUN,4,2                        ## @RUN
	.no_dead_strip	_rackmeter_do_pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rackmeter_do_pause
_rackmeter_do_pause:                    ; @rackmeter_do_pause
	.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
	mov	x19, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w1, #0
	csel	x1, x9, x8, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	str	w20, [x19]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	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	_DBDMA_DO_STOP
LBB0_2:
	ldr	w0, [x21, #12]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x21, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #16]
	str	xzr, [x8]
	bl	_mb
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	mov	w1, #0
	bl	_out_le32
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	ldr	w1, [x19, #4]
	bl	_out_le32
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x8, _RUN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RUN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w1, w8, w8, lsl #16
	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	_out_le32
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rackmeter: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"paused"

l_.str.2:                               ; @.str.2
	.asciz	"started"

	.comm	_RUN,4,2                        ; @RUN
	.no_dead_strip	_rackmeter_do_pause
.subsections_via_symbols
