	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_mic_probe
_exynos_mic_probe:                      ## @exynos_mic_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%r15, 32(%rax)
	movl	(%r15), %edi
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	callq	_of_address_to_resource
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	-48(%rbp), %ebx
	leaq	-48(%rbp), %rdi
	callq	_resource_size
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movl	%eax, 28(%r14)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_syscon_regmap_lookup_by_phandle
	movl	%eax, 24(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movl	24(%r14), %edi
LBB0_13:
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_8:
	movq	_NUM_CLKS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_15
## %bb.9:
	xorl	%ebx, %ebx
	movq	_clk_names@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_mic_bridge_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_drm_bridge_add
	movq	%r15, %rdi
	callq	_pm_runtime_enable
	movq	_exynos_mic_component_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_18
LBB0_11:
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	jmp	LBB0_13
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_DRM_DEV_DEBUG_KMS
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mic: Failed to allocate memory for MIC object\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"mic: Failed to get mem region for MIC\n"

L_.str.2:                               ## @.str.2
	.asciz	"mic: Failed to remap for MIC\n"

L_.str.3:                               ## @.str.3
	.asciz	"samsung,disp-syscon"

L_.str.4:                               ## @.str.4
	.asciz	"mic: Failed to get system register.\n"

	.comm	_NUM_CLKS,4,2                   ## @NUM_CLKS
	.comm	_clk_names,8,3                  ## @clk_names
L_.str.5:                               ## @.str.5
	.asciz	"mic: Failed to get clock (%s)\n"

	.comm	_mic_bridge_funcs,4,2           ## @mic_bridge_funcs
	.comm	_exynos_mic_component_ops,4,2   ## @exynos_mic_component_ops
L_.str.6:                               ## @.str.6
	.asciz	"MIC has been probed\n"

	.no_dead_strip	_exynos_mic_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_mic_probe
_exynos_mic_probe:                      ; @exynos_mic_probe
	.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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #32]
	ldr	w0, [x19]
	add	x2, sp, #8
	mov	w1, #0
	bl	_of_address_to_resource
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_DRM_DEV_ERROR
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	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:
	ldr	w21, [sp, #8]
	add	x0, sp, #8
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_devm_ioremap
	str	w0, [x20, #28]
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syscon_regmap_lookup_by_phandle
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.8:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	ldr	w0, [x20, #24]
LBB0_9:
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_5
LBB0_10:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_11:
Lloh16:
	adrp	x21, _NUM_CLKS@GOTPAGE
Lloh17:
	ldr	x21, [x21, _NUM_CLKS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x22, #0
Lloh18:
	adrp	x23, _clk_names@GOTPAGE
Lloh19:
	ldr	x23, [x23, _clk_names@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x24, x22, #2
	ldr	w1, [x8, x24]
	mov	x0, x19
	bl	_devm_clk_get
	ldr	x8, [x20, #16]
	str	w0, [x8, x24]
	bl	_IS_ERR
	cbnz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_13
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh20:
	adrp	x8, _mic_bridge_funcs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _mic_bridge_funcs@GOTPAGEOFF]
	str	x8, [x20, #8]
	ldr	w8, [x19]
	str	w8, [x20]
	mov	x0, x20
	bl	_drm_bridge_add
	mov	x0, x19
	bl	_pm_runtime_enable
Lloh22:
	adrp	x1, _exynos_mic_component_ops@GOTPAGE
Lloh23:
	ldr	x1, [x1, _exynos_mic_component_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_add
	mov	x21, x0
	cbz	w0, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_pm_runtime_disable
	b	LBB0_5
LBB0_17:
	ldr	x8, [x23]
	ldr	w8, [x8, x24]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x24]
	b	LBB0_9
LBB0_18:
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_DEBUG_KMS
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mic: Failed to allocate memory for MIC object\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"mic: Failed to get mem region for MIC\n"

l_.str.2:                               ; @.str.2
	.asciz	"mic: Failed to remap for MIC\n"

l_.str.3:                               ; @.str.3
	.asciz	"samsung,disp-syscon"

l_.str.4:                               ; @.str.4
	.asciz	"mic: Failed to get system register.\n"

	.comm	_NUM_CLKS,4,2                   ; @NUM_CLKS
	.comm	_clk_names,8,3                  ; @clk_names
l_.str.5:                               ; @.str.5
	.asciz	"mic: Failed to get clock (%s)\n"

	.comm	_mic_bridge_funcs,4,2           ; @mic_bridge_funcs
	.comm	_exynos_mic_component_ops,4,2   ; @exynos_mic_component_ops
l_.str.6:                               ; @.str.6
	.asciz	"MIC has been probed\n"

	.no_dead_strip	_exynos_mic_probe
.subsections_via_symbols
