	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m5mols_start_monitor
_m5mols_start_monitor:                  ## @m5mols_start_monitor
	.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	%rdi, %rbx
	movq	_REG_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_m5mols_set_mode
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	4(%rbx), %r14
	movq	_PARM_MON_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_m5mols_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_PARM_MON_FPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_FPS_30@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_m5mols_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_REG_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_m5mols_set_mode
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_m5mols_restore_controls        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PARAMETER,4,2              ## @REG_PARAMETER
	.comm	_PARM_MON_SIZE,4,2              ## @PARM_MON_SIZE
	.comm	_PARM_MON_FPS,4,2               ## @PARM_MON_FPS
	.comm	_REG_FPS_30,4,2                 ## @REG_FPS_30
	.comm	_REG_MONITOR,4,2                ## @REG_MONITOR
	.no_dead_strip	_m5mols_start_monitor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m5mols_start_monitor
_m5mols_start_monitor:                  ; @m5mols_start_monitor
	.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, x0
Lloh0:
	adrp	x8, _REG_PARAMETER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_PARAMETER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_m5mols_set_mode
	cbnz	w0, LBB0_4
; %bb.1:
	add	x20, x19, #4
Lloh3:
	adrp	x8, _PARM_MON_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARM_MON_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_m5mols_write
	cbnz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _PARM_MON_FPS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PARM_MON_FPS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _REG_FPS_30@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_FPS_30@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_m5mols_write
	cbnz	w0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _REG_MONITOR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_MONITOR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_m5mols_set_mode
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_m5mols_restore_controls
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PARAMETER,4,2              ; @REG_PARAMETER
	.comm	_PARM_MON_SIZE,4,2              ; @PARM_MON_SIZE
	.comm	_PARM_MON_FPS,4,2               ; @PARM_MON_FPS
	.comm	_REG_FPS_30,4,2                 ; @REG_FPS_30
	.comm	_REG_MONITOR,4,2                ; @REG_MONITOR
	.no_dead_strip	_m5mols_start_monitor
.subsections_via_symbols
