	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_ddi_get_buf_trans_dp
_intel_ddi_get_buf_trans_dp:            ## @intel_ddi_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_IS_KABYLAKE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_COFFEELAKE
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_kbl_get_buf_trans_dp
LBB0_3:
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_skl_buf_trans_num_entries
	movl	%eax, (%r15)
	movq	%rbx, %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_IS_SKYLAKE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_skl_get_buf_trans_dp
	jmp	LBB0_3
LBB0_6:
	movq	%rbx, %rdi
	callq	_IS_BROADWELL
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_bdw_ddi_translations_dp@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_hsw_ddi_translations_dp@GOTPCREL(%rip), %rbx
LBB0_8:
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, (%r15)
	movq	(%rbx), %rax
	jmp	LBB0_12
LBB0_11:
	movl	$0, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_bdw_ddi_translations_dp,8,3    ## @bdw_ddi_translations_dp
	.comm	_hsw_ddi_translations_dp,8,3    ## @hsw_ddi_translations_dp
	.no_dead_strip	_intel_ddi_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 intel_ddi_get_buf_trans_dp
_intel_ddi_get_buf_trans_dp:            ; @intel_ddi_get_buf_trans_dp
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_IS_KABYLAKE
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_IS_COFFEELAKE
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	bl	_kbl_get_buf_trans_dp
LBB0_3:
	mov	x21, x0
	ldr	w1, [x19]
	mov	x0, x20
	bl	_skl_buf_trans_num_entries
	str	w0, [x19]
	mov	x0, x21
LBB0_4:
	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
LBB0_5:
	mov	x0, x21
	bl	_IS_SKYLAKE
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	bl	_skl_get_buf_trans_dp
	b	LBB0_3
LBB0_7:
	mov	x0, x21
	bl	_IS_BROADWELL
	cbz	x0, LBB0_9
; %bb.8:
Lloh0:
	adrp	x20, _bdw_ddi_translations_dp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _bdw_ddi_translations_dp@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x21
	bl	_IS_HASWELL
	cbz	x0, LBB0_12
; %bb.10:
Lloh2:
	adrp	x20, _hsw_ddi_translations_dp@GOTPAGE
Lloh3:
	ldr	x20, [x20, _hsw_ddi_translations_dp@GOTPAGEOFF]
LBB0_11:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	str	w0, [x19]
	ldr	x0, [x20]
	b	LBB0_4
LBB0_12:
	str	wzr, [x19]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_bdw_ddi_translations_dp,8,3    ; @bdw_ddi_translations_dp
	.comm	_hsw_ddi_translations_dp,8,3    ; @hsw_ddi_translations_dp
	.no_dead_strip	_intel_ddi_get_buf_trans_dp
.subsections_via_symbols
