	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_dcu_drm_encoder_create     ## -- Begin function fsl_dcu_drm_encoder_create
	.p2align	4, 0x90
_fsl_dcu_drm_encoder_create:            ## @fsl_dcu_drm_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, %rbx
	leaq	16(%rdi), %r14
	movl	$1, 16(%rdi)
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_fsl_tcon_bypass_enable
LBB0_2:
	movl	(%rbx), %edi
	movq	_DRM_MODE_ENCODER_LVDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_encoder_funcs@GOTPCREL(%rip), %rdx
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_drm_encoder_init
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_encoder_funcs,4,2              ## @encoder_funcs
	.comm	_DRM_MODE_ENCODER_LVDS,4,2      ## @DRM_MODE_ENCODER_LVDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_dcu_drm_encoder_create     ; -- Begin function fsl_dcu_drm_encoder_create
	.p2align	2
_fsl_dcu_drm_encoder_create:            ; @fsl_dcu_drm_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
	mov	w8, #1
	mov	x19, x0
	str	w8, [x19, #16]!
	ldur	x0, [x19, #-8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_fsl_tcon_bypass_enable
LBB0_2:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _DRM_MODE_ENCODER_LVDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ENCODER_LVDS@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, _encoder_funcs@GOTPAGE
Lloh4:
	ldr	x2, [x2, _encoder_funcs@GOTPAGEOFF]
	mov	x1, x19
	mov	x4, #0
	bl	_drm_encoder_init
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_encoder_funcs,4,2              ; @encoder_funcs
	.comm	_DRM_MODE_ENCODER_LVDS,4,2      ; @DRM_MODE_ENCODER_LVDS
.subsections_via_symbols
