	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv94_aux                       ## -- Begin function nv94_aux
	.p2align	4, 0x90
_nv94_aux:                              ## @nv94_aux
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_nouveau_i2c
	movq	%rax, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rbx), %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_AUX_DBG
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_auxch_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.1:
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movl	%ebx, %r14d
	shll	$4, %r14d
	leal	(%r14,%r14,4), %r12d
	addl	$58600, %r12d                   ## imm = 0xE4E8
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_nv_rd32
	testl	$268435456, %eax                ## imm = 0x10000000
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_AUX_DBG
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_3:
	movl	%r12d, -92(%rbp)                ## 4-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	leal	(%r14,%r14,4), %r15d
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	testb	$1, %bl
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	leaq	-64(%rbp), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
	leal	58560(%r15), %r14d
	movl	-64(%rbp), %esi
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_AUX_DBG
	movl	-64(%rbp), %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nv_wr32
	movl	-60(%rbp), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_AUX_DBG
	movl	%r14d, %esi
	orl	$4, %esi
	movl	-60(%rbp), %edx
	movq	%rbx, %rdi
	callq	_nv_wr32
	movl	-56(%rbp), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_AUX_DBG
	movl	%r14d, %esi
	orl	$8, %esi
	movl	-56(%rbp), %edx
	movq	%rbx, %rdi
	callq	_nv_wr32
	movl	-52(%rbp), %esi
	movq	%r15, %rdi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_AUX_DBG
	orl	$12, %r14d
	movl	-52(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	callq	_nv_wr32
LBB0_5:
	movq	%r13, %r14
	leal	58596(%r15), %r13d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_nv_rd32
	andl	$-127232, %eax                  ## imm = 0xFFFE0F00
	movl	%ebx, %ecx
	shll	$12, %ecx
	decl	%r14d
	orl	%ecx, %r14d
	orl	%eax, %r14d
	leal	58592(%r15), %esi
	movq	%r12, %r15
	movq	%r12, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_nv_wr32
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	xorl	%ebx, %ebx
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	%r14d, %edx
	orl	$-2147483648, %edx              ## imm = 0x80000000
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_nv_wr32
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_nv_wr32
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	orl	$65536, %r14d                   ## imm = 0x10000
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_nv_wr32
	movl	$-1001, %ebx                    ## imm = 0xFC17
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_nv_rd32
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_udelay
	incl	%ebx
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	$65536, %r14d                   ## imm = 0x10000
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nv_mask
	testl	$986880, %eax                   ## imm = 0xF0F00
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_AUX_DBG
	incl	%ebx
	cmpl	$32, %ebx
	jne	LBB0_6
## %bb.14:
	movl	%r12d, %ebx
LBB0_15:
	testb	$1, -76(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %r12d
	jmp	LBB0_18
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	callq	_AUX_ERR
LBB0_18:
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
LBB0_19:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_auxch_fini
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	%ebx, %r12d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	addl	$58576, %ebx                    ## imm = 0xE4D0
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movl	%eax, -64(%rbp)
	leaq	L_.str.5(%rip), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_AUX_DBG
	movl	%ebx, %esi
	orl	$4, %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -60(%rbp)
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_AUX_DBG
	movl	%ebx, %esi
	orl	$8, %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -56(%rbp)
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_AUX_DBG
	orl	$12, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movl	%eax, -52(%rbp)
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_AUX_DBG
	leaq	-64(%rbp), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_18
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d: 0x%08x %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"sink not detected\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.2:                               ## @.str.2
	.asciz	"wr 0x%08x\n"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
L_.str.3:                               ## @.str.3
	.asciz	"tx req timeout 0x%08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"%02d 0x%08x 0x%08x\n"

L_.str.5:                               ## @.str.5
	.asciz	"rd 0x%08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv94_aux                       ; -- Begin function nv94_aux
	.p2align	2
_nv94_aux:                              ; @nv94_aux
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x24, x3
	mov	x26, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_nouveau_i2c
	mov	x19, x0
	stp	xzr, xzr, [sp, #40]
	ldr	w20, [x20]
	stp	x26, x21, [sp, #8]
	str	x23, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AUX_DBG
	mov	x0, x19
	mov	x1, x20
	bl	_auxch_init
	mov	x25, x0
	cbnz	w0, LBB0_14
; %bb.1:
	add	w8, w20, w20, lsl #2
	lsl	w22, w8, #4
	mov	w8, #58600
	add	w25, w22, w8
	mov	x0, x19
	mov	x1, x25
	bl	_nv_rd32
	tbnz	w0, #28, LBB0_3
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_AUX_DBG
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_14
LBB0_3:
	str	w25, [sp, #36]                  ; 4-byte Folded Spill
	tbnz	w23, #0, LBB0_5
; %bb.4:
	add	x0, sp, #40
	mov	x1, x24
	mov	x2, x21
	bl	_memcpy
	mov	w8, #58560
	add	w25, w22, w8
	ldr	w8, [sp, #40]
	str	x8, [sp]
Lloh10:
	adrp	x27, l_.str.2@PAGE
Lloh11:
	add	x27, x27, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_AUX_DBG
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	x1, x25
	bl	_nv_wr32
	ldr	w8, [sp, #44]
	str	x8, [sp]
	mov	x0, x27
	bl	_AUX_DBG
	orr	w1, w25, #0x4
	ldr	w2, [sp, #44]
	mov	x0, x19
	bl	_nv_wr32
	ldr	w8, [sp, #48]
	str	x8, [sp]
	mov	x0, x27
	bl	_AUX_DBG
	orr	w1, w25, #0x8
	ldr	w2, [sp, #48]
	mov	x0, x19
	bl	_nv_wr32
	ldr	w8, [sp, #52]
	str	x8, [sp]
	mov	x0, x27
	bl	_AUX_DBG
	orr	w1, w25, #0xc
	ldr	w2, [sp, #52]
	mov	x0, x19
	bl	_nv_wr32
LBB0_5:
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	mov	w24, #3840
	movk	w24, #15, lsl #16
	mov	w8, #58596
	add	w27, w22, w8
	mov	x0, x19
	mov	x1, x27
	bl	_nv_rd32
	sub	w8, w24, #272, lsl #12          ; =1114112
	and	w8, w0, w8
	sub	w9, w21, #1
	orr	w9, w9, w23, lsl #12
	orr	w28, w9, w8
	mov	w8, #58592
	add	w1, w22, w8
	mov	x0, x19
	mov	x2, x26
	bl	_nv_wr32
	mov	w26, #0
Lloh12:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	orr	w2, w28, #0x80000000
	mov	x0, x19
	mov	x1, x27
	bl	_nv_wr32
	mov	x0, x19
	mov	x1, x27
	mov	x2, x28
	bl	_nv_wr32
	cbz	w26, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #400
	bl	_udelay
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	orr	w2, w28, #0x10000
	mov	x0, x19
	mov	x1, x27
	bl	_nv_wr32
	mov	w24, #-1001
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x27
	bl	_nv_rd32
	mov	x28, x0
	mov	w0, #1
	bl	_udelay
	adds	w24, w24, #1
	b.hs	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	tbnz	w28, #16, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	mov	w2, #0
	mov	w3, #0
	bl	_nv_mask
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #3840
	movk	w8, #15, lsl #16
	tst	w0, w8
	b.eq	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	stp	x28, x0, [sp, #8]
	str	x26, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_AUX_DBG
	add	w26, w26, #1
	cmp	w26, #32
	b.ne	LBB0_6
	b	LBB0_17
LBB0_13:
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x28
	bl	_AUX_ERR
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_auxch_fini
	ldr	x8, [sp, #56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.15:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_16:
	mov	w25, #0
LBB0_17:
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	tbz	w23, #0, LBB0_14
; %bb.18:
	mov	w8, #58576
	add	w23, w22, w8
	mov	x0, x19
	mov	x1, x23
	bl	_nv_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [sp, #40]
	str	x0, [sp]
Lloh22:
	adrp	x24, l_.str.5@PAGE
Lloh23:
	add	x24, x24, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_AUX_DBG
	orr	w1, w23, #0x4
	mov	x0, x19
	bl	_nv_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [sp, #44]
	str	x0, [sp]
	mov	x0, x24
	bl	_AUX_DBG
	orr	w1, w23, #0x8
	mov	x0, x19
	bl	_nv_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [sp, #48]
	str	x0, [sp]
	mov	x0, x24
	bl	_AUX_DBG
	orr	w1, w23, #0xc
	mov	x0, x19
	bl	_nv_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [sp, #52]
	str	x0, [sp]
	mov	x0, x24
	bl	_AUX_DBG
	add	x1, sp, #40
	mov	x0, x26
	mov	x2, x21
	bl	_memcpy
	b	LBB0_14
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d: 0x%08x %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"sink not detected\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.2:                               ; @.str.2
	.asciz	"wr 0x%08x\n"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
l_.str.3:                               ; @.str.3
	.asciz	"tx req timeout 0x%08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"%02d 0x%08x 0x%08x\n"

l_.str.5:                               ; @.str.5
	.asciz	"rd 0x%08x\n"

.subsections_via_symbols
