	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_update_bandwidth         ## -- Begin function dcn20_update_bandwidth
	.p2align	4, 0x90
_dcn20_update_bandwidth:                ## @dcn20_update_bandwidth
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	8(%rax), %rax
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*8(%r12)
	movq	16(%r12), %rax
	movl	$1, %r14d
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14,%r15), %rdi
	movq	(%rdi), %rax
	leaq	(%r14,%r15), %rsi
	addq	$24, %rsi
	leaq	(%r14,%r15), %rdx
	addq	$20, %rdx
	leaq	(%r14,%r15), %rcx
	addq	$16, %rcx
	movq	%rbx, %r8
	callq	*(%rax)
	movq	16(%r12), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%rax), %rcx
	addq	$80, %r15
	cmpq	%rcx, %r13
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r14
	cmpq	$0, 72(%r14,%r15)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r15), %rbx
	cmpq	$0, 64(%r14,%r15)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_is_pipe_tree_visible
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	56(%r14,%r15), %rdi
	movq	(%rdi), %rax
	movl	12(%r14,%r15), %esi
	movl	8(%r14,%r15), %edx
	movl	(%r14,%r15), %r8d
	movl	4(%r14,%r15), %ecx
	callq	*8(%rax)
	movq	48(%r14,%r15), %rsi
	movq	56(%r14,%r15), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	cmpq	$0, 40(%r14,%r15)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%dl
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*(%rdi)
	jmp	LBB0_7
LBB0_9:
	movl	$1, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_update_bandwidth         ; -- Begin function dcn20_update_bandwidth
	.p2align	2
_dcn20_update_bandwidth:                ; @dcn20_update_bandwidth
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	mov	w2, #0
	blr	x8
	cbz	w0, LBB0_10
; %bb.1:
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x4, x25, x23
	ldr	x0, [x4, #32]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, x4, #24
	add	x2, x4, #20
	add	x3, x4, #16
	blr	x8
	ldr	x8, [x20, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldrsw	x9, [x8]
	add	x23, x23, #80
	cmp	x24, x9
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19]
	add	x21, x25, x23
	ldr	x9, [x21, #72]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #64]
	cbnz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_is_pipe_tree_visible
	mov	x22, x0
	add	x26, x25, x23
	ldr	x0, [x26, #56]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x26, #8]
	ldp	w4, w3, [x26]
	blr	x8
	ldp	x1, x0, [x26, #48]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	ldr	x8, [x26, #40]
	cbnz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #0
	cset	w2, eq
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	b	LBB0_3
LBB0_9:
	mov	w0, #1
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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
