	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsicm_probe_of
_dsicm_probe_of:                        ## @dsicm_probe_of
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r14
	callq	_platform_get_drvdata
	movq	%rax, %r15
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 64(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	64(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 56(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	56(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_19:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_get_display_timing
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
	jmp	LBB0_9
LBB0_6:
	leaq	40(%r15), %rsi
	leaq	-40(%rbp), %rdi
	callq	_videomode_from_timing
	cmpl	$0, 40(%r15)
	jne	LBB0_9
## %bb.7:
	movl	44(%r15), %eax
	imull	48(%r15), %eax
	imull	$60, %eax, %eax
	movl	%eax, 40(%r15)
LBB0_9:
	leaq	32(%r15), %rdx
	movq	$0, 32(%r15)
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_u32
	movq	%r15, %rdx
	addq	$24, %rdx
	movq	$0, 24(%r15)
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_u32
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get_optional
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	16(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_19
## %bb.11:
	movq	$0, 16(%r15)
LBB0_12:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get_optional
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	8(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_19
## %bb.14:
	movq	$0, 8(%r15)
LBB0_15:
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_find_backlight_by_node
	movl	%eax, 4(%r15)
	movq	%r14, %rdi
	callq	_of_node_put
	cmpl	$0, 4(%r15)
	jne	LBB0_19
## %bb.17:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_18:
	movl	$1, (%r15)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"reset gpio request failed: %d"

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

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.3:                               ## @.str.3
	.asciz	"TE gpio request failed: %d"

L_.str.4:                               ## @.str.4
	.asciz	"panel-timing"

L_.str.5:                               ## @.str.5
	.asciz	"failed to get video timing, using defaults\n"

L_.str.6:                               ## @.str.6
	.asciz	"width-mm"

L_.str.7:                               ## @.str.7
	.asciz	"height-mm"

L_.str.8:                               ## @.str.8
	.asciz	"vpnl"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.9:                               ## @.str.9
	.asciz	"vddi"

L_.str.10:                              ## @.str.10
	.asciz	"backlight"

	.no_dead_strip	_dsicm_probe_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsicm_probe_of
_dsicm_probe_of:                        ; @dsicm_probe_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	ldr	x20, [x0]
	bl	_platform_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	x0, [x19, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #64]
	bl	_PTR_ERR
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get_optional
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x0, [x19, #56]
	bl	_PTR_ERR
	mov	x22, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_get_display_timing
	cbz	w0, LBB0_8
; %bb.7:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
	b	LBB0_10
LBB0_8:
	add	x1, x19, #40
	add	x0, sp, #8
	bl	_videomode_from_timing
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_10
; %bb.9:
	ldp	w8, w9, [x19, #44]
	mul	w8, w8, w9
	mov	w9, #60
	mul	w8, w8, w9
	str	w8, [x19, #40]
LBB0_10:
	mov	x2, x19
	str	xzr, [x2, #32]!
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
	mov	x22, x19
	str	xzr, [x22, #24]!
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_of_property_read_u32
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get_optional
	stur	x0, [x22, #-8]
	bl	_IS_ERR
Lloh24:
	adrp	x23, _EPROBE_DEFER@GOTPAGE
Lloh25:
	ldr	x23, [x23, _EPROBE_DEFER@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.12:
	str	xzr, [x19, #16]
LBB0_13:
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get_optional
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.14:
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.15:
	str	xzr, [x19, #8]
LBB0_16:
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	bl	_of_parse_phandle
	cbz	x0, LBB0_19
; %bb.17:
	mov	x20, x0
	bl	_of_find_backlight_by_node
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_of_node_put
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_20
; %bb.18:
	mov	w22, #0
	b	LBB0_5
LBB0_19:
	mov	w22, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_5
LBB0_20:
	ldr	w8, [x23]
	neg	w22, w8
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"reset gpio request failed: %d"

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

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.3:                               ; @.str.3
	.asciz	"TE gpio request failed: %d"

l_.str.4:                               ; @.str.4
	.asciz	"panel-timing"

l_.str.5:                               ; @.str.5
	.asciz	"failed to get video timing, using defaults\n"

l_.str.6:                               ; @.str.6
	.asciz	"width-mm"

l_.str.7:                               ; @.str.7
	.asciz	"height-mm"

l_.str.8:                               ; @.str.8
	.asciz	"vpnl"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.9:                               ; @.str.9
	.asciz	"vddi"

l_.str.10:                              ; @.str.10
	.asciz	"backlight"

	.no_dead_strip	_dsicm_probe_of
.subsections_via_symbols
