	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rb070d30_panel_dsi_probe
_rb070d30_panel_dsi_probe:              ## @rb070d30_panel_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	12(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regulator_get
	movq	%rax, 64(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	64(%rbx), %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mipi_dsi_set_drvdata
	movq	%r14, 56(%rbx)
	movq	%rbx, %rdi
	callq	_drm_panel_init
	movq	%r15, 8(%rbx)
	movq	_rb070d30_panel_funcs@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	48(%rbx), %rdi
	jmp	LBB0_4
LBB0_7:
	movl	(%r12), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	40(%rbx), %rdi
	jmp	LBB0_4
LBB0_9:
	movl	(%r12), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	32(%rbx), %rdi
	jmp	LBB0_4
LBB0_11:
	movl	(%r12), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	24(%rbx), %rdi
	jmp	LBB0_4
LBB0_13:
	movq	%r15, %rdi
	callq	_devm_of_find_backlight
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_ERROR
	movq	16(%rbx), %rdi
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_drm_panel_add
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	_MIPI_DSI_MODE_VIDEO@GOTPCREL(%rip), %rax
	movq	_MIPI_DSI_MODE_VIDEO_BURST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_LPM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_MIPI_DSI_FMT_RGB888@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	$4, 4(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mipi_dsi_attach                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vcc-lcd"

	.comm	_rb070d30_panel_funcs,4,2       ## @rb070d30_panel_funcs
L_.str.1:                               ## @.str.1
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't get our reset GPIO\n"

L_.str.3:                               ## @.str.3
	.asciz	"power"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't get our power GPIO\n"

L_.str.5:                               ## @.str.5
	.asciz	"updn"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't get our updn GPIO\n"

L_.str.7:                               ## @.str.7
	.asciz	"shlr"

L_.str.8:                               ## @.str.8
	.asciz	"Couldn't get our shlr GPIO\n"

L_.str.9:                               ## @.str.9
	.asciz	"Couldn't get our backlight\n"

	.comm	_MIPI_DSI_MODE_VIDEO,4,2        ## @MIPI_DSI_MODE_VIDEO
	.comm	_MIPI_DSI_MODE_VIDEO_BURST,4,2  ## @MIPI_DSI_MODE_VIDEO_BURST
	.comm	_MIPI_DSI_MODE_LPM,4,2          ## @MIPI_DSI_MODE_LPM
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ## @MIPI_DSI_FMT_RGB888
	.no_dead_strip	_rb070d30_panel_dsi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rb070d30_panel_dsi_probe
_rb070d30_panel_dsi_probe:              ; @rb070d30_panel_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	x20, x0
	add	x21, x0, #12
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get
	str	x0, [x19, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #64]
	b	LBB0_15
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_mipi_dsi_set_drvdata
	str	x20, [x19, #56]
	mov	x0, x19
	bl	_drm_panel_init
Lloh8:
	adrp	x8, _rb070d30_panel_funcs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rb070d30_panel_funcs@GOTPAGEOFF]
	stp	x8, x21, [x19]
Lloh10:
	adrp	x22, _GPIOD_OUT_LOW@GOTPAGE
Lloh11:
	ldr	x22, [x22, _GPIOD_OUT_LOW@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #48]
	b	LBB0_15
LBB0_7:
	ldr	w2, [x22]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #40]
	b	LBB0_15
LBB0_9:
	ldr	w2, [x22]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #32]
	b	LBB0_15
LBB0_11:
	ldr	w2, [x22]
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #24]
	b	LBB0_15
LBB0_13:
	mov	x0, x21
	bl	_devm_of_find_backlight
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.14:
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #16]
LBB0_15:
	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	_PTR_ERR
LBB0_16:
	mov	x0, x19
	bl	_drm_panel_add
	tbnz	w0, #31, LBB0_4
; %bb.17:
Lloh30:
	adrp	x8, _MIPI_DSI_MODE_VIDEO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MIPI_DSI_MODE_VIDEO@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _MIPI_DSI_MODE_LPM@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MIPI_DSI_MODE_LPM@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _MIPI_DSI_FMT_RGB888@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MIPI_DSI_FMT_RGB888@GOTPAGEOFF]
	mov	w10, #4
	stp	w8, w10, [x20]
Lloh41:
	ldr	w8, [x9]
	str	w8, [x20, #8]
	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
	b	_mipi_dsi_attach
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vcc-lcd"

	.comm	_rb070d30_panel_funcs,4,2       ; @rb070d30_panel_funcs
l_.str.1:                               ; @.str.1
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't get our reset GPIO\n"

l_.str.3:                               ; @.str.3
	.asciz	"power"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't get our power GPIO\n"

l_.str.5:                               ; @.str.5
	.asciz	"updn"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't get our updn GPIO\n"

l_.str.7:                               ; @.str.7
	.asciz	"shlr"

l_.str.8:                               ; @.str.8
	.asciz	"Couldn't get our shlr GPIO\n"

l_.str.9:                               ; @.str.9
	.asciz	"Couldn't get our backlight\n"

	.comm	_MIPI_DSI_MODE_VIDEO,4,2        ; @MIPI_DSI_MODE_VIDEO
	.comm	_MIPI_DSI_MODE_VIDEO_BURST,4,2  ; @MIPI_DSI_MODE_VIDEO_BURST
	.comm	_MIPI_DSI_MODE_LPM,4,2          ; @MIPI_DSI_MODE_LPM
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ; @MIPI_DSI_FMT_RGB888
	.no_dead_strip	_rb070d30_panel_dsi_probe
.subsections_via_symbols
