	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdn_dp_probe
_cdn_dp_probe:                          ## @cdn_dp_probe
	.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, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, 16(%rax)
	movq	_cdn_dp_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_of_match_node
	movq	(%rax), %r14
	cmpl	$0, (%r14)
	jle	LBB0_13
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_extcon_get_edev_by_phandle
	movq	%rax, %r12
	movl	(%r15), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_devm_of_phy_get_by_index
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ecx
	xorl	%eax, %eax
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rdx
	subl	(%rdx), %eax
	cmpl	%eax, %ecx
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ecx
	xorl	%eax, %eax
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rdx
	subl	(%rdx), %eax
	cmpl	%eax, %ecx
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, 24(%rax)
	movq	%r13, 16(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 8(%rax)
	movl	%ebx, (%rax)
	movq	8(%rdi), %rcx
	movslq	4(%rdi), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 4(%rdi)
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, 4(%rbx)
	je	LBB0_14
## %bb.15:
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cdn_dp_audio_codec_init
	movq	_cdn_dp_component_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_component_add                  ## TAILCALL
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cdn_dp_dt_ids,4,2              ## @cdn_dp_dt_ids
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing extcon or phy\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cdn_dp_component_ops,4,2       ## @cdn_dp_component_ops
	.no_dead_strip	_cdn_dp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdn_dp_probe
_cdn_dp_probe:                          ; @cdn_dp_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #16]
Lloh2:
	adrp	x8, _cdn_dp_dt_ids@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cdn_dp_dt_ids@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_of_match_node
	ldr	x25, [x0]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w21, #0
Lloh5:
	adrp	x26, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	w8, [x25]
	cmp	w21, w8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_extcon_get_edev_by_phandle
	mov	x22, x0
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_of_phy_get_by_index
	mov	x23, x0
	mov	x0, x22
	bl	_PTR_ERR
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_PTR_ERR
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	x23, x22, [x0, #16]
	str	x20, [x0, #8]
	str	w21, [x0]
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	w10, w9, #1
	str	w10, [x20, #4]
	str	x0, [x8, x9, lsl #3]
	b	LBB0_3
LBB0_10:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_mutex_init
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x20
	mov	x1, x19
	bl	_cdn_dp_audio_codec_init
Lloh9:
	adrp	x1, _cdn_dp_component_ops@GOTPAGE
Lloh10:
	ldr	x1, [x1, _cdn_dp_component_ops@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_component_add
LBB0_13:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
LBB0_15:
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cdn_dp_dt_ids,4,2              ; @cdn_dp_dt_ids
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing extcon or phy\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cdn_dp_component_ops,4,2       ; @cdn_dp_component_ops
	.no_dead_strip	_cdn_dp_probe
.subsections_via_symbols
