	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devbus_armada_set_timing_params
_devbus_armada_set_timing_params:       ## @devbus_armada_set_timing_params
	.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	%rcx, %r14
	movq	_ARMADA_DEV_WIDTH_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	(%rdx), %esi
	movl	4(%rdx), %eax
	shll	%cl, %esi
	movq	_ARMADA_BADR_SKEW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	8(%rdx), %ebx
	movq	_ARMADA_RD_HOLD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	%rdi, %r15
	movq	_ARMADA_ACC_NEXT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	12(%rdx), %edi
	shll	%cl, %edi
	orl	%esi, %eax
	orl	%ebx, %edi
	movl	16(%rdx), %esi
	movq	_ARMADA_RD_SETUP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %edi
	movl	20(%rdx), %ebx
	movq	_ARMADA_ACC_FIRST_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%esi, %ebx
	orl	%edi, %ebx
	orl	24(%rdx), %ebx
	movl	8(%r15), %edi
	movq	_ARMADA_READ_PARAM_OFFSET@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	addq	(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_dbg
	movq	(%r12), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_ARMADA_SYNC_ENABLE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	(%r14), %eax
	movl	4(%r14), %edx
	shll	%cl, %eax
	movq	_ARMADA_WR_LOW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movl	8(%r14), %ebx
	movq	_ARMADA_WR_HIGH_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%edx, %ebx
	orl	12(%r14), %ebx
	movl	8(%r15), %edi
	movq	_ARMADA_WRITE_PARAM_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	addq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_dbg
	movq	(%r14), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARMADA_DEV_WIDTH_SHIFT,4,2     ## @ARMADA_DEV_WIDTH_SHIFT
	.comm	_ARMADA_BADR_SKEW_SHIFT,4,2     ## @ARMADA_BADR_SKEW_SHIFT
	.comm	_ARMADA_RD_HOLD_SHIFT,4,2       ## @ARMADA_RD_HOLD_SHIFT
	.comm	_ARMADA_ACC_NEXT_SHIFT,4,2      ## @ARMADA_ACC_NEXT_SHIFT
	.comm	_ARMADA_RD_SETUP_SHIFT,4,2      ## @ARMADA_RD_SETUP_SHIFT
	.comm	_ARMADA_ACC_FIRST_SHIFT,4,2     ## @ARMADA_ACC_FIRST_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read parameters register 0x%p = 0x%x\n"

	.comm	_ARMADA_READ_PARAM_OFFSET,8,3   ## @ARMADA_READ_PARAM_OFFSET
	.comm	_ARMADA_SYNC_ENABLE_SHIFT,4,2   ## @ARMADA_SYNC_ENABLE_SHIFT
	.comm	_ARMADA_WR_LOW_SHIFT,4,2        ## @ARMADA_WR_LOW_SHIFT
	.comm	_ARMADA_WR_HIGH_SHIFT,4,2       ## @ARMADA_WR_HIGH_SHIFT
L_.str.1:                               ## @.str.1
	.asciz	"write parameters register: 0x%p = 0x%x\n"

	.comm	_ARMADA_WRITE_PARAM_OFFSET,8,3  ## @ARMADA_WRITE_PARAM_OFFSET
	.no_dead_strip	_devbus_armada_set_timing_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devbus_armada_set_timing_params
_devbus_armada_set_timing_params:       ; @devbus_armada_set_timing_params
	.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, x3
	mov	x19, x0
Lloh0:
	adrp	x8, _ARMADA_DEV_WIDTH_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARMADA_DEV_WIDTH_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x2]
Lloh3:
	adrp	x11, _ARMADA_BADR_SKEW_SHIFT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ARMADA_BADR_SKEW_SHIFT@GOTPAGEOFF]
	lsl	w8, w9, w8
Lloh5:
	ldr	w9, [x11]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _ARMADA_RD_HOLD_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARMADA_RD_HOLD_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldp	w10, w11, [x2, #8]
	lsl	w9, w10, w9
Lloh9:
	adrp	x10, _ARMADA_ACC_NEXT_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ARMADA_ACC_NEXT_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	lsl	w9, w11, w9
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _ARMADA_RD_SETUP_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ARMADA_RD_SETUP_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldp	w10, w11, [x2, #16]
	lsl	w9, w10, w9
Lloh15:
	adrp	x10, _ARMADA_ACC_FIRST_SHIFT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ARMADA_ACC_FIRST_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	lsl	w9, w11, w9
	orr	w8, w8, w9
	ldr	w9, [x2, #24]
	orr	w21, w8, w9
	ldr	w0, [x0, #8]
	ldr	x8, [x19]
Lloh18:
	adrp	x22, _ARMADA_READ_PARAM_OFFSET@GOTPAGE
Lloh19:
	ldr	x22, [x22, _ARMADA_READ_PARAM_OFFSET@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x2, x9, x8
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_dev_dbg
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
Lloh22:
	adrp	x8, _ARMADA_SYNC_ENABLE_SHIFT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ARMADA_SYNC_ENABLE_SHIFT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldp	w9, w10, [x20]
Lloh25:
	adrp	x11, _ARMADA_WR_LOW_SHIFT@GOTPAGE
Lloh26:
	ldr	x11, [x11, _ARMADA_WR_LOW_SHIFT@GOTPAGEOFF]
	lsl	w8, w9, w8
Lloh27:
	ldr	w9, [x11]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _ARMADA_WR_HIGH_SHIFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ARMADA_WR_HIGH_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ldp	w10, w11, [x20, #8]
	lsl	w9, w10, w9
	orr	w8, w8, w9
	orr	w20, w8, w11
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
Lloh31:
	adrp	x21, _ARMADA_WRITE_PARAM_OFFSET@GOTPAGE
Lloh32:
	ldr	x21, [x21, _ARMADA_WRITE_PARAM_OFFSET@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x2, x9, x8
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x20
	bl	_dev_dbg
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	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	_writel
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_ARMADA_DEV_WIDTH_SHIFT,4,2     ; @ARMADA_DEV_WIDTH_SHIFT
	.comm	_ARMADA_BADR_SKEW_SHIFT,4,2     ; @ARMADA_BADR_SKEW_SHIFT
	.comm	_ARMADA_RD_HOLD_SHIFT,4,2       ; @ARMADA_RD_HOLD_SHIFT
	.comm	_ARMADA_ACC_NEXT_SHIFT,4,2      ; @ARMADA_ACC_NEXT_SHIFT
	.comm	_ARMADA_RD_SETUP_SHIFT,4,2      ; @ARMADA_RD_SETUP_SHIFT
	.comm	_ARMADA_ACC_FIRST_SHIFT,4,2     ; @ARMADA_ACC_FIRST_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read parameters register 0x%p = 0x%x\n"

	.comm	_ARMADA_READ_PARAM_OFFSET,8,3   ; @ARMADA_READ_PARAM_OFFSET
	.comm	_ARMADA_SYNC_ENABLE_SHIFT,4,2   ; @ARMADA_SYNC_ENABLE_SHIFT
	.comm	_ARMADA_WR_LOW_SHIFT,4,2        ; @ARMADA_WR_LOW_SHIFT
	.comm	_ARMADA_WR_HIGH_SHIFT,4,2       ; @ARMADA_WR_HIGH_SHIFT
l_.str.1:                               ; @.str.1
	.asciz	"write parameters register: 0x%p = 0x%x\n"

	.comm	_ARMADA_WRITE_PARAM_OFFSET,8,3  ; @ARMADA_WRITE_PARAM_OFFSET
	.no_dead_strip	_devbus_armada_set_timing_params
.subsections_via_symbols
