	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_link_encoder_create      ## -- Begin function dcn10_link_encoder_create
	.p2align	4, 0x90
_dcn10_link_encoder_create:             ## @dcn10_link_encoder_create
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_link_enc_regs@GOTPCREL(%rip), %rax
	movq	(%r14), %rcx
	movq	16(%r14), %r9
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	_link_enc_aux_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	8(%r14), %rdx
	leaq	(%rax,%rdx,4), %r8
	addq	$-4, %r8
	movq	_link_enc_hpd_regs@GOTPCREL(%rip), %rax
	shlq	$2, %r9
	addq	(%rax), %r9
	movq	_le_mask@GOTPCREL(%rip), %rax
	movq	_le_shift@GOTPCREL(%rip), %r10
	movq	_link_enc_feature@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	pushq	%rax
	pushq	%r10
	callq	_dcn10_link_encoder_construct
	addq	$16, %rsp
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_link_enc_feature,4,2           ## @link_enc_feature
	.comm	_link_enc_regs,8,3              ## @link_enc_regs
	.comm	_link_enc_aux_regs,8,3          ## @link_enc_aux_regs
	.comm	_link_enc_hpd_regs,8,3          ## @link_enc_hpd_regs
	.comm	_le_shift,4,2                   ## @le_shift
	.comm	_le_mask,4,2                    ## @le_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_link_encoder_create      ; -- Begin function dcn10_link_encoder_create
	.p2align	2
_dcn10_link_encoder_create:             ; @dcn10_link_encoder_create
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _link_enc_regs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _link_enc_regs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x3, x8, x9, lsl #2
Lloh6:
	adrp	x8, _link_enc_aux_regs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _link_enc_aux_regs@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9, lsl #2
	sub	x4, x8, #4
Lloh9:
	adrp	x8, _link_enc_hpd_regs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _link_enc_hpd_regs@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	add	x5, x8, x9, lsl #2
Lloh12:
	adrp	x2, _link_enc_feature@GOTPAGE
Lloh13:
	ldr	x2, [x2, _link_enc_feature@GOTPAGEOFF]
Lloh14:
	adrp	x6, _le_shift@GOTPAGE
Lloh15:
	ldr	x6, [x6, _le_shift@GOTPAGEOFF]
Lloh16:
	adrp	x7, _le_mask@GOTPAGE
Lloh17:
	ldr	x7, [x7, _le_mask@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_dcn10_link_encoder_construct
LBB0_2:
	mov	x0, x19
	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 AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_link_enc_feature,4,2           ; @link_enc_feature
	.comm	_link_enc_regs,8,3              ; @link_enc_regs
	.comm	_link_enc_aux_regs,8,3          ; @link_enc_aux_regs
	.comm	_link_enc_hpd_regs,8,3          ; @link_enc_hpd_regs
	.comm	_le_shift,4,2                   ; @le_shift
	.comm	_le_mask,4,2                    ; @le_mask
.subsections_via_symbols
