	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_rockchip_find_second
_dw_mipi_dsi_rockchip_find_second:      ## @dw_mipi_dsi_rockchip_find_second
	.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
	movq	(%rdi), %rsi
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	callq	_of_match_device
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	(%rax), %rdi
	xorl	%r13d, %r13d
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_of_graph_get_remote_node
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	movl	(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_of_find_compatible_node
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_of_node_put
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_of_find_compatible_node
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpq	(%rax), %rbx
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_of_graph_get_remote_node
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r14, %rax
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_of_find_device_by_node
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_of_node_put
	movq	%rbx, %rdi
	callq	_of_node_put
	movq	%r14, %rdi
	callq	_of_node_put
	testq	%r13, %r13
	je	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	callq	_platform_get_drvdata
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:
	movq	%r13, %rdi
	callq	_platform_device_put
LBB0_9:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_12:
	movq	%r14, %rdi
	callq	_of_node_put
	xorl	%r13d, %r13d
LBB0_13:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.no_dead_strip	_dw_mipi_dsi_rockchip_find_second
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mipi_dsi_rockchip_find_second
_dw_mipi_dsi_rockchip_find_second:      ; @dw_mipi_dsi_rockchip_find_second
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x1, [x0]
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	bl	_of_match_device
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x0, [x8]
	mov	w1, #1
	mov	w2, #0
	bl	_of_graph_get_remote_node
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x0, #0
	mov	x1, #0
	bl	_of_find_compatible_node
	cbz	x0, LBB0_12
; %bb.2:
	mov	x22, x0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_of_node_put
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x21]
	mov	x0, x22
	mov	x1, #0
	bl	_of_find_compatible_node
	mov	x22, x0
	cbz	x0, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #1
	mov	w2, #0
	bl	_of_graph_get_remote_node
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, x20
	b.ne	LBB0_3
; %bb.8:
	mov	x0, x22
	bl	_of_find_device_by_node
	mov	x19, x0
	mov	x0, x20
	bl	_of_node_put
	mov	x0, x22
	bl	_of_node_put
	mov	x0, x20
	bl	_of_node_put
	cbz	x19, LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_platform_get_drvdata
	cbnz	x0, LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_platform_device_put
LBB0_11:
Lloh0:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_12:
	mov	x0, x20
	bl	_of_node_put
LBB0_13:
	mov	x19, #0
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.no_dead_strip	_dw_mipi_dsi_rockchip_find_second
.subsections_via_symbols
