	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cdn_dp_bind
LCPI0_0:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cdn_dp_bind:                           ## @cdn_dp_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_cdn_dp_parse_dt
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r13, 56(%r14)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,4294967295,0]
	movups	%xmm0, (%r14)
	leaq	20(%r14), %r15
	movq	_cdn_dp_pd_event_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	leaq	48(%r14), %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_drm_of_find_possible_crtcs
	movl	%eax, 48(%r14)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG_KMS
	movq	_DRM_MODE_ENCODER_TMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cdn_dp_encoder_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_drm_encoder_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_16
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_16
LBB0_4:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_cdn_dp_encoder_helper_funcs@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_drm_encoder_helper_add
	movq	%r14, %rbx
	addq	$40, %rbx
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_DRM_MODE_DPMS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_DRM_MODE_CONNECTOR_DisplayPort@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cdn_dp_atomic_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_drm_connector_init
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_15
LBB0_6:
	movq	_cdn_dp_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_connector_helper_add
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_drm_connector_attach_encoder
	testl	%eax, %eax
	je	LBB0_7
## %bb.13:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_ERROR
LBB0_14:
	movq	%rbx, %rdi
	callq	_drm_connector_cleanup
LBB0_15:
	movq	%r15, %rdi
	callq	_drm_encoder_cleanup
LBB0_16:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%r14)
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	movq	_cdn_dp_pd_event@GOTPCREL(%rip), %r15
	movq	_EXTCON_DISP_DP@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	movl	(%r15), %eax
	movl	%eax, (%rcx)
	movl	24(%r14), %edi
	movl	4(%rcx), %esi
	movl	(%r13), %edx
	callq	_devm_extcon_register_notifier
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	16(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pm_runtime_enable
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_schedule_work
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_11:
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DRM_DEV_ERROR
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_cdn_dp_pd_event_work,4,2       ## @cdn_dp_pd_event_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"possible_crtcs = 0x%x\n"

	.comm	_cdn_dp_encoder_funcs,4,2       ## @cdn_dp_encoder_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ## @DRM_MODE_ENCODER_TMDS
L_.str.1:                               ## @.str.1
	.asciz	"failed to initialize encoder with drm\n"

	.comm	_cdn_dp_encoder_helper_funcs,4,2 ## @cdn_dp_encoder_helper_funcs
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_DRM_MODE_DPMS_OFF,4,2          ## @DRM_MODE_DPMS_OFF
	.comm	_cdn_dp_atomic_connector_funcs,4,2 ## @cdn_dp_atomic_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,4,2 ## @DRM_MODE_CONNECTOR_DisplayPort
L_.str.2:                               ## @.str.2
	.asciz	"failed to initialize connector with drm\n"

	.comm	_cdn_dp_connector_helper_funcs,4,2 ## @cdn_dp_connector_helper_funcs
L_.str.3:                               ## @.str.3
	.asciz	"failed to attach connector and encoder\n"

	.comm	_cdn_dp_pd_event,4,2            ## @cdn_dp_pd_event
	.comm	_EXTCON_DISP_DP,4,2             ## @EXTCON_DISP_DP
L_.str.4:                               ## @.str.4
	.asciz	"register EXTCON_DISP_DP notifier err\n"

	.no_dead_strip	_cdn_dp_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cdn_dp_bind
lCPI0_0:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cdn_dp_bind:                           ; @cdn_dp_bind
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x21, x0
	bl	_cdn_dp_parse_dt
	tbnz	w0, #31, LBB0_3
; %bb.1:
	str	x24, [x21, #56]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x21]
	add	x22, x21, #20
Lloh2:
	adrp	x8, _cdn_dp_pd_event_work@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cdn_dp_pd_event_work@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_INIT_WORK
	ldr	w1, [x19]
	mov	x0, x24
	bl	_drm_of_find_possible_crtcs
	mov	x1, x0
	mov	x20, x21
	str	w0, [x20, #48]!
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh7:
	adrp	x8, _DRM_MODE_ENCODER_TMDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DRM_MODE_ENCODER_TMDS@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x2, _cdn_dp_encoder_funcs@GOTPAGE
Lloh11:
	ldr	x2, [x2, _cdn_dp_encoder_funcs@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x20
	mov	x4, #0
	bl	_drm_encoder_init
	cbz	w0, LBB0_4
; %bb.2:
	mov	x25, x0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_10
LBB0_3:
	mov	x25, x0
	b	LBB0_10
LBB0_4:
Lloh14:
	adrp	x1, _cdn_dp_encoder_helper_funcs@GOTPAGE
Lloh15:
	ldr	x1, [x1, _cdn_dp_encoder_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_encoder_helper_add
Lloh16:
	adrp	x8, _DRM_MODE_DPMS_OFF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DRM_MODE_DPMS_OFF@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	x23, x21
	str	w8, [x23, #40]!
Lloh19:
	adrp	x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x23, #4]
Lloh22:
	adrp	x8, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_DisplayPort@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x2, _cdn_dp_atomic_connector_funcs@GOTPAGE
Lloh26:
	ldr	x2, [x2, _cdn_dp_atomic_connector_funcs@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x23
	bl	_drm_connector_init
	cbz	w0, LBB0_6
; %bb.5:
	mov	x25, x0
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_9
LBB0_6:
Lloh29:
	adrp	x1, _cdn_dp_connector_helper_funcs@GOTPAGE
Lloh30:
	ldr	x1, [x1, _cdn_dp_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x23
	bl	_drm_connector_helper_add
	mov	x0, x23
	mov	x1, x20
	bl	_drm_connector_attach_encoder
	cbz	w0, LBB0_11
; %bb.7:
	mov	x25, x0
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_ERROR
LBB0_8:
	mov	x0, x23
	bl	_drm_connector_cleanup
LBB0_9:
	mov	x0, x20
	bl	_drm_encoder_cleanup
LBB0_10:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w8, [x21, #16]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x24, #0
Lloh33:
	adrp	x26, _cdn_dp_pd_event@GOTPAGE
Lloh34:
	ldr	x26, [x26, _cdn_dp_pd_event@GOTPAGEOFF]
Lloh35:
	adrp	x27, _EXTCON_DISP_DP@GOTPAGE
Lloh36:
	ldr	x27, [x27, _EXTCON_DISP_DP@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #32]
	ldr	x3, [x8, x24, lsl #3]
	ldr	w8, [x26]
	str	w8, [x3]
	ldr	w0, [x21, #24]
	ldr	w1, [x3, #4]
	ldr	w2, [x27]
	bl	_devm_extcon_register_notifier
	cbnz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21, #16]
	cmp	x24, x8
	b.lt	LBB0_13
LBB0_15:
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x22
	bl	_schedule_work
	mov	w25, #0
	b	LBB0_10
LBB0_16:
	mov	x25, x0
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	b	LBB0_8
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_cdn_dp_pd_event_work,4,2       ; @cdn_dp_pd_event_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"possible_crtcs = 0x%x\n"

	.comm	_cdn_dp_encoder_funcs,4,2       ; @cdn_dp_encoder_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ; @DRM_MODE_ENCODER_TMDS
l_.str.1:                               ; @.str.1
	.asciz	"failed to initialize encoder with drm\n"

	.comm	_cdn_dp_encoder_helper_funcs,4,2 ; @cdn_dp_encoder_helper_funcs
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_DRM_MODE_DPMS_OFF,4,2          ; @DRM_MODE_DPMS_OFF
	.comm	_cdn_dp_atomic_connector_funcs,4,2 ; @cdn_dp_atomic_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_DisplayPort,4,2 ; @DRM_MODE_CONNECTOR_DisplayPort
l_.str.2:                               ; @.str.2
	.asciz	"failed to initialize connector with drm\n"

	.comm	_cdn_dp_connector_helper_funcs,4,2 ; @cdn_dp_connector_helper_funcs
l_.str.3:                               ; @.str.3
	.asciz	"failed to attach connector and encoder\n"

	.comm	_cdn_dp_pd_event,4,2            ; @cdn_dp_pd_event
	.comm	_EXTCON_DISP_DP,4,2             ; @EXTCON_DISP_DP
l_.str.4:                               ; @.str.4
	.asciz	"register EXTCON_DISP_DP notifier err\n"

	.no_dead_strip	_cdn_dp_bind
.subsections_via_symbols
