	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6e8aa0_probe
_s6e8aa0_probe:                         ## @s6e8aa0_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, %r15
	leaq	12(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mipi_dsi_set_drvdata
	movq	%r14, 40(%r12)
	movl	$4, (%r15)
	movq	_MIPI_DSI_FMT_RGB888@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	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_VIDEO_HFP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_VIDEO_HBP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_VIDEO_HSA@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_EOT_PACKET@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_VSYNC_FLUSH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MIPI_DSI_MODE_VIDEO_AUTO_VERT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r15)
	movq	%r12, %rdi
	callq	_s6e8aa0_parse_dt
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	movq	32(%r12), %rdi
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_ARRAY_SIZE
	movq	32(%r12), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_devm_regulator_bulk_get
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get
	movl	%eax, 24(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	24(%r12), %edi
	callq	_PTR_ERR
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	24(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_12
LBB0_8:
	movq	_GAMMA_LEVEL_NUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, 16(%r12)
	movq	%r12, %rdi
	callq	_drm_panel_init
	movq	%r14, 8(%r12)
	movq	_s6e8aa0_drm_funcs@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	%r12, %rdi
	callq	_drm_panel_add
	testl	%eax, %eax
	js	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_mipi_dsi_attach
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_12
## %bb.10:
	movq	%r12, %rdi
	callq	_drm_panel_remove
	jmp	LBB0_12
LBB0_11:
	movl	%eax, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ## @MIPI_DSI_FMT_RGB888
	.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_VIDEO_HFP,4,2    ## @MIPI_DSI_MODE_VIDEO_HFP
	.comm	_MIPI_DSI_MODE_VIDEO_HBP,4,2    ## @MIPI_DSI_MODE_VIDEO_HBP
	.comm	_MIPI_DSI_MODE_VIDEO_HSA,4,2    ## @MIPI_DSI_MODE_VIDEO_HSA
	.comm	_MIPI_DSI_MODE_EOT_PACKET,4,2   ## @MIPI_DSI_MODE_EOT_PACKET
	.comm	_MIPI_DSI_MODE_VSYNC_FLUSH,4,2  ## @MIPI_DSI_MODE_VSYNC_FLUSH
	.comm	_MIPI_DSI_MODE_VIDEO_AUTO_VERT,4,2 ## @MIPI_DSI_MODE_VIDEO_AUTO_VERT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vdd3"

L_.str.1:                               ## @.str.1
	.asciz	"vci"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get regulators: %d\n"

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

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.4:                               ## @.str.4
	.asciz	"cannot get reset-gpios %ld\n"

	.comm	_GAMMA_LEVEL_NUM,8,3            ## @GAMMA_LEVEL_NUM
	.comm	_s6e8aa0_drm_funcs,4,2          ## @s6e8aa0_drm_funcs
	.no_dead_strip	_s6e8aa0_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6e8aa0_probe
_s6e8aa0_probe:                         ; @s6e8aa0_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	x21, x0
	add	x20, x0, #12
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_mipi_dsi_set_drvdata
	mov	w8, #4
Lloh3:
	adrp	x9, _MIPI_DSI_MODE_VIDEO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO@GOTPAGEOFF]
	str	w8, [x21]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_BURST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_HFP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_HFP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_HBP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_HBP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_HSA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_HSA@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _MIPI_DSI_MODE_EOT_PACKET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MIPI_DSI_MODE_EOT_PACKET@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _MIPI_DSI_MODE_VSYNC_FLUSH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MIPI_DSI_MODE_VSYNC_FLUSH@GOTPAGEOFF]
	str	x20, [x19, #40]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _MIPI_DSI_MODE_VIDEO_AUTO_VERT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MIPI_DSI_MODE_VIDEO_AUTO_VERT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _MIPI_DSI_FMT_RGB888@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MIPI_DSI_FMT_RGB888@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w8, w9, [x21, #4]
	mov	x0, x19
	bl	_s6e8aa0_parse_dt
	tbnz	w0, #31, LBB0_10
; %bb.2:
	ldr	x0, [x19, #32]
Lloh30:
	adrp	x8, l_.str@PAGE
Lloh31:
	add	x8, x8, l_.str@PAGEOFF
Lloh32:
	adrp	x9, l_.str.1@PAGE
Lloh33:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [x0]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	x2, [x19, #32]
	mov	x0, x20
	bl	_devm_regulator_bulk_get
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh34:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	w0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x19, #24]
	bl	_PTR_ERR
	mov	x2, x0
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #24]
	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_5:
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_6:
	mov	x22, x0
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dev_err
	b	LBB0_11
LBB0_7:
Lloh46:
	adrp	x8, _GAMMA_LEVEL_NUM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _GAMMA_LEVEL_NUM@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [x19, #16]
	mov	x0, x19
	bl	_drm_panel_init
Lloh49:
	adrp	x8, _s6e8aa0_drm_funcs@GOTPAGE
Lloh50:
	ldr	x8, [x8, _s6e8aa0_drm_funcs@GOTPAGEOFF]
	stp	x8, x20, [x19]
	mov	x0, x19
	bl	_drm_panel_add
	tbnz	w0, #31, LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_mipi_dsi_attach
	mov	x22, x0
	tbz	w0, #31, LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_drm_panel_remove
	b	LBB0_11
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	x0, x22
	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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ; @MIPI_DSI_FMT_RGB888
	.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_VIDEO_HFP,4,2    ; @MIPI_DSI_MODE_VIDEO_HFP
	.comm	_MIPI_DSI_MODE_VIDEO_HBP,4,2    ; @MIPI_DSI_MODE_VIDEO_HBP
	.comm	_MIPI_DSI_MODE_VIDEO_HSA,4,2    ; @MIPI_DSI_MODE_VIDEO_HSA
	.comm	_MIPI_DSI_MODE_EOT_PACKET,4,2   ; @MIPI_DSI_MODE_EOT_PACKET
	.comm	_MIPI_DSI_MODE_VSYNC_FLUSH,4,2  ; @MIPI_DSI_MODE_VSYNC_FLUSH
	.comm	_MIPI_DSI_MODE_VIDEO_AUTO_VERT,4,2 ; @MIPI_DSI_MODE_VIDEO_AUTO_VERT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vdd3"

l_.str.1:                               ; @.str.1
	.asciz	"vci"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get regulators: %d\n"

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

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.4:                               ; @.str.4
	.asciz	"cannot get reset-gpios %ld\n"

	.comm	_GAMMA_LEVEL_NUM,8,3            ; @GAMMA_LEVEL_NUM
	.comm	_s6e8aa0_drm_funcs,4,2          ; @s6e8aa0_drm_funcs
	.no_dead_strip	_s6e8aa0_probe
.subsections_via_symbols
