	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gm200_i2c_aux_init
_gm200_i2c_aux_init:                    ## @gm200_i2c_aux_init
	.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	%rdi, %r15
	leaq	8(%rdi), %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	$-1001, %ebx                    ## imm = 0xFC17
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %esi
	shll	$4, %esi
	addl	$55636, %esi                    ## imm = 0xD954
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movl	$1, %edi
	callq	_udelay
	incl	%ebx
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	$50397184, %r13d                ## imm = 0x3010000
	jne	LBB0_1
## %bb.5:
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %esi
	shll	$4, %esi
	addl	$55636, %esi                    ## imm = 0xD954
	movq	%r12, %rdi
	movl	$3145728, %edx                  ## imm = 0x300000
	movl	$1048576, %ecx                  ## imm = 0x100000
	callq	_nvkm_mask
	movl	$-1001, %r13d                   ## imm = 0xFC17
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %esi
	shll	$4, %esi
	addl	$55636, %esi                    ## imm = 0xD954
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_udelay
	incl	%r13d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	andl	$50331648, %ebx                 ## imm = 0x3000000
	cmpl	$16777216, %ebx                 ## imm = 0x1000000
	jne	LBB0_6
## %bb.9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_AUX_ERR
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_AUX_ERR
	movq	%r15, %rdi
	callq	_gm200_i2c_aux_fini
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"begin idle timeout %08x"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"magic wait %08x"

	.no_dead_strip	_gm200_i2c_aux_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gm200_i2c_aux_init
_gm200_i2c_aux_init:                    ; @gm200_i2c_aux_init
	.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, x0
	mov	x20, x0
	ldr	x8, [x20, #8]!
	ldr	x8, [x8]
	ldr	x21, [x8]
	mov	w23, #-1001
	mov	w24, #80
	mov	w25, #55636
	mov	w26, #50397184
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	madd	w1, w8, w24, w25
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x22, x0
	mov	w0, #1
	bl	_udelay
	adds	w23, w23, #1
	b.hs	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	tst	w22, w26
	b.ne	LBB0_1
; %bb.3:
	ldr	w8, [x19]
	mov	w23, #80
	mov	w24, #55636
	madd	w1, w8, w23, w24
	mov	x0, x21
	mov	w2, #3145728
	mov	w3, #1048576
	bl	_nvkm_mask
	mov	w25, #-1001
	mov	w26, #16777216
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	madd	w1, w8, w23, w24
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x22, x0
	mov	w0, #1
	bl	_udelay
	adds	w25, w25, #1
	b.hs	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w22, #0x3000000
	cmp	w8, w26
	b.ne	LBB0_4
; %bb.6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_AUX_ERR
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_AUX_ERR
	mov	x0, x19
	bl	_gm200_i2c_aux_fini
LBB0_9:
Lloh4:
	adrp	x8, _EBUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"begin idle timeout %08x"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"magic wait %08x"

	.no_dead_strip	_gm200_i2c_aux_init
.subsections_via_symbols
