	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g94_sor_state                  ## -- Begin function g94_sor_state
	.p2align	4, 0x90
_g94_sor_state:                         ## @g94_sor_state
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movq	(%rax), %rdi
	movl	(%r14), %eax
	shll	$3, %eax
	leaq	8(%r14), %rcx
	xorl	%edx, %edx
	cmpq	%rsi, %rcx
	sete	%dl
	leal	(%rax,%rdx,4), %esi
	addl	$6358932, %esi                  ## imm = 0x610794
	callq	_nvkm_rd32
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%ecx, (%rbx)
	cmpl	$9, %ecx
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_LVDS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_TMDS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_TMDS@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_10:
	movq	_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	jmp	LBB0_11
LBB0_7:
	movq	_TMDS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movl	$3, 4(%rbx)
	jmp	LBB0_11
LBB0_8:
	movq	_DP@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movl	$1, 4(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	_DP@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movl	$2, 4(%rbx)
LBB0_11:
	movl	%eax, %ecx
	andl	$3, %ecx
	movl	%ecx, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nv50_pior_depth                ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_LVDS,8,3                       ## @LVDS
	.comm	_TMDS,8,3                       ## @TMDS
	.comm	_DP,8,3                         ## @DP
	.comm	_UNKNOWN,8,3                    ## @UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g94_sor_state                  ; -- Begin function g94_sor_state
	.p2align	2
_g94_sor_state:                         ; @g94_sor_state
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #32]
	ldr	x0, [x8]
	ldr	w8, [x20]
	add	x9, x20, #8
	mov	w10, #1940
	movk	w10, #97, lsl #16
	add	w11, w10, #4
	cmp	x9, x1
	csel	w9, w11, w10, eq
	add	w1, w9, w8, lsl #3
	bl	_nvkm_rd32
	mov	x2, x0
	ubfx	w8, w0, #8, #4
	str	w8, [x19]
	cmp	w8, #9
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _LVDS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LVDS@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _TMDS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TMDS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _TMDS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TMDS@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh8:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_12
LBB0_6:
Lloh11:
	adrp	x8, _TMDS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TMDS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	w8, #3
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x8, _DP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DP@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	w8, #1
	b	LBB0_11
LBB0_9:
Lloh16:
	adrp	x8, _DP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DP@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	w8, #2
LBB0_11:
	str	w8, [x19, #4]
LBB0_12:
	and	w8, w2, #0x3
	str	w8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nv50_pior_depth
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_LVDS,8,3                       ; @LVDS
	.comm	_TMDS,8,3                       ; @TMDS
	.comm	_DP,8,3                         ; @DP
	.comm	_UNKNOWN,8,3                    ; @UNKNOWN
.subsections_via_symbols
