	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmi_timer_set_mode
_vmi_timer_set_mode:                    ## @vmi_timer_set_mode
	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_irqs_disabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.3:
	movl	(%r14), %eax
	cmpl	$131, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$132, %eax
	jne	LBB0_8
## %bb.5:
	movq	_vmi_timer_ops@GOTPCREL(%rip), %rax
	movq	_VMI_ONESHOT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	cmpl	$131, %ebx
	jne	LBB0_8
## %bb.2:
	movq	_vmi_timer_ops@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	callq	*24(%r14)
	movl	%eax, %ebx
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_do_div
	movq	16(%r14), %r15
	movq	_VMI_PERIODIC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_vmi_counter
	movl	%eax, %edi
	callq	*%r15
	movq	8(%r14), %rcx
	movl	(%r12), %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_vmi_timer_ops@GOTPCREL(%rip), %rax
	movq	_VMI_PERIODIC@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vmi_timer_ops,32,3             ## @vmi_timer_ops
	.comm	_HZ,4,2                         ## @HZ
	.comm	_VMI_PERIODIC,4,2               ## @VMI_PERIODIC
	.comm	_VMI_ONESHOT,4,2                ## @VMI_ONESHOT
	.no_dead_strip	_vmi_timer_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmi_timer_set_mode
_vmi_timer_set_mode:                    ; @vmi_timer_set_mode
	.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, x1
	mov	x20, x0
	bl	_irqs_disabled
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	sub	w8, w20, #128
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #132
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _vmi_timer_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmi_timer_ops@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _VMI_ONESHOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMI_ONESHOT@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	cmp	w20, #131
	b.ne	LBB0_6
; %bb.5:
Lloh5:
	adrp	x20, _vmi_timer_ops@GOTPAGE
Lloh6:
	ldr	x20, [x20, _vmi_timer_ops@GOTPAGEOFF]
	ldr	x8, [x20, #24]
	blr	x8
	mov	x19, x0
Lloh7:
	adrp	x8, _HZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_do_div
	ldr	x21, [x20, #16]
Lloh10:
	adrp	x22, _VMI_PERIODIC@GOTPAGE
Lloh11:
	ldr	x22, [x22, _VMI_PERIODIC@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_vmi_counter
	blr	x21
	mov	x1, x0
	ldr	x3, [x20, #8]
	ldr	w0, [x22]
	mov	x2, 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
	br	x3
LBB0_6:
	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
LBB0_7:
Lloh12:
	adrp	x8, _vmi_timer_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vmi_timer_ops@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
Lloh15:
	adrp	x8, _VMI_PERIODIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VMI_PERIODIC@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	br	x1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_vmi_timer_ops,32,3             ; @vmi_timer_ops
	.comm	_HZ,4,2                         ; @HZ
	.comm	_VMI_PERIODIC,4,2               ; @VMI_PERIODIC
	.comm	_VMI_ONESHOT,4,2                ; @VMI_ONESHOT
	.no_dead_strip	_vmi_timer_set_mode
.subsections_via_symbols
