	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpu_encoder_helper_get_3d_blend_mode
_dpu_encoder_helper_get_3d_blend_mode:  ## @dpu_encoder_helper_get_3d_blend_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_BLEND_3D_NONE@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_DPU_ENC_DISABLING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_to_dpu_crtc_state
	movq	8(%rbx), %rcx
	movq	_ENC_ROLE_SOLO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	movq	_CRTC_DUAL_MIXERS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_BLEND_3D_H_ROW_INT@GOTPCREL(%rip), %r14
LBB0_5:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPU_ENC_DISABLING,8,3          ## @DPU_ENC_DISABLING
	.comm	_BLEND_3D_NONE,4,2              ## @BLEND_3D_NONE
	.comm	_ENC_ROLE_SOLO,8,3              ## @ENC_ROLE_SOLO
	.comm	_CRTC_DUAL_MIXERS,8,3           ## @CRTC_DUAL_MIXERS
	.comm	_BLEND_3D_H_ROW_INT,4,2         ## @BLEND_3D_H_ROW_INT
	.no_dead_strip	_dpu_encoder_helper_get_3d_blend_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpu_encoder_helper_get_3d_blend_mode
_dpu_encoder_helper_get_3d_blend_mode:  ; @dpu_encoder_helper_get_3d_blend_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DPU_ENC_DISABLING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DPU_ENC_DISABLING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_to_dpu_crtc_state
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _ENC_ROLE_SOLO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENC_ROLE_SOLO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _CRTC_DUAL_MIXERS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CRTC_DUAL_MIXERS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _BLEND_3D_H_ROW_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLEND_3D_H_ROW_INT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _BLEND_3D_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BLEND_3D_NONE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DPU_ENC_DISABLING,8,3          ; @DPU_ENC_DISABLING
	.comm	_BLEND_3D_NONE,4,2              ; @BLEND_3D_NONE
	.comm	_ENC_ROLE_SOLO,8,3              ; @ENC_ROLE_SOLO
	.comm	_CRTC_DUAL_MIXERS,8,3           ; @CRTC_DUAL_MIXERS
	.comm	_BLEND_3D_H_ROW_INT,4,2         ; @BLEND_3D_H_ROW_INT
	.no_dead_strip	_dpu_encoder_helper_get_3d_blend_mode
.subsections_via_symbols
