	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_dsi_create_connector
_exynos_dsi_create_connector:           ## @exynos_dsi_create_connector
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_encoder_to_dsi
	movq	%rax, %r13
	movq	(%r12), %r15
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	%r13, %rbx
	addq	$8, %rbx
	movq	_DRM_MODE_CONNECTOR_DSI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_exynos_dsi_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_drm_connector_init
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_ERROR
	jmp	LBB0_4
LBB0_2:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	_exynos_dsi_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_connector_helper_add
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_drm_connector_attach_encoder
	cmpl	$0, 4(%r15)
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_drm_fb_helper_add_one_connector
	movq	%rbx, %rdi
	callq	_drm_connector_register
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_exynos_dsi_connector_funcs,4,2 ## @exynos_dsi_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_DSI,4,2     ## @DRM_MODE_CONNECTOR_DSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialize connector with drm\n"

	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.comm	_exynos_dsi_connector_helper_funcs,4,2 ## @exynos_dsi_connector_helper_funcs
	.no_dead_strip	_exynos_dsi_create_connector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_dsi_create_connector
_exynos_dsi_create_connector:           ; @exynos_dsi_create_connector
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
	bl	_encoder_to_dsi
	mov	x23, x0
	add	x19, x0, #8
Lloh0:
	adrp	x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
	ldr	x21, [x22]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
Lloh3:
	adrp	x8, _DRM_MODE_CONNECTOR_DSI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_DSI@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x2, _exynos_dsi_connector_funcs@GOTPAGE
Lloh7:
	ldr	x2, [x2, _exynos_dsi_connector_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_drm_connector_init
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_ERROR
	b	LBB0_4
LBB0_2:
Lloh10:
	adrp	x8, _connector_status_disconnected@GOTPAGE
Lloh11:
	ldr	x8, [x8, _connector_status_disconnected@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x23, #16]
Lloh13:
	adrp	x1, _exynos_dsi_connector_helper_funcs@GOTPAGE
Lloh14:
	ldr	x1, [x1, _exynos_dsi_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x19
	bl	_drm_connector_helper_add
	mov	x0, x19
	mov	x1, x22
	bl	_drm_connector_attach_encoder
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	w0, [x21]
	mov	x1, x19
	bl	_drm_fb_helper_add_one_connector
	mov	x0, x19
	bl	_drm_connector_register
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_exynos_dsi_connector_funcs,4,2 ; @exynos_dsi_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_DSI,4,2     ; @DRM_MODE_CONNECTOR_DSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialize connector with drm\n"

	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.comm	_exynos_dsi_connector_helper_funcs,4,2 ; @exynos_dsi_connector_helper_funcs
	.no_dead_strip	_exynos_dsi_create_connector
.subsections_via_symbols
