	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls037v7dw01_probe
_ls037v7dw01_probe:                     ## @ls037v7dw01_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, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, 64(%r14)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_regulator_get
	movq	%rax, 56(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	56(%r14), %rdi
	jmp	LBB0_3
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	48(%r14), %rdi
	jmp	LBB0_3
LBB0_6:
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	40(%r14), %rdi
	jmp	LBB0_3
LBB0_8:
	movl	(%r15), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_devm_gpiod_get_index
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	32(%r14), %rdi
	jmp	LBB0_3
LBB0_10:
	movl	(%r15), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_devm_gpiod_get_index
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	24(%r14), %rdi
	jmp	LBB0_3
LBB0_12:
	movl	(%r15), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_devm_gpiod_get_index
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	16(%r14), %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	movq	%r14, %rdi
	callq	_drm_panel_init
	movq	%rbx, 8(%r14)
	movq	_ls037v7dw01_funcs@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_panel_add                  ## 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	"envdd"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get regulator\n"

L_.str.2:                               ## @.str.2
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.3:                               ## @.str.3
	.asciz	"failed to get enable gpio\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"failed to get reset gpio\n"

L_.str.6:                               ## @.str.6
	.asciz	"mode"

L_.str.7:                               ## @.str.7
	.asciz	"failed to get mode[0] gpio\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to get mode[1] gpio\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to get mode[2] gpio\n"

	.comm	_ls037v7dw01_funcs,4,2          ## @ls037v7dw01_funcs
	.no_dead_strip	_ls037v7dw01_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls037v7dw01_probe
_ls037v7dw01_probe:                     ; @ls037v7dw01_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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	str	x20, [x19, #64]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #56]
	b	LBB0_14
LBB0_3:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	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
	ret
LBB0_4:
Lloh10:
	adrp	x21, _GPIOD_OUT_LOW@GOTPAGE
Lloh11:
	ldr	x21, [x21, _GPIOD_OUT_LOW@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #48]
	b	LBB0_14
LBB0_6:
	ldr	w2, [x21]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #40]
	b	LBB0_14
LBB0_8:
	ldr	w3, [x21]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	bl	_devm_gpiod_get_index
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #32]
	b	LBB0_14
LBB0_10:
	ldr	w3, [x21]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	bl	_devm_gpiod_get_index
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #24]
	b	LBB0_14
LBB0_12:
	ldr	w3, [x21]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	bl	_devm_gpiod_get_index
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.13:
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #16]
LBB0_14:
	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_15:
	mov	x0, x19
	bl	_drm_panel_init
Lloh32:
	adrp	x8, _ls037v7dw01_funcs@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ls037v7dw01_funcs@GOTPAGEOFF]
	stp	x8, x20, [x19]
	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
	b	_drm_panel_add
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.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 AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.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	"envdd"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get regulator\n"

l_.str.2:                               ; @.str.2
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.3:                               ; @.str.3
	.asciz	"failed to get enable gpio\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"failed to get reset gpio\n"

l_.str.6:                               ; @.str.6
	.asciz	"mode"

l_.str.7:                               ; @.str.7
	.asciz	"failed to get mode[0] gpio\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to get mode[1] gpio\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to get mode[2] gpio\n"

	.comm	_ls037v7dw01_funcs,4,2          ; @ls037v7dw01_funcs
	.no_dead_strip	_ls037v7dw01_probe
.subsections_via_symbols
