	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpu_start_timer
_mpu_start_timer:                       ## @mpu_start_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_dev_conf@GOTPCREL(%rip), %rax
	movslq	%edi, %rbx
	leaq	(,%rbx,4), %rdi
	addq	(%rax), %rdi
	callq	_tmr_reset
	movl	%ebx, %edi
	callq	_set_timer_mode
	movq	_tmr_running@GOTPCREL(%rip), %r15
	movq	_TIMER_NOT_ARMED@GOTPCREL(%rip), %rbx
	cmpl	$0, (%r15)
	jne	LBB0_4
## %bb.1:
	movq	_timer_mode@GOTPCREL(%rip), %rax
	movq	_TMR_INTERNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	%r14d, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_mpu_cmd
	movl	$1, (%r15)
	jmp	LBB0_4
LBB0_3:
	movl	%r14d, %edi
	movl	$53, %esi
	xorl	%edx, %edx
	callq	_mpu_cmd
	movl	%r14d, %edi
	movl	$56, %esi
	xorl	%edx, %edx
	callq	_mpu_cmd
	movl	%r14d, %edi
	movl	$57, %esi
	xorl	%edx, %edx
	callq	_mpu_cmd
	movl	%r14d, %edi
	movl	$151, %esi
	xorl	%edx, %edx
	callq	_mpu_cmd
	movq	_TIMER_ARMED@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_conf,8,3                   ## @dev_conf
	.comm	_tmr_running,4,2                ## @tmr_running
	.comm	_TIMER_NOT_ARMED,4,2            ## @TIMER_NOT_ARMED
	.comm	_timer_mode,4,2                 ## @timer_mode
	.comm	_TMR_INTERNAL,4,2               ## @TMR_INTERNAL
	.comm	_TIMER_ARMED,4,2                ## @TIMER_ARMED
	.no_dead_strip	_mpu_start_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpu_start_timer
_mpu_start_timer:                       ; @mpu_start_timer
	.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, _dev_conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_conf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, w0, sxtw #2
	bl	_tmr_reset
	mov	x0, x19
	bl	_set_timer_mode
Lloh3:
	adrp	x20, _tmr_running@GOTPAGE
Lloh4:
	ldr	x20, [x20, _tmr_running@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _timer_mode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _timer_mode@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _TMR_INTERNAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TMR_INTERNAL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_mpu_cmd
	mov	w8, #1
	str	w8, [x20]
LBB0_3:
Lloh11:
	adrp	x8, _TIMER_NOT_ARMED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TIMER_NOT_ARMED@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #53
	mov	w2, #0
	bl	_mpu_cmd
	mov	x0, x19
	mov	w1, #56
	mov	w2, #0
	bl	_mpu_cmd
	mov	x0, x19
	mov	w1, #57
	mov	w2, #0
	bl	_mpu_cmd
	mov	x0, x19
	mov	w1, #151
	mov	w2, #0
	bl	_mpu_cmd
Lloh13:
	adrp	x8, _TIMER_ARMED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TIMER_ARMED@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_conf,8,3                   ; @dev_conf
	.comm	_tmr_running,4,2                ; @tmr_running
	.comm	_TIMER_NOT_ARMED,4,2            ; @TIMER_NOT_ARMED
	.comm	_timer_mode,4,2                 ; @timer_mode
	.comm	_TMR_INTERNAL,4,2               ; @TMR_INTERNAL
	.comm	_TIMER_ARMED,4,2                ; @TIMER_ARMED
	.no_dead_strip	_mpu_start_timer
.subsections_via_symbols
