	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_get_buf_trans_dp
_cnl_get_buf_trans_dp:                  ## @cnl_get_buf_trans_dp
	.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, %rbx
	movq	_CNL_PORT_COMP_DW3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_VOLTAGE_INFO_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_VOLTAGE_INFO_0_85V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_cnl_ddi_translations_dp_0_85V@GOTPCREL(%rip), %r14
	jmp	LBB0_2
LBB0_3:
	movq	_VOLTAGE_INFO_0_95V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_cnl_ddi_translations_dp_0_95V@GOTPCREL(%rip), %r14
	jmp	LBB0_2
LBB0_5:
	movq	_VOLTAGE_INFO_1_05V@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_cnl_ddi_translations_dp_1_05V@GOTPCREL(%rip), %r14
LBB0_2:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	(%r14), %rax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	$1, (%rbx)
	movq	%rax, %rdi
	callq	_MISSING_CASE
	xorl	%eax, %eax
	jmp	LBB0_8
	.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_dp_0_85V,8,3 ## @cnl_ddi_translations_dp_0_85V
	.comm	_VOLTAGE_INFO_0_95V,8,3         ## @VOLTAGE_INFO_0_95V
	.comm	_cnl_ddi_translations_dp_0_95V,8,3 ## @cnl_ddi_translations_dp_0_95V
	.comm	_VOLTAGE_INFO_1_05V,8,3         ## @VOLTAGE_INFO_1_05V
	.comm	_cnl_ddi_translations_dp_1_05V,8,3 ## @cnl_ddi_translations_dp_1_05V
	.no_dead_strip	_cnl_get_buf_trans_dp
.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_dp
_cnl_get_buf_trans_dp:                  ; @cnl_get_buf_trans_dp
	.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
Lloh0:
	adrp	x8, _CNL_PORT_COMP_DW3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNL_PORT_COMP_DW3@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
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_2
; %bb.1:
Lloh9:
	adrp	x20, _cnl_ddi_translations_dp_0_85V@GOTPAGE
Lloh10:
	ldr	x20, [x20, _cnl_ddi_translations_dp_0_85V@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
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_4
; %bb.3:
Lloh14:
	adrp	x20, _cnl_ddi_translations_dp_0_95V@GOTPAGE
Lloh15:
	ldr	x20, [x20, _cnl_ddi_translations_dp_0_95V@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
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_8
; %bb.5:
Lloh19:
	adrp	x20, _cnl_ddi_translations_dp_1_05V@GOTPAGE
Lloh20:
	ldr	x20, [x20, _cnl_ddi_translations_dp_1_05V@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	str	w0, [x19]
	ldr	x0, [x20]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w8, #1
	str	w8, [x19]
	bl	_MISSING_CASE
	mov	x0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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_dp_0_85V,8,3 ; @cnl_ddi_translations_dp_0_85V
	.comm	_VOLTAGE_INFO_0_95V,8,3         ; @VOLTAGE_INFO_0_95V
	.comm	_cnl_ddi_translations_dp_0_95V,8,3 ; @cnl_ddi_translations_dp_0_95V
	.comm	_VOLTAGE_INFO_1_05V,8,3         ; @VOLTAGE_INFO_1_05V
	.comm	_cnl_ddi_translations_dp_1_05V,8,3 ; @cnl_ddi_translations_dp_1_05V
	.no_dead_strip	_cnl_get_buf_trans_dp
.subsections_via_symbols
