	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccu_sun50i_h6_r_attach
_ccu_sun50i_h6_r_attach:                ## @ccu_sun50i_h6_r_attach
	.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
	movq	_ccu_sun50i_h6_r_resets@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 40(%rbx)
	callq	_nitems
	movq	%rax, 32(%rbx)
	movq	_ccu_sun50i_h6_r_gates@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_nitems
	movq	%rax, 16(%rbx)
	movq	_clks@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%rbx)
	callq	_nitems
	movq	%rax, (%rbx)
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_aw_ccung_attach                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ccu_sun50i_h6_r_resets,8,3     ## @ccu_sun50i_h6_r_resets
	.comm	_ccu_sun50i_h6_r_gates,8,3      ## @ccu_sun50i_h6_r_gates
	.comm	_clks,8,3                       ## @clks
	.no_dead_strip	_ccu_sun50i_h6_r_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccu_sun50i_h6_r_attach
_ccu_sun50i_h6_r_attach:                ; @ccu_sun50i_h6_r_attach
	.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
	bl	_device_get_softc
	mov	x20, x0
Lloh0:
	adrp	x8, _ccu_sun50i_h6_r_resets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ccu_sun50i_h6_r_resets@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	str	x0, [x20, #40]
	bl	_nitems
Lloh3:
	adrp	x8, _ccu_sun50i_h6_r_gates@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ccu_sun50i_h6_r_gates@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #24]
	mov	x0, x8
	bl	_nitems
Lloh6:
	adrp	x8, _clks@GOTPAGE
Lloh7:
	ldr	x8, [x8, _clks@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #8]
	mov	x0, x8
	bl	_nitems
	str	x0, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_aw_ccung_attach
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ccu_sun50i_h6_r_resets,8,3     ; @ccu_sun50i_h6_r_resets
	.comm	_ccu_sun50i_h6_r_gates,8,3      ; @ccu_sun50i_h6_r_gates
	.comm	_clks,8,3                       ; @clks
	.no_dead_strip	_ccu_sun50i_h6_r_attach
.subsections_via_symbols
