	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_disp_mthd_list
_nv50_disp_mthd_list:                   ## @nv50_disp_mthd_list
	.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
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%r8), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	%r8, %r12
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rcx
	addq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	movslq	%r9d, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$32, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_snprintf
	movq	_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rbx, %rbx
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %rax
	cmoveq	%rcx, %rbx
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %r8
	movq	%r14, %r9
	pushq	%rbx
	pushq	%rax
	pushq	%r15
	callq	_nvkm_printk_
	addq	$32, %rsp
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	8(%r12), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rax,%r13)
	leaq	24(%r13), %r13
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax,%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movq	%rax, %r15
	movq	8(%r12), %rax
	movq	8(%rax,%r13), %rsi
	addq	-104(%rbp), %rsi                ## 8-byte Folded Reload
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movq	%rax, %r14
	movq	8(%r12), %rax
	movslq	(%r12), %r12
	imulq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	addq	(%rax,%r13), %r12
	movq	16(%rax,%r13), %rbx
	cmpq	%r15, %r14
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%r15b, %ecx
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-> %08x"

L_.str.1:                               ## @.str.1
	.asciz	"%13c"

	.comm	_info,4,2                       ## @info
L_.str.2:                               ## @.str.2
	.asciz	"\t%04x: %08x %s%s%s\n"

L_.str.3:                               ## @.str.3
	.asciz	" // "

L_.str.4:                               ## @.str.4
	.space	1

	.no_dead_strip	_nv50_disp_mthd_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_disp_mthd_list
_nv50_disp_mthd_list:                   ; @nv50_disp_mthd_list
	.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
                                        ; kill: def $w5 killed $w5 def $x5
	stp	x0, x2, [sp, #24]               ; 16-byte Folded Spill
	str	w1, [sp, #20]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x8, [x4, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.1:
	mov	x19, x4
	mov	x24, #0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x23, [x9]
	sxtw	x9, w5
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x25, x9, w3, sxtw
Lloh3:
	adrp	x21, l_.str.4@PAGE
Lloh4:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #40
	mov	w1, #16
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w3, #32
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_snprintf
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	madd	x4, x26, x8, x22
Lloh7:
	adrp	x8, _info@GOTPAGE
Lloh8:
	ldr	x8, [x8, _info@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	cmp	x20, #0
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
	csel	x7, x21, x8, eq
	csel	x8, x21, x20, eq
	str	x8, [sp]
	add	x6, sp, #40
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x5, x27
	bl	_nvkm_printk_
	ldr	x8, [x19, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x8, x24
	ldr	x9, [x9, #24]
	add	x24, x24, #24
	cbz	x9, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x8, x24
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x1, x9, x8
	mov	x0, x23
	bl	_nvkm_rd32
	mov	x28, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	add	x1, x25, x8
	mov	x0, x23
	bl	_nvkm_rd32
	mov	x27, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x24
	ldr	x22, [x8]
	ldrsw	x26, [x19]
	ldr	x20, [x8, #16]
	cmp	x0, x28
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w3, w28
	add	x0, sp, #40
	mov	w1, #16
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_3
LBB0_8:
	ldr	x8, [sp, #56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-> %08x"

l_.str.1:                               ; @.str.1
	.asciz	"%13c"

	.comm	_info,4,2                       ; @info
l_.str.2:                               ; @.str.2
	.asciz	"\t%04x: %08x %s%s%s\n"

l_.str.3:                               ; @.str.3
	.asciz	" // "

l_.str.4:                               ; @.str.4
	.space	1

	.no_dead_strip	_nv50_disp_mthd_list
.subsections_via_symbols
