	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_program_pipe
_dcn20_program_pipe:                    ## @dcn20_program_pipe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, (%rdx)
	movq	8(%rsi), %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%rax)
	jmp	LBB0_3
LBB0_2:
	cmpl	$0, (%rax)
	je	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_dcn20_enable_plane
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_update_dchubp_dpp
	movq	%rbx, %rdi
	callq	_set_hdr_multiplier
	movq	8(%rbx), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 16(%rsi)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 8(%rsi)
	je	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	*8(%r14)
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.9:
	movq	(%r14), %rax
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dcn20_program_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_program_pipe
_dcn20_program_pipe:                    ; @dcn20_program_pipe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x9, [x2]
	ldr	x8, [x1, #8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_dcn20_enable_plane
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_update_dchubp_dpp
	mov	x0, x19
	bl	_set_hdr_multiplier
	ldr	x1, [x19, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x1, #16]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_9
LBB0_7:
	ldr	x8, [x20, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x2, [x20]
	ldr	w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dcn20_program_pipe
.subsections_via_symbols
