	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_disp_chan_mthd            ## -- Begin function nv50_disp_chan_mthd
	.p2align	4, 0x90
_nv50_disp_chan_mthd:                   ## @nv50_disp_chan_mthd
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	16(%rdi), %rax
	movl	%esi, -108(%rbp)                ## 4-byte Spill
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	cmpl	%esi, (%rax)
	jl	LBB0_12
## %bb.1:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-120(%rbp), %rdx                ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	leaq	(%rdx,%rdx,2), %rcx
	movq	16(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	leaq	(%rdx,%rdx,2), %r13
	cmpl	$0, (%rax,%r13,8)
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx), %edx
	imull	%ecx, %edx
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %r15
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %r8d
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rcx
	callq	_snprintf
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	%r14, %r15
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$2, (%rax,%r13,8)
	leaq	L_.str(%rip), %r9
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%rax,%r13,8), %rcx
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %r8d
	callq	_snprintf
	movq	%r14, %r9
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rbx
	movl	-108(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %esi
	leaq	L_.str.3(%rip), %rcx
	movq	%r15, %r8
	callq	_nvkm_printk_
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %ecx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %r13
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movq	%rax, %r14
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r8
	movl	%r12d, %r9d
	callq	_nv50_disp_mthd_list
	incl	%r12d
	movq	24(%r14), %rax
	cmpl	(%rax,%r13,8), %r12d
	jge	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=2
	addl	(%r15), %ebx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	(%r14), %ecx
	jmp	LBB0_5
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"%s %d"

L_.str.2:                               ## @.str.2
	.asciz	" - %s %d"

	.comm	_info,4,2                       ## @info
L_.str.3:                               ## @.str.3
	.asciz	"%s%s:\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_disp_chan_mthd            ; -- Begin function nv50_disp_chan_mthd
	.p2align	2
_nv50_disp_chan_mthd:                   ; @nv50_disp_chan_mthd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x21, [x0, #16]
	ldr	w8, [x21]
	cmp	w8, w1
	b.lt	LBB0_11
; %bb.1:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x25, [x8, #8]
	ldr	x8, [x25, #24]
	ldr	x23, [x8, #16]
	cbz	x23, LBB0_11
; %bb.2:
	mov	x19, x1
	mov	x24, #0
	mov	w20, #24
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	madd	x9, x24, x20, x8
	ldr	x23, [x9, #16]
	cbz	x23, LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mul	x9, x24, x20
	ldr	w9, [x8, x9]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	ldr	w9, [x25]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	ldr	w10, [x10]
	mul	w27, w9, w10
	ldr	x28, [x25, #8]
	cbz	w9, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w4, [x8, #4]
	add	x0, sp, #24
	mov	w1, #16
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x28
	bl	_snprintf
	ldr	x8, [x25, #24]
	add	x28, sp, #24
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	x9, x24, x20
	ldr	w9, [x8, x9]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
	cmp	w9, #2
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x22, sp, #8
	madd	x8, x24, x20, x8
	ldr	x3, [x8, #8]
	add	x0, sp, #8
	mov	w1, #16
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x4, x26
	bl	_snprintf
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
Lloh9:
	adrp	x8, _info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _info@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
Lloh12:
	adrp	x3, l_.str.3@PAGE
Lloh13:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x4, x28
	mov	x5, x22
	bl	_nvkm_printk_
	ldr	w3, [x25, #16]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x27
	mov	x4, x23
	mov	x5, x26
	bl	_nv50_disp_mthd_list
	add	w26, w26, #1
	ldr	x8, [x25, #24]
	mul	x9, x24, x20
	ldr	w9, [x8, x9]
	cmp	w26, w9
	b.ge	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x23]
	add	w27, w27, w9
	ldr	w9, [x25]
	ldr	x28, [x25, #8]
	cbnz	w9, LBB0_6
	b	LBB0_7
LBB0_11:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"%s %d"

l_.str.2:                               ; @.str.2
	.asciz	" - %s %d"

	.comm	_info,4,2                       ; @info
l_.str.3:                               ; @.str.3
	.asciz	"%s%s:\n"

.subsections_via_symbols
