	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_tmr_start
_arm_tmr_start:                         ## @arm_tmr_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	8(%rdi), %r15
	movq	_PRV_TIMER_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_tmr_prv_write_4
	movq	_PRV_TIMER_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PRV_TIMER_INTR_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_tmr_prv_write_4
	movq	_PRV_TIMER_CTRL_IRQ_ENABLE@GOTPCREL(%rip), %rax
	movq	_PRV_TIMER_CTRL_TIMER_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_PRV_TIMER_CTRL_AUTO_RELOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	orl	%r14d, %ebx
	movq	_PRV_TIMER_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_tmr_prv_write_4
	movq	_PRV_TIMER_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_tmr_prv_write_4
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_tmr_prv_write_4
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRV_TIMER_CTRL,4,2             ## @PRV_TIMER_CTRL
	.comm	_PRV_TIMER_INTR,4,2             ## @PRV_TIMER_INTR
	.comm	_PRV_TIMER_INTR_EVENT,4,2       ## @PRV_TIMER_INTR_EVENT
	.comm	_PRV_TIMER_CTRL_IRQ_ENABLE,4,2  ## @PRV_TIMER_CTRL_IRQ_ENABLE
	.comm	_PRV_TIMER_CTRL_TIMER_ENABLE,4,2 ## @PRV_TIMER_CTRL_TIMER_ENABLE
	.comm	_PRV_TIMER_CTRL_AUTO_RELOAD,4,2 ## @PRV_TIMER_CTRL_AUTO_RELOAD
	.comm	_PRV_TIMER_LOAD,4,2             ## @PRV_TIMER_LOAD
	.comm	_PRV_TIMER_COUNT,4,2            ## @PRV_TIMER_COUNT
	.no_dead_strip	_arm_tmr_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_tmr_start
_arm_tmr_start:                         ; @arm_tmr_start
	.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	x19, x2
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x21, _PRV_TIMER_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PRV_TIMER_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_tmr_prv_write_4
Lloh2:
	adrp	x8, _PRV_TIMER_INTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRV_TIMER_INTR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _PRV_TIMER_INTR_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PRV_TIMER_INTR_EVENT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tmr_prv_write_4
Lloh8:
	adrp	x8, _PRV_TIMER_CTRL_IRQ_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PRV_TIMER_CTRL_IRQ_ENABLE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _PRV_TIMER_CTRL_TIMER_ENABLE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PRV_TIMER_CTRL_TIMER_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _PRV_TIMER_CTRL_AUTO_RELOAD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PRV_TIMER_CTRL_AUTO_RELOAD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, wzr, w9, eq
	orr	w19, w8, w9
Lloh17:
	adrp	x8, _PRV_TIMER_LOAD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PRV_TIMER_LOAD@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tmr_prv_write_4
Lloh20:
	adrp	x8, _PRV_TIMER_COUNT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PRV_TIMER_COUNT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tmr_prv_write_4
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_tmr_prv_write_4
	mov	w0, #0
	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	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PRV_TIMER_CTRL,4,2             ; @PRV_TIMER_CTRL
	.comm	_PRV_TIMER_INTR,4,2             ; @PRV_TIMER_INTR
	.comm	_PRV_TIMER_INTR_EVENT,4,2       ; @PRV_TIMER_INTR_EVENT
	.comm	_PRV_TIMER_CTRL_IRQ_ENABLE,4,2  ; @PRV_TIMER_CTRL_IRQ_ENABLE
	.comm	_PRV_TIMER_CTRL_TIMER_ENABLE,4,2 ; @PRV_TIMER_CTRL_TIMER_ENABLE
	.comm	_PRV_TIMER_CTRL_AUTO_RELOAD,4,2 ; @PRV_TIMER_CTRL_AUTO_RELOAD
	.comm	_PRV_TIMER_LOAD,4,2             ; @PRV_TIMER_LOAD
	.comm	_PRV_TIMER_COUNT,4,2            ; @PRV_TIMER_COUNT
	.no_dead_strip	_arm_tmr_start
.subsections_via_symbols
