	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsicm_probe
_dsicm_probe:                           ## @dsicm_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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$128, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r14, 120(%r15)
	movabsq	$2061584302944, %rax            ## imm = 0x1E000000360
	movq	%rax, 104(%r15)
	movl	$24883200, 112(%r15)            ## imm = 0x17BB000
	movq	%r14, %rdi
	callq	_dsicm_probe_of
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.3:
	leaq	56(%r15), %rbx
	movq	%r14, 96(%r15)
	movq	_dsicm_ops@GOTPCREL(%rip), %rax
	movq	%rax, 88(%r15)
	movq	_dsicm_dss_driver@GOTPCREL(%rip), %rax
	movq	%rax, 80(%r15)
	movq	_OMAP_DISPLAY_TYPE_DSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r15)
	movl	$1, 56(%r15)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, 68(%r15)
	movq	_OMAP_DSS_DEVICE_OP_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	_OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE@GOTPCREL(%rip), %rax
	movq	_OMAP_DSS_DISPLAY_CAP_TEAR_ELIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 60(%r15)
	movq	%rbx, %rdi
	callq	_omapdss_display_init
	movq	%rbx, %rdi
	callq	_omapdss_device_register
	leaq	52(%r15), %rdi
	callq	_mutex_init
	leaq	48(%r15), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	callq	_gpiod_to_irq
	movq	_dsicm_te_isr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_16
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_6:
	leaq	36(%r15), %rdi
	movq	_dsicm_te_timeout_work_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DEFERRABLE_WORK
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	callq	_create_singlethread_workqueue
	movl	%eax, 8(%r15)
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	addq	$32, %rdi
	movq	_dsicm_ulps_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r15, %rdi
	callq	_dsicm_hw_reset
	cmpq	$0, 24(%r15)
	je	LBB0_12
## %bb.10:
	movl	$0, -32(%rbp)
	movl	$255, -40(%rbp)
	movq	_BACKLIGHT_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	%r14, %rdi
	callq	_dev_name
	movq	_dsicm_bl_ops@GOTPCREL(%rip), %r8
	leaq	-40(%rbp), %r9
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_devm_backlight_device_register
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.19:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_11:
	movq	%rbx, 16(%r15)
LBB0_12:
	movq	_dsicm_attr_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_15:
	movl	8(%r15), %edi
	callq	_destroy_workqueue
LBB0_16:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_put_device
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dsicm_ops,4,2                  ## @dsicm_ops
	.comm	_dsicm_dss_driver,4,2           ## @dsicm_dss_driver
	.comm	_OMAP_DISPLAY_TYPE_DSI,4,2      ## @OMAP_DISPLAY_TYPE_DSI
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_OMAP_DSS_DEVICE_OP_MODES,4,2   ## @OMAP_DSS_DEVICE_OP_MODES
	.comm	_OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE,4,2 ## @OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE
	.comm	_OMAP_DSS_DISPLAY_CAP_TEAR_ELIM,4,2 ## @OMAP_DSS_DISPLAY_CAP_TEAR_ELIM
	.comm	_dsicm_te_isr,4,2               ## @dsicm_te_isr
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
L_.str.1:                               ## @.str.1
	.asciz	"taal vsync"

L_.str.2:                               ## @.str.2
	.asciz	"IRQ request failed\n"

	.comm	_dsicm_te_timeout_work_callback,4,2 ## @dsicm_te_timeout_work_callback
L_.str.3:                               ## @.str.3
	.asciz	"Using GPIO TE\n"

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

	.comm	_dsicm_ulps_work,4,2            ## @dsicm_ulps_work
	.comm	_BACKLIGHT_RAW,4,2              ## @BACKLIGHT_RAW
	.comm	_dsicm_bl_ops,4,2               ## @dsicm_bl_ops
	.comm	_dsicm_attr_group,4,2           ## @dsicm_attr_group
L_.str.5:                               ## @.str.5
	.asciz	"failed to create sysfs files\n"

	.no_dead_strip	_dsicm_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dsicm_probe
lCPI0_0:
	.long	864                             ; 0x360
	.long	480                             ; 0x1e0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dsicm_probe:                           ; @dsicm_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #128
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	str	x20, [x19, #120]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #104]
	mov	w8, #45056
	movk	w8, #379, lsl #16
	str	w8, [x19, #112]
	mov	x0, x20
	bl	_dsicm_probe_of
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.2:
	mov	w8, #1
	mov	x21, x19
	str	w8, [x21, #56]!
	str	x20, [x21, #40]
Lloh7:
	adrp	x8, _dsicm_ops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _dsicm_ops@GOTPAGEOFF]
Lloh9:
	adrp	x9, _dsicm_dss_driver@GOTPAGE
Lloh10:
	ldr	x9, [x9, _dsicm_dss_driver@GOTPAGEOFF]
	stp	x9, x8, [x21, #24]
Lloh11:
	adrp	x8, _OMAP_DISPLAY_TYPE_DSI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OMAP_DISPLAY_TYPE_DSI@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	bl	_BIT
	str	w0, [x21, #12]
Lloh17:
	adrp	x8, _OMAP_DSS_DEVICE_OP_MODES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OMAP_DSS_DEVICE_OP_MODES@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _OMAP_DSS_DISPLAY_CAP_TEAR_ELIM@GOTPAGE
Lloh24:
	ldr	x10, [x10, _OMAP_DSS_DISPLAY_CAP_TEAR_ELIM@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w9, w8, [x21, #4]
	mov	x0, x21
	bl	_omapdss_display_init
	mov	x0, x21
	bl	_omapdss_device_register
	sub	x0, x21, #4
	bl	_mutex_init
	sub	x0, x21, #8
	mov	w1, #0
	bl	_atomic_set
	ldur	x0, [x21, #-16]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_gpiod_to_irq
	mov	x1, x0
Lloh26:
	adrp	x8, _dsicm_te_isr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dsicm_te_isr@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x4, l_.str.1@PAGE
Lloh33:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_6
; %bb.4:
	mov	x21, x0
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_16
LBB0_5:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_18
LBB0_6:
	add	x0, x19, #36
Lloh39:
	adrp	x8, _dsicm_te_timeout_work_callback@GOTPAGE
Lloh40:
	ldr	x8, [x8, _dsicm_te_timeout_work_callback@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_INIT_DEFERRABLE_WORK
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_7:
Lloh44:
	adrp	x0, l_.str.4@PAGE
Lloh45:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_create_singlethread_workqueue
	str	w0, [x19, #8]
	cbz	w0, LBB0_11
; %bb.8:
	add	x0, x19, #32
Lloh46:
	adrp	x8, _dsicm_ulps_work@GOTPAGE
Lloh47:
	ldr	x8, [x8, _dsicm_ulps_work@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	x0, x19
	bl	_dsicm_hw_reset
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.9:
	str	wzr, [sp, #8]
	mov	w8, #255
Lloh49:
	adrp	x9, _BACKLIGHT_RAW@GOTPAGE
Lloh50:
	ldr	x9, [x9, _BACKLIGHT_RAW@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	mov	x0, x20
	bl	_dev_name
	mov	x1, x0
Lloh52:
	adrp	x4, _dsicm_bl_ops@GOTPAGE
Lloh53:
	ldr	x4, [x4, _dsicm_bl_ops@GOTPAGEOFF]
	mov	x5, sp
	mov	x0, x20
	mov	x2, x20
	mov	x3, x19
	bl	_devm_backlight_device_register
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_15
LBB0_11:
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_12:
	str	x21, [x19, #16]
LBB0_13:
Lloh57:
	adrp	x1, _dsicm_attr_group@GOTPAGE
Lloh58:
	ldr	x1, [x1, _dsicm_attr_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x21, x0
	cbz	w0, LBB0_18
; %bb.14:
Lloh59:
	adrp	x1, l_.str.5@PAGE
Lloh60:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_15:
	ldr	w0, [x19, #8]
	bl	_destroy_workqueue
LBB0_16:
	ldr	x0, [x19]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_put_device
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dsicm_ops,4,2                  ; @dsicm_ops
	.comm	_dsicm_dss_driver,4,2           ; @dsicm_dss_driver
	.comm	_OMAP_DISPLAY_TYPE_DSI,4,2      ; @OMAP_DISPLAY_TYPE_DSI
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_OMAP_DSS_DEVICE_OP_MODES,4,2   ; @OMAP_DSS_DEVICE_OP_MODES
	.comm	_OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE,4,2 ; @OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE
	.comm	_OMAP_DSS_DISPLAY_CAP_TEAR_ELIM,4,2 ; @OMAP_DSS_DISPLAY_CAP_TEAR_ELIM
	.comm	_dsicm_te_isr,4,2               ; @dsicm_te_isr
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
l_.str.1:                               ; @.str.1
	.asciz	"taal vsync"

l_.str.2:                               ; @.str.2
	.asciz	"IRQ request failed\n"

	.comm	_dsicm_te_timeout_work_callback,4,2 ; @dsicm_te_timeout_work_callback
l_.str.3:                               ; @.str.3
	.asciz	"Using GPIO TE\n"

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

	.comm	_dsicm_ulps_work,4,2            ; @dsicm_ulps_work
	.comm	_BACKLIGHT_RAW,4,2              ; @BACKLIGHT_RAW
	.comm	_dsicm_bl_ops,4,2               ; @dsicm_bl_ops
	.comm	_dsicm_attr_group,4,2           ; @dsicm_attr_group
l_.str.5:                               ; @.str.5
	.asciz	"failed to create sysfs files\n"

	.no_dead_strip	_dsicm_probe
.subsections_via_symbols
