	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_dpi_bind                ## -- Begin function exynos_dpi_bind
	.p2align	4, 0x90
_exynos_dpi_bind:                       ## @exynos_dpi_bind
	.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	%rsi, %rbx
	movq	_DRM_MODE_ENCODER_TMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_exynos_dpi_encoder_funcs@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%r8d, %r8d
	callq	_drm_encoder_init
	movq	_exynos_dpi_encoder_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_encoder_helper_add
	movq	_EXYNOS_DISPLAY_TYPE_LCD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_exynos_drm_set_possible_crtcs
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_exynos_dpi_create_connector
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_encoder_to_dpi
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_DRM_DEV_ERROR
	movq	%rbx, %rdi
	callq	_drm_encoder_cleanup
	movl	%r15d, %r14d
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_exynos_dpi_encoder_funcs,4,2   ## @exynos_dpi_encoder_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ## @DRM_MODE_ENCODER_TMDS
	.comm	_exynos_dpi_encoder_helper_funcs,4,2 ## @exynos_dpi_encoder_helper_funcs
	.comm	_EXYNOS_DISPLAY_TYPE_LCD,4,2    ## @EXYNOS_DISPLAY_TYPE_LCD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create connector ret = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_dpi_bind                ; -- Begin function exynos_dpi_bind
	.p2align	2
_exynos_dpi_bind:                       ; @exynos_dpi_bind
	.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, _DRM_MODE_ENCODER_TMDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ENCODER_TMDS@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, _exynos_dpi_encoder_funcs@GOTPAGE
Lloh4:
	ldr	x2, [x2, _exynos_dpi_encoder_funcs@GOTPAGEOFF]
	mov	x4, #0
	bl	_drm_encoder_init
Lloh5:
	adrp	x1, _exynos_dpi_encoder_helper_funcs@GOTPAGE
Lloh6:
	ldr	x1, [x1, _exynos_dpi_encoder_helper_funcs@GOTPAGEOFF]
	mov	x0, x19
	bl	_drm_encoder_helper_add
Lloh7:
	adrp	x8, _EXYNOS_DISPLAY_TYPE_LCD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXYNOS_DISPLAY_TYPE_LCD@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_exynos_drm_set_possible_crtcs
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_exynos_dpi_create_connector
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_encoder_to_dpi
	ldr	w0, [x0]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DRM_DEV_ERROR
	mov	x0, x19
	bl	_drm_encoder_cleanup
	b	LBB0_4
LBB0_3:
	mov	x20, x0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_exynos_dpi_encoder_funcs,4,2   ; @exynos_dpi_encoder_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ; @DRM_MODE_ENCODER_TMDS
	.comm	_exynos_dpi_encoder_helper_funcs,4,2 ; @exynos_dpi_encoder_helper_funcs
	.comm	_EXYNOS_DISPLAY_TYPE_LCD,4,2    ; @EXYNOS_DISPLAY_TYPE_LCD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create connector ret = %d\n"

.subsections_via_symbols
