	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf119_dac_state
_gf119_dac_state:                       ## @gf119_dac_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	leaq	4(%rdi), %rcx
	xorl	%edx, %edx
	cmpq	%rsi, %rcx
	sete	%dl
	movl	(%rdi), %ecx
	shll	$5, %ecx
	shll	$17, %edx
	leal	(%rdx,%rcx), %esi
	addl	$6553984, %esi                  ## imm = 0x640180
	movq	%rax, %rdi
	callq	_nvkm_rd32
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%ecx, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_CRT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_UNKNOWN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	andl	$15, %eax
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRT,4,2                        ## @CRT
	.comm	_UNKNOWN,4,2                    ## @UNKNOWN
	.no_dead_strip	_gf119_dac_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf119_dac_state
_gf119_dac_state:                       ; @gf119_dac_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
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	add	x9, x0, #4
	ldr	w10, [x0]
	mov	w11, #384
	movk	w11, #100, lsl #16
	orr	w12, w11, #0x20000
	cmp	x9, x1
	csel	w9, w12, w11, eq
	add	w1, w9, w10, lsl #5
	mov	x0, x8
	bl	_nvkm_rd32
	mov	w8, #15
	ands	w8, w8, w0, lsr #8
Lloh0:
	adrp	x9, _CRT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _UNKNOWN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _UNKNOWN@GOTPAGEOFF]
	str	w8, [x19]
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	and	w9, w0, #0xf
	stp	w9, w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CRT,4,2                        ; @CRT
	.comm	_UNKNOWN,4,2                    ; @UNKNOWN
	.no_dead_strip	_gf119_dac_state
.subsections_via_symbols
