	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_tmu_register_clocksource
_sh_tmu_register_clocksource:           ## @sh_tmu_register_clocksource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, (%rdi)
	movq	%rdx, 8(%rdi)
	movq	_sh_tmu_clocksource_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movq	_sh_tmu_clocksource_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_sh_tmu_clocksource_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movl	$32, %edi
	callq	_CLOCKSOURCE_MASK
	movl	%eax, 20(%rbx)
	movq	_CLOCK_SOURCE_IS_CONTINUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	%rbx, %rdi
	callq	_clocksource_register
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sh_tmu_clocksource_read,4,2    ## @sh_tmu_clocksource_read
	.comm	_sh_tmu_clocksource_enable,4,2  ## @sh_tmu_clocksource_enable
	.comm	_sh_tmu_clocksource_disable,4,2 ## @sh_tmu_clocksource_disable
	.comm	_CLOCK_SOURCE_IS_CONTINUOUS,4,2 ## @CLOCK_SOURCE_IS_CONTINUOUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sh_tmu: %s used as clock source\n"

	.no_dead_strip	_sh_tmu_register_clocksource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_tmu_register_clocksource
_sh_tmu_register_clocksource:           ; @sh_tmu_register_clocksource
	.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
	stp	x1, x2, [x0]
Lloh0:
	adrp	x8, _sh_tmu_clocksource_read@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sh_tmu_clocksource_read@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh3:
	adrp	x8, _sh_tmu_clocksource_enable@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sh_tmu_clocksource_enable@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _sh_tmu_clocksource_disable@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sh_tmu_clocksource_disable@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	mov	w0, #32
	bl	_CLOCKSOURCE_MASK
Lloh9:
	adrp	x8, _CLOCK_SOURCE_IS_CONTINUOUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLOCK_SOURCE_IS_CONTINUOUS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	ldr	x1, [x19]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	x0, x19
	bl	_clocksource_register
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sh_tmu_clocksource_read,4,2    ; @sh_tmu_clocksource_read
	.comm	_sh_tmu_clocksource_enable,4,2  ; @sh_tmu_clocksource_enable
	.comm	_sh_tmu_clocksource_disable,4,2 ; @sh_tmu_clocksource_disable
	.comm	_CLOCK_SOURCE_IS_CONTINUOUS,4,2 ; @CLOCK_SOURCE_IS_CONTINUOUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sh_tmu: %s used as clock source\n"

	.no_dead_strip	_sh_tmu_register_clocksource
.subsections_via_symbols
