	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_sor_apply_config
_tegra_sor_apply_config:                ## @tegra_sor_apply_config
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	_SOR_DP_LINKCTL0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_tegra_sor_readl
	movq	_SOR_DP_LINKCTL_TU_SIZE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	28(%r14), %edi
	callq	_SOR_DP_LINKCTL_TU_SIZE
	orl	%eax, %ebx
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_tegra_sor_writel
	movq	_SOR_DP_CONFIG0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_tegra_sor_readl
	movq	_SOR_DP_CONFIG_WATERMARK_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	24(%r14), %edi
	callq	_SOR_DP_CONFIG_WATERMARK
	orl	%eax, %ebx
	movq	_SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	notl	%r13d
	andl	%ebx, %r13d
	movl	20(%r14), %edi
	callq	_SOR_DP_CONFIG_ACTIVE_SYM_COUNT
	orl	%eax, %r13d
	movq	_SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	%r13d, %ebx
	movl	16(%r14), %edi
	callq	_SOR_DP_CONFIG_ACTIVE_SYM_FRAC
	orl	%eax, %ebx
	movq	_SOR_DP_CONFIG_ACTIVE_SYM_POLARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	orl	%ebx, %eax
	notl	%esi
	andl	%ebx, %esi
	cmpq	$0, 8(%r14)
	cmovnel	%eax, %esi
	movq	_SOR_DP_CONFIG_ACTIVE_SYM_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_SOR_DP_CONFIG_DISPARITY_NEGATIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_tegra_sor_writel
	movq	_SOR_DP_AUDIO_HBLANK_SYMBOLS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_tegra_sor_readl
	movq	_SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movzwl	(%r14), %esi
	orl	%ecx, %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_tegra_sor_writel
	movq	_SOR_DP_AUDIO_VBLANK_SYMBOLS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_tegra_sor_readl
	movq	_SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movzwl	4(%r14), %esi
	orl	%ecx, %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tegra_sor_writel               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOR_DP_LINKCTL0,4,2            ## @SOR_DP_LINKCTL0
	.comm	_SOR_DP_LINKCTL_TU_SIZE_MASK,4,2 ## @SOR_DP_LINKCTL_TU_SIZE_MASK
	.comm	_SOR_DP_CONFIG0,4,2             ## @SOR_DP_CONFIG0
	.comm	_SOR_DP_CONFIG_WATERMARK_MASK,4,2 ## @SOR_DP_CONFIG_WATERMARK_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK,4,2 ## @SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK,4,2 ## @SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_POLARITY,4,2 ## @SOR_DP_CONFIG_ACTIVE_SYM_POLARITY
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_ENABLE,4,2 ## @SOR_DP_CONFIG_ACTIVE_SYM_ENABLE
	.comm	_SOR_DP_CONFIG_DISPARITY_NEGATIVE,4,2 ## @SOR_DP_CONFIG_DISPARITY_NEGATIVE
	.comm	_SOR_DP_AUDIO_HBLANK_SYMBOLS,4,2 ## @SOR_DP_AUDIO_HBLANK_SYMBOLS
	.comm	_SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK,4,2 ## @SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK
	.comm	_SOR_DP_AUDIO_VBLANK_SYMBOLS,4,2 ## @SOR_DP_AUDIO_VBLANK_SYMBOLS
	.comm	_SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK,4,2 ## @SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK
	.no_dead_strip	_tegra_sor_apply_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_sor_apply_config
_tegra_sor_apply_config:                ; @tegra_sor_apply_config
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _SOR_DP_LINKCTL0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SOR_DP_LINKCTL0@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_tegra_sor_readl
Lloh2:
	adrp	x8, _SOR_DP_LINKCTL_TU_SIZE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOR_DP_LINKCTL_TU_SIZE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w22, w0, w8
	ldr	w0, [x20, #28]
	bl	_SOR_DP_LINKCTL_TU_SIZE
	orr	w1, w0, w22
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_sor_writel
Lloh5:
	adrp	x21, _SOR_DP_CONFIG0@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SOR_DP_CONFIG0@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tegra_sor_readl
Lloh7:
	adrp	x8, _SOR_DP_CONFIG_WATERMARK_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOR_DP_CONFIG_WATERMARK_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w22, w0, w8
	ldr	w0, [x20, #24]
	bl	_SOR_DP_CONFIG_WATERMARK
	orr	w8, w0, w22
Lloh10:
	adrp	x9, _SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	bic	w22, w8, w9
	ldr	w0, [x20, #20]
	bl	_SOR_DP_CONFIG_ACTIVE_SYM_COUNT
	orr	w8, w0, w22
Lloh13:
	adrp	x9, _SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w22, w8, w9
	ldr	w0, [x20, #16]
	bl	_SOR_DP_CONFIG_ACTIVE_SYM_FRAC
	orr	w8, w0, w22
	ldr	x9, [x20, #8]
Lloh16:
	adrp	x10, _SOR_DP_CONFIG_ACTIVE_SYM_POLARITY@GOTPAGE
Lloh17:
	ldr	x10, [x10, _SOR_DP_CONFIG_ACTIVE_SYM_POLARITY@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w11, w10, w8
	bic	w8, w8, w10
	cmp	x9, #0
	csel	w8, w8, w11, eq
Lloh19:
	adrp	x9, _SOR_DP_CONFIG_ACTIVE_SYM_ENABLE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SOR_DP_CONFIG_ACTIVE_SYM_ENABLE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh22:
	adrp	x9, _SOR_DP_CONFIG_DISPARITY_NEGATIVE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SOR_DP_CONFIG_DISPARITY_NEGATIVE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_sor_writel
Lloh25:
	adrp	x21, _SOR_DP_AUDIO_HBLANK_SYMBOLS@GOTPAGE
Lloh26:
	ldr	x21, [x21, _SOR_DP_AUDIO_HBLANK_SYMBOLS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tegra_sor_readl
Lloh27:
	adrp	x8, _SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldrh	w9, [x20]
	orr	w1, w9, w8
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_sor_writel
Lloh30:
	adrp	x21, _SOR_DP_AUDIO_VBLANK_SYMBOLS@GOTPAGE
Lloh31:
	ldr	x21, [x21, _SOR_DP_AUDIO_VBLANK_SYMBOLS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tegra_sor_readl
Lloh32:
	adrp	x8, _SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldrh	w9, [x20, #4]
	orr	w1, w9, w8
	ldr	w2, [x21]
	mov	x0, 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_sor_writel
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SOR_DP_LINKCTL0,4,2            ; @SOR_DP_LINKCTL0
	.comm	_SOR_DP_LINKCTL_TU_SIZE_MASK,4,2 ; @SOR_DP_LINKCTL_TU_SIZE_MASK
	.comm	_SOR_DP_CONFIG0,4,2             ; @SOR_DP_CONFIG0
	.comm	_SOR_DP_CONFIG_WATERMARK_MASK,4,2 ; @SOR_DP_CONFIG_WATERMARK_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK,4,2 ; @SOR_DP_CONFIG_ACTIVE_SYM_COUNT_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK,4,2 ; @SOR_DP_CONFIG_ACTIVE_SYM_FRAC_MASK
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_POLARITY,4,2 ; @SOR_DP_CONFIG_ACTIVE_SYM_POLARITY
	.comm	_SOR_DP_CONFIG_ACTIVE_SYM_ENABLE,4,2 ; @SOR_DP_CONFIG_ACTIVE_SYM_ENABLE
	.comm	_SOR_DP_CONFIG_DISPARITY_NEGATIVE,4,2 ; @SOR_DP_CONFIG_DISPARITY_NEGATIVE
	.comm	_SOR_DP_AUDIO_HBLANK_SYMBOLS,4,2 ; @SOR_DP_AUDIO_HBLANK_SYMBOLS
	.comm	_SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK,4,2 ; @SOR_DP_AUDIO_HBLANK_SYMBOLS_MASK
	.comm	_SOR_DP_AUDIO_VBLANK_SYMBOLS,4,2 ; @SOR_DP_AUDIO_VBLANK_SYMBOLS
	.comm	_SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK,4,2 ; @SOR_DP_AUDIO_VBLANK_SYMBOLS_MASK
	.no_dead_strip	_tegra_sor_apply_config
.subsections_via_symbols
