	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_clocks
_register_clocks:                       ## @register_clocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_clkdom_create
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movq	%rbx, %rdi
	callq	_tegra124_init_plls
	movq	_tegra124_fixed_clks@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_init_fixeds
	movq	_tegra124_mux_clks@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_init_muxes
	movq	_tegra124_div_clks@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_init_divs
	movq	_tegra124_gate_clks@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_init_gates
	movq	%rbx, %rdi
	callq	_tegra124_periph_clock
	movq	%rbx, %rdi
	callq	_tegra124_super_mux_clock
	movq	(%rbx), %rdi
	callq	_clkdom_finit
	movq	(%rbx), %rdi
	callq	_clkdom_xlock
	movq	%rbx, %rdi
	callq	_postinit_clock
	movq	(%rbx), %rdi
	callq	_clkdom_unlock
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clkdom_dump                    ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clkdom == NULL"

	.comm	_tegra124_fixed_clks,4,2        ## @tegra124_fixed_clks
	.comm	_tegra124_mux_clks,4,2          ## @tegra124_mux_clks
	.comm	_tegra124_div_clks,4,2          ## @tegra124_div_clks
	.comm	_tegra124_gate_clks,4,2         ## @tegra124_gate_clks
	.comm	_bootverbose,8,3                ## @bootverbose
	.no_dead_strip	_register_clocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_clocks
_register_clocks:                       ; @register_clocks
	.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	x20, x0
	bl	_device_get_softc
	mov	x19, x0
	mov	x0, x20
	bl	_clkdom_create
	str	x0, [x19]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
	mov	x0, x19
	bl	_tegra124_init_plls
Lloh2:
	adrp	x8, _tegra124_fixed_clks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tegra124_fixed_clks@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_nitems
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_init_fixeds
Lloh5:
	adrp	x8, _tegra124_mux_clks@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tegra124_mux_clks@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_nitems
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_init_muxes
Lloh8:
	adrp	x8, _tegra124_div_clks@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tegra124_div_clks@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_nitems
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_init_divs
Lloh11:
	adrp	x8, _tegra124_gate_clks@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tegra124_gate_clks@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_nitems
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_init_gates
	mov	x0, x19
	bl	_tegra124_periph_clock
	mov	x0, x19
	bl	_tegra124_super_mux_clock
	ldr	x0, [x19]
	bl	_clkdom_finit
	ldr	x0, [x19]
	bl	_clkdom_xlock
	mov	x0, x19
	bl	_postinit_clock
	ldr	x0, [x19]
	bl	_clkdom_unlock
Lloh14:
	adrp	x8, _bootverbose@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clkdom_dump
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clkdom == NULL"

	.comm	_tegra124_fixed_clks,4,2        ; @tegra124_fixed_clks
	.comm	_tegra124_mux_clks,4,2          ; @tegra124_mux_clks
	.comm	_tegra124_div_clks,4,2          ; @tegra124_div_clks
	.comm	_tegra124_gate_clks,4,2         ; @tegra124_gate_clks
	.comm	_bootverbose,8,3                ; @bootverbose
	.no_dead_strip	_register_clocks
.subsections_via_symbols
