	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dsi_pad_calibrate
_tegra_dsi_pad_calibrate:               ## @tegra_dsi_pad_calibrate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_DSI_PAD_CONTROL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_tegra_dsi_writel
	movq	_DSI_PAD_CONTROL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tegra_dsi_writel
	movq	_DSI_PAD_CONTROL_2@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tegra_dsi_writel
	movq	_DSI_PAD_CONTROL_3@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tegra_dsi_writel
	movq	_DSI_PAD_CONTROL_4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tegra_dsi_writel
	movq	%r14, %rdi
	callq	_tegra_dsi_pad_enable
	movl	$7, %edi
	callq	_DSI_PAD_SLEW_UP
	movl	%eax, %r15d
	movl	$7, %edi
	callq	_DSI_PAD_SLEW_DN
	orl	%eax, %r15d
	movl	$1, %edi
	callq	_DSI_PAD_LP_UP
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_DSI_PAD_LP_DN
	orl	%eax, %ebx
	orl	%r15d, %ebx
	xorl	%edi, %edi
	callq	_DSI_PAD_OUT_CLK
	orl	%eax, %ebx
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tegra_dsi_writel
	movl	$3, %edi
	callq	_DSI_PAD_PREEMP_PD_CLK
	movl	%eax, %r15d
	movl	$3, %edi
	callq	_DSI_PAD_PREEMP_PU_CLK
	orl	%eax, %r15d
	movl	$3, %edi
	callq	_DSI_PAD_PREEMP_PD
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_DSI_PAD_PREEMP_PU
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tegra_dsi_writel
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tegra_mipi_calibrate           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_PAD_CONTROL_0,4,2          ## @DSI_PAD_CONTROL_0
	.comm	_DSI_PAD_CONTROL_1,4,2          ## @DSI_PAD_CONTROL_1
	.comm	_DSI_PAD_CONTROL_2,4,2          ## @DSI_PAD_CONTROL_2
	.comm	_DSI_PAD_CONTROL_3,4,2          ## @DSI_PAD_CONTROL_3
	.comm	_DSI_PAD_CONTROL_4,4,2          ## @DSI_PAD_CONTROL_4
	.no_dead_strip	_tegra_dsi_pad_calibrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dsi_pad_calibrate
_tegra_dsi_pad_calibrate:               ; @tegra_dsi_pad_calibrate
	.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
Lloh0:
	adrp	x8, _DSI_PAD_CONTROL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_PAD_CONTROL_0@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_tegra_dsi_writel
Lloh3:
	adrp	x8, _DSI_PAD_CONTROL_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSI_PAD_CONTROL_1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_tegra_dsi_writel
Lloh6:
	adrp	x22, _DSI_PAD_CONTROL_2@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DSI_PAD_CONTROL_2@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_tegra_dsi_writel
Lloh8:
	adrp	x21, _DSI_PAD_CONTROL_3@GOTPAGE
Lloh9:
	ldr	x21, [x21, _DSI_PAD_CONTROL_3@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_tegra_dsi_writel
Lloh10:
	adrp	x8, _DSI_PAD_CONTROL_4@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSI_PAD_CONTROL_4@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_tegra_dsi_writel
	mov	x0, x19
	bl	_tegra_dsi_pad_enable
	mov	w0, #7
	bl	_DSI_PAD_SLEW_UP
	mov	x20, x0
	mov	w0, #7
	bl	_DSI_PAD_SLEW_DN
	orr	w20, w0, w20
	mov	w0, #1
	bl	_DSI_PAD_LP_UP
	orr	w20, w20, w0
	mov	w0, #1
	bl	_DSI_PAD_LP_DN
	orr	w20, w20, w0
	mov	w0, #0
	bl	_DSI_PAD_OUT_CLK
	orr	w1, w20, w0
	ldr	w2, [x22]
	mov	x0, x19
	bl	_tegra_dsi_writel
	mov	w0, #3
	bl	_DSI_PAD_PREEMP_PD_CLK
	mov	x20, x0
	mov	w0, #3
	bl	_DSI_PAD_PREEMP_PU_CLK
	orr	w20, w0, w20
	mov	w0, #3
	bl	_DSI_PAD_PREEMP_PD
	orr	w20, w20, w0
	mov	w0, #3
	bl	_DSI_PAD_PREEMP_PU
	orr	w1, w20, w0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_dsi_writel
	ldr	w0, [x19]
	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	_tegra_mipi_calibrate
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_PAD_CONTROL_0,4,2          ; @DSI_PAD_CONTROL_0
	.comm	_DSI_PAD_CONTROL_1,4,2          ; @DSI_PAD_CONTROL_1
	.comm	_DSI_PAD_CONTROL_2,4,2          ; @DSI_PAD_CONTROL_2
	.comm	_DSI_PAD_CONTROL_3,4,2          ; @DSI_PAD_CONTROL_3
	.comm	_DSI_PAD_CONTROL_4,4,2          ; @DSI_PAD_CONTROL_4
	.no_dead_strip	_tegra_dsi_pad_calibrate
.subsections_via_symbols
