	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_rtc_configure_bus
_mv_rtc_configure_bus:                  ## @mv_rtc_configure_bus
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_RTC_SOC_RES@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_RTC_BRIDGE_TIMING_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_bus_read_4
	movq	_RTC_WRCLK_PERIOD_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_RTC_WRCLK_PERIOD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_RTC_WRCLK_PERIOD_MASK@GOTPCREL(%rip), %rcx
	movq	_RTC_READ_OUTPUT_DELAY_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	_RTC_READ_OUTPUT_DELAY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_RTC_READ_OUTPUT_DELAY_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	notl	%edi
	andl	%eax, %edi
	orl	%esi, %edx
	orl	%edi, %edx
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	(%r15), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_write_4                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTC_SOC_RES,8,3                ## @RTC_SOC_RES
	.comm	_RTC_BRIDGE_TIMING_CTRL,4,2     ## @RTC_BRIDGE_TIMING_CTRL
	.comm	_RTC_WRCLK_PERIOD_MASK,4,2      ## @RTC_WRCLK_PERIOD_MASK
	.comm	_RTC_READ_OUTPUT_DELAY_MASK,4,2 ## @RTC_READ_OUTPUT_DELAY_MASK
	.comm	_RTC_WRCLK_PERIOD_MAX,4,2       ## @RTC_WRCLK_PERIOD_MAX
	.comm	_RTC_WRCLK_PERIOD_SHIFT,4,2     ## @RTC_WRCLK_PERIOD_SHIFT
	.comm	_RTC_READ_OUTPUT_DELAY_MAX,4,2  ## @RTC_READ_OUTPUT_DELAY_MAX
	.comm	_RTC_READ_OUTPUT_DELAY_SHIFT,4,2 ## @RTC_READ_OUTPUT_DELAY_SHIFT
	.no_dead_strip	_mv_rtc_configure_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_rtc_configure_bus
_mv_rtc_configure_bus:                  ; @mv_rtc_configure_bus
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _RTC_SOC_RES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RTC_SOC_RES@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x21, _RTC_BRIDGE_TIMING_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RTC_BRIDGE_TIMING_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_bus_read_4
Lloh4:
	adrp	x8, _RTC_WRCLK_PERIOD_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RTC_WRCLK_PERIOD_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _RTC_READ_OUTPUT_DELAY_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RTC_READ_OUTPUT_DELAY_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh10:
	adrp	x9, _RTC_WRCLK_PERIOD_MAX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RTC_WRCLK_PERIOD_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _RTC_WRCLK_PERIOD_SHIFT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _RTC_WRCLK_PERIOD_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _RTC_READ_OUTPUT_DELAY_MAX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RTC_READ_OUTPUT_DELAY_MAX@GOTPAGEOFF]
Lloh18:
	adrp	x10, _RTC_READ_OUTPUT_DELAY_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RTC_READ_OUTPUT_DELAY_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x21]
	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	_bus_write_4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RTC_SOC_RES,8,3                ; @RTC_SOC_RES
	.comm	_RTC_BRIDGE_TIMING_CTRL,4,2     ; @RTC_BRIDGE_TIMING_CTRL
	.comm	_RTC_WRCLK_PERIOD_MASK,4,2      ; @RTC_WRCLK_PERIOD_MASK
	.comm	_RTC_READ_OUTPUT_DELAY_MASK,4,2 ; @RTC_READ_OUTPUT_DELAY_MASK
	.comm	_RTC_WRCLK_PERIOD_MAX,4,2       ; @RTC_WRCLK_PERIOD_MAX
	.comm	_RTC_WRCLK_PERIOD_SHIFT,4,2     ; @RTC_WRCLK_PERIOD_SHIFT
	.comm	_RTC_READ_OUTPUT_DELAY_MAX,4,2  ; @RTC_READ_OUTPUT_DELAY_MAX
	.comm	_RTC_READ_OUTPUT_DELAY_SHIFT,4,2 ; @RTC_READ_OUTPUT_DELAY_SHIFT
	.no_dead_strip	_mv_rtc_configure_bus
.subsections_via_symbols
