	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_mtu2_clock_event_mode
_sh_mtu2_clock_event_mode:              ## @sh_mtu2_clock_event_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, %rbx
	movl	%edi, %r15d
	movq	%rsi, %rdi
	callq	_ced_to_sh_mtu2
	movq	%rax, %r14
	movl	(%rbx), %r12d
	cmpl	$130, %r12d
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_sh_mtu2_disable
LBB0_2:
	cmpl	$128, %r15d
	je	LBB0_5
## %bb.3:
	cmpl	$130, %r15d
	jne	LBB0_6
## %bb.4:
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sh_mtu2_enable                 ## TAILCALL
LBB0_5:
	cmpl	$130, %r12d
	jne	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sh_mtu2_disable                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sh_mtu2: %s used for periodic clock events\n"

	.no_dead_strip	_sh_mtu2_clock_event_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_mtu2_clock_event_mode
_sh_mtu2_clock_event_mode:              ; @sh_mtu2_clock_event_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	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_ced_to_sh_mtu2
	mov	x19, x0
	ldr	w22, [x20]
	cmp	w22, #130
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_sh_mtu2_disable
LBB0_2:
	cmp	w21, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w21, #130
	b.ne	LBB0_6
; %bb.4:
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	x0, 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
	b	_sh_mtu2_enable
LBB0_5:
	cmp	w22, #130
	b.ne	LBB0_7
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:
	mov	x0, 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
	b	_sh_mtu2_disable
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sh_mtu2: %s used for periodic clock events\n"

	.no_dead_strip	_sh_mtu2_clock_event_mode
.subsections_via_symbols
