	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_dac_power                 ## -- Begin function nv50_dac_power
	.p2align	4, 0x90
_nv50_dac_power:                        ## @nv50_dac_power
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	(%rdi), %rax
	movq	(%rax), %r12
	callq	_nv50_ior_base
	testl	%r14d, %r14d
	sete	%cl
	xorl	%edx, %edx
	testl	%ebx, %ebx
	sete	%dl
	shll	$6, %edx
	xorl	%esi, %esi
	testl	%r13d, %r13d
	sete	%sil
	shll	$4, %esi
	orl	%edx, %esi
	xorl	%edx, %edx
	testl	%r15d, %r15d
	sete	%dl
	leal	(%rsi,%rdx,4), %edx
	xorl	%ebx, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%bl
	orl	%edx, %ebx
	shlb	$4, %cl
	shll	%cl, %ebx
	movl	%eax, %r14d
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movl	$85, %r15d
	shll	%cl, %r15d
	orl	$-1073741824, %r15d             ## imm = 0xC0000000
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_nv50_dac_power_wait
	leal	6397956(%r14), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_nvkm_mask
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv50_dac_power_wait            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_dac_power                 ; -- Begin function nv50_dac_power
	.p2align	2
_nv50_dac_power:                        ; @nv50_dac_power
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	cmp	w1, #0
	cset	w22, eq
	cmp	w4, #0
	cset	w23, eq
	cmp	w3, #0
	cset	w24, eq
	cmp	w2, #0
	cset	w25, eq
	ldr	x8, [x0]
	ldr	x20, [x8]
	bl	_nv50_ior_base
	mov	x21, x0
	lsl	w8, w25, #6
	bfi	w8, w24, #4, #1
	bfi	w8, w23, #2, #1
	cmp	w19, #0
	cset	w9, eq
	orr	w8, w8, w9
	lsl	x9, x22, #4
	lsl	w8, w8, w9
	orr	w19, w8, #0x80000000
	mov	w8, #85
	lsl	w8, w8, w9
	orr	w22, w8, #0xc0000000
	mov	x0, x20
	mov	x1, x21
	bl	_nv50_dac_power_wait
	add	w8, w21, #1562, lsl #12         ; =6397952
	add	w1, w8, #4
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	bl	_nvkm_mask
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nv50_dac_power_wait
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
