	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_get_buf_trans_edp
_cnl_get_buf_trans_edp:                 ## @cnl_get_buf_trans_edp
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_CNL_PORT_COMP_DW3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.1:
	movq	_VOLTAGE_INFO_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_VOLTAGE_INFO_0_85V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_cnl_ddi_translations_edp_0_85V@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cnl_get_buf_trans_dp           ## TAILCALL
LBB0_4:
	movq	_VOLTAGE_INFO_0_95V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_cnl_ddi_translations_edp_0_95V@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_6:
	movq	_VOLTAGE_INFO_1_05V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	_cnl_ddi_translations_edp_1_05V@GOTPCREL(%rip), %rbx
LBB0_3:
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, (%r14)
	movq	(%rbx), %rax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	$1, (%r14)
	movq	%rax, %rdi
	callq	_MISSING_CASE
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CNL_PORT_COMP_DW3,4,2          ## @CNL_PORT_COMP_DW3
	.comm	_VOLTAGE_INFO_MASK,8,3          ## @VOLTAGE_INFO_MASK
	.comm	_VOLTAGE_INFO_0_85V,8,3         ## @VOLTAGE_INFO_0_85V
	.comm	_cnl_ddi_translations_edp_0_85V,8,3 ## @cnl_ddi_translations_edp_0_85V
	.comm	_VOLTAGE_INFO_0_95V,8,3         ## @VOLTAGE_INFO_0_95V
	.comm	_cnl_ddi_translations_edp_0_95V,8,3 ## @cnl_ddi_translations_edp_0_95V
	.comm	_VOLTAGE_INFO_1_05V,8,3         ## @VOLTAGE_INFO_1_05V
	.comm	_cnl_ddi_translations_edp_1_05V,8,3 ## @cnl_ddi_translations_edp_1_05V
	.no_dead_strip	_cnl_get_buf_trans_edp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnl_get_buf_trans_edp
_cnl_get_buf_trans_edp:                 ; @cnl_get_buf_trans_edp
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CNL_PORT_COMP_DW3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNL_PORT_COMP_DW3@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _VOLTAGE_INFO_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VOLTAGE_INFO_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x0, x8, x0
Lloh6:
	adrp	x8, _VOLTAGE_INFO_0_85V@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VOLTAGE_INFO_0_85V@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x20, _cnl_ddi_translations_edp_0_85V@GOTPAGE
Lloh10:
	ldr	x20, [x20, _cnl_ddi_translations_edp_0_85V@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cnl_get_buf_trans_dp
LBB0_4:
Lloh11:
	adrp	x8, _VOLTAGE_INFO_0_95V@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VOLTAGE_INFO_0_95V@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x20, _cnl_ddi_translations_edp_0_95V@GOTPAGE
Lloh15:
	ldr	x20, [x20, _cnl_ddi_translations_edp_0_95V@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh16:
	adrp	x8, _VOLTAGE_INFO_1_05V@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VOLTAGE_INFO_1_05V@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:
Lloh19:
	adrp	x20, _cnl_ddi_translations_edp_1_05V@GOTPAGE
Lloh20:
	ldr	x20, [x20, _cnl_ddi_translations_edp_1_05V@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	str	w0, [x19]
	ldr	x0, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w8, #1
	str	w8, [x19]
	bl	_MISSING_CASE
	mov	x0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CNL_PORT_COMP_DW3,4,2          ; @CNL_PORT_COMP_DW3
	.comm	_VOLTAGE_INFO_MASK,8,3          ; @VOLTAGE_INFO_MASK
	.comm	_VOLTAGE_INFO_0_85V,8,3         ; @VOLTAGE_INFO_0_85V
	.comm	_cnl_ddi_translations_edp_0_85V,8,3 ; @cnl_ddi_translations_edp_0_85V
	.comm	_VOLTAGE_INFO_0_95V,8,3         ; @VOLTAGE_INFO_0_95V
	.comm	_cnl_ddi_translations_edp_0_95V,8,3 ; @cnl_ddi_translations_edp_0_95V
	.comm	_VOLTAGE_INFO_1_05V,8,3         ; @VOLTAGE_INFO_1_05V
	.comm	_cnl_ddi_translations_edp_1_05V,8,3 ; @cnl_ddi_translations_edp_1_05V
	.no_dead_strip	_cnl_get_buf_trans_edp
.subsections_via_symbols
