	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function panel_simple_dsi_probe
_panel_simple_dsi_probe:                ## @panel_simple_dsi_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_dsi_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r15
	leaq	12(%r15), %rsi
	movq	%r14, %rdi
	callq	_panel_simple_probe
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	8(%r15), %eax
	movl	%eax, 12(%r14)
	movl	4(%r15), %eax
	movl	%eax, 8(%r14)
	movl	(%r15), %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_mipi_dsi_attach
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_drm_panel_remove
	jmp	LBB0_7
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsi_of_match,4,2               ## @dsi_of_match
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_panel_simple_dsi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function panel_simple_dsi_probe
_panel_simple_dsi_probe:                ; @panel_simple_dsi_probe
	.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
Lloh0:
	adrp	x8, _dsi_of_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dsi_of_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_of_match_node
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x21, [x0]
	add	x1, x21, #12
	mov	x0, x19
	bl	_panel_simple_probe
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w8, [x21, #8]
	str	w8, [x19, #12]
	ldr	d0, [x21]
	stur	d0, [x19, #4]
	mov	x0, x19
	bl	_mipi_dsi_attach
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_dev_get_drvdata
	bl	_drm_panel_remove
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_6
LBB0_5:
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dsi_of_match,4,2               ; @dsi_of_match
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_panel_simple_dsi_probe
.subsections_via_symbols
