	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_probe
_dss_probe:                             ## @dss_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 40(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_set_coherent_mask
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_24
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_25
LBB0_4:
	movq	_dss_soc_devices@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_soc_device_match
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_dss_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_of_match_device
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 32(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	32(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_8:
	movq	%r15, %rdi
	callq	_dss_get_clocks
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.9:
	movq	%r15, %rdi
	callq	_dss_setup_default_clock
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.10:
	movq	%r15, %rdi
	callq	_dss_video_pll_probe
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.11:
	movq	%r15, %rdi
	callq	_dss_init_ports
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.12:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	callq	_dss_probe_hardware
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:
	movq	%r15, %rdi
	callq	_dss_initialize_debugfs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.14:
	movq	_dss_debug_dump_clocks@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r15, %rcx
	callq	_dss_debugfs_create_file
	movq	%rax, 24(%r15)
	movq	_dss_dump_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r15, %rcx
	callq	_dss_debugfs_create_file
	movq	%rax, 16(%r15)
	movl	(%r14), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_of_platform_populate
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	callq	_omapdss_gather_components
	movq	_dss_add_child_component@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_device_for_each_child
	movq	-40(%rbp), %rdx
	movq	_dss_component_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_master_add_with_match
	testl	%eax, %eax
	je	LBB0_25
## %bb.16:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_of_platform_depopulate
LBB0_17:
	movq	24(%r15), %rdi
	callq	_dss_debugfs_remove_file
	movq	16(%r15), %rdi
	callq	_dss_debugfs_remove_file
	movq	%r15, %rdi
	callq	_dss_uninitialize_debugfs
	movl	%r12d, %ebx
LBB0_18:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	movq	%r15, %rdi
	callq	_dss_uninit_ports
LBB0_19:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_dss_video_pll_uninit
LBB0_21:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_dss_video_pll_uninit
LBB0_23:
	movq	%r15, %rdi
	callq	_dss_put_clocks
LBB0_24:
	movq	%r15, %rdi
	callq	_kfree
LBB0_25:
	movl	%ebx, %eax
	addq	$16, %rsp
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set the DMA mask\n"

	.comm	_dss_soc_devices,4,2            ## @dss_soc_devices
	.comm	_dss_of_match,4,2               ## @dss_of_match
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"clk"

	.comm	_dss_debug_dump_clocks,4,2      ## @dss_debug_dump_clocks
L_.str.2:                               ## @.str.2
	.asciz	"dss"

	.comm	_dss_dump_regs,4,2              ## @dss_dump_regs
	.comm	_dss_add_child_component,4,2    ## @dss_add_child_component
	.comm	_dss_component_ops,4,2          ## @dss_component_ops
	.no_dead_strip	_dss_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_probe
_dss_probe:                             ; @dss_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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #40]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_dma_set_coherent_mask
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_24
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_25
LBB0_4:
Lloh8:
	adrp	x8, _dss_soc_devices@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dss_soc_devices@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_soc_device_match
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _dss_of_match@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dss_of_match@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_device
LBB0_6:
	ldr	w8, [x0]
	str	w8, [x19, #36]
Lloh14:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #32]
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_24
LBB0_8:
	mov	x0, x19
	bl	_dss_get_clocks
	mov	x21, x0
	cbnz	w0, LBB0_24
; %bb.9:
	mov	x0, x19
	bl	_dss_setup_default_clock
	mov	x21, x0
	cbnz	w0, LBB0_23
; %bb.10:
	mov	x0, x19
	bl	_dss_video_pll_probe
	mov	x21, x0
	cbnz	w0, LBB0_23
; %bb.11:
	mov	x0, x19
	bl	_dss_init_ports
	mov	x21, x0
	cbnz	w0, LBB0_19
; %bb.12:
	mov	x0, x20
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_dss_probe_hardware
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.13:
	mov	x0, x19
	bl	_dss_initialize_debugfs
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.14:
Lloh17:
	adrp	x8, _dss_debug_dump_clocks@GOTPAGE
Lloh18:
	ldr	x8, [x8, _dss_debug_dump_clocks@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x19
	bl	_dss_debugfs_create_file
	str	x0, [x19, #24]
Lloh22:
	adrp	x8, _dss_dump_regs@GOTPAGE
Lloh23:
	ldr	x8, [x8, _dss_dump_regs@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x19
	bl	_dss_debugfs_create_file
	str	x0, [x19, #16]
	ldr	w0, [x20]
	mov	x1, #0
	mov	x2, #0
	mov	x3, x20
	bl	_of_platform_populate
	mov	x21, x0
	cbnz	w0, LBB0_17
; %bb.15:
	mov	x0, x20
	bl	_omapdss_gather_components
Lloh27:
	adrp	x8, _dss_add_child_component@GOTPAGE
Lloh28:
	ldr	x8, [x8, _dss_add_child_component@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_device_for_each_child
	ldr	x2, [sp, #8]
Lloh30:
	adrp	x1, _dss_component_ops@GOTPAGE
Lloh31:
	ldr	x1, [x1, _dss_component_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_component_master_add_with_match
	mov	x21, x0
	cbz	w0, LBB0_25
; %bb.16:
	mov	x0, x20
	bl	_of_platform_depopulate
LBB0_17:
	ldr	x0, [x19, #24]
	bl	_dss_debugfs_remove_file
	ldr	x0, [x19, #16]
	bl	_dss_debugfs_remove_file
	mov	x0, x19
	bl	_dss_uninitialize_debugfs
LBB0_18:
	mov	x0, x20
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_dss_uninit_ports
LBB0_19:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_dss_video_pll_uninit
LBB0_21:
	ldr	x0, [x19]
	cbz	x0, LBB0_23
; %bb.22:
	bl	_dss_video_pll_uninit
LBB0_23:
	mov	x0, x19
	bl	_dss_put_clocks
LBB0_24:
	mov	x0, x19
	bl	_kfree
LBB0_25:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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	"Failed to set the DMA mask\n"

	.comm	_dss_soc_devices,4,2            ; @dss_soc_devices
	.comm	_dss_of_match,4,2               ; @dss_of_match
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"clk"

	.comm	_dss_debug_dump_clocks,4,2      ; @dss_debug_dump_clocks
l_.str.2:                               ; @.str.2
	.asciz	"dss"

	.comm	_dss_dump_regs,4,2              ; @dss_dump_regs
	.comm	_dss_add_child_component,4,2    ; @dss_add_child_component
	.comm	_dss_component_ops,4,2          ; @dss_component_ops
	.no_dead_strip	_dss_probe
.subsections_via_symbols
