	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_probe
_hdmi_probe:                            ## @hdmi_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movq	%rax, 64(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	%r14, 104(%r15)
	leaq	96(%r15), %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_hdmi_resources_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_29
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_DRM_DEV_ERROR
	jmp	LBB0_29
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	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
	movq	%rax, 88(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.30:
	movq	88(%r15), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	%r15, %rdi
	callq	_hdmi_get_ddc_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_29
## %bb.7:
	movq	%r15, %rdi
	callq	_hdmi_get_phy_io
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_28
## %bb.8:
	leaq	84(%r15), %rdi
	movq	_hdmi_hotplug_work_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movl	80(%r15), %esi
	movq	_hdmi_irq_thread@GOTPCREL(%rip), %rax
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rcx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rcx), %r8d
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str.1(%rip), %r9
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_DRM_DEV_ERROR
	jmp	LBB0_24
LBB0_10:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_syscon_regmap_lookup_by_phandle
	movq	%rax, 72(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
LBB0_12:
	movq	%r14, %rdi
	callq	_DRM_DEV_ERROR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_18:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_24:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_put_device
LBB0_26:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	callq	_iounmap
LBB0_28:
	movq	(%r15), %rdi
	callq	_put_device
	jmp	LBB0_29
LBB0_13:
	movq	64(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_syscon_regmap_lookup_by_phandle
	movq	%rax, 56(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_12
LBB0_16:
	movq	%r14, %rdi
	callq	_cec_notifier_get
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	addq	$36, %rdi
	callq	_hdmi_audio_infoframe_init
	movq	_HDMI_AUDIO_CODING_TYPE_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_HDMI_AUDIO_SAMPLE_SIZE_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movl	$2, 36(%r15)
	movq	%r15, %rdi
	callq	_hdmi_register_audio_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.20:
	movq	_hdmi_component_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movl	%eax, %ebx
	movl	32(%r15), %edi
	callq	_platform_device_unregister
LBB0_23:
	movq	24(%r15), %rdi
	callq	_cec_notifier_put
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_24
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdmi_resources_init failed\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_hdmi_hotplug_work_func,4,2     ## @hdmi_hotplug_work_func
	.comm	_hdmi_irq_thread,4,2            ## @hdmi_irq_thread
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.1:                               ## @.str.1
	.asciz	"hdmi"

L_.str.2:                               ## @.str.2
	.asciz	"failed to register hdmi interrupt\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"syscon regmap lookup failed.\n"

L_.str.5:                               ## @.str.5
	.asciz	"samsung,sysreg-phandle"

L_.str.6:                               ## @.str.6
	.asciz	"sysreg regmap lookup failed.\n"

	.comm	_HDMI_AUDIO_CODING_TYPE_STREAM,4,2 ## @HDMI_AUDIO_CODING_TYPE_STREAM
	.comm	_HDMI_AUDIO_SAMPLE_SIZE_STREAM,4,2 ## @HDMI_AUDIO_SAMPLE_SIZE_STREAM
	.comm	_HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM,4,2 ## @HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM
	.comm	_hdmi_component_ops,4,2         ## @hdmi_component_ops
	.no_dead_strip	_hdmi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_probe
_hdmi_probe:                            ; @hdmi_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, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_of_device_get_match_data
	str	x0, [x19, #64]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	str	x20, [x19, #104]
	add	x0, x19, #96
	bl	_mutex_init
	mov	x0, x19
	bl	_hdmi_resources_init
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DRM_DEV_ERROR
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	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_6:
Lloh11:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	x0, [x19, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #88]
	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_8:
	mov	x0, x19
	bl	_hdmi_get_ddc_adapter
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.9:
	mov	x0, x19
	bl	_hdmi_get_phy_io
	mov	x21, x0
	cbnz	w0, LBB0_19
; %bb.10:
	add	x0, x19, #84
Lloh14:
	adrp	x8, _hdmi_hotplug_work_func@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hdmi_hotplug_work_func@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	ldr	w1, [x19, #80]
Lloh17:
	adrp	x8, _hdmi_irq_thread@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hdmi_irq_thread@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
Lloh20:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w4, w8, w9
Lloh29:
	adrp	x5, l_.str.1@PAGE
Lloh30:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	x6, x19
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_12
; %bb.11:
	mov	x21, x0
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_DRM_DEV_ERROR
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_16
	b	LBB0_17
LBB0_12:
	ldr	w0, [x20]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syscon_regmap_lookup_by_phandle
	str	x0, [x19, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.13:
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	mov	x0, x20
	bl	_DRM_DEV_ERROR
Lloh37:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_17
LBB0_16:
	bl	_put_device
LBB0_17:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_iounmap
LBB0_19:
	ldr	x0, [x19]
	bl	_put_device
	b	LBB0_5
LBB0_20:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.21:
	ldr	w0, [x20]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_syscon_regmap_lookup_by_phandle
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_23
; %bb.22:
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_23:
	mov	x0, x20
	bl	_cec_notifier_get
	str	x0, [x19, #24]
	cbz	x0, LBB0_28
; %bb.24:
	mov	x0, x20
	bl	_pm_runtime_enable
	add	x0, x19, #36
	bl	_hdmi_audio_infoframe_init
Lloh43:
	adrp	x8, _HDMI_AUDIO_CODING_TYPE_STREAM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HDMI_AUDIO_CODING_TYPE_STREAM@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _HDMI_AUDIO_SAMPLE_SIZE_STREAM@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HDMI_AUDIO_SAMPLE_SIZE_STREAM@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
Lloh49:
	adrp	x8, _HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x19, #36]
	mov	x0, x19
	bl	_hdmi_register_audio_device
	mov	x21, x0
	cbnz	w0, LBB0_27
; %bb.25:
Lloh52:
	adrp	x1, _hdmi_component_ops@GOTPAGE
Lloh53:
	ldr	x1, [x1, _hdmi_component_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_component_add
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.26:
	ldr	w0, [x19, #32]
	bl	_platform_device_unregister
LBB0_27:
	ldr	x0, [x19, #24]
	bl	_cec_notifier_put
	mov	x0, x20
	bl	_pm_runtime_disable
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_16
	b	LBB0_17
LBB0_28:
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdmi_resources_init failed\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_hdmi_hotplug_work_func,4,2     ; @hdmi_hotplug_work_func
	.comm	_hdmi_irq_thread,4,2            ; @hdmi_irq_thread
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.1:                               ; @.str.1
	.asciz	"hdmi"

l_.str.2:                               ; @.str.2
	.asciz	"failed to register hdmi interrupt\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"syscon regmap lookup failed.\n"

l_.str.5:                               ; @.str.5
	.asciz	"samsung,sysreg-phandle"

l_.str.6:                               ; @.str.6
	.asciz	"sysreg regmap lookup failed.\n"

	.comm	_HDMI_AUDIO_CODING_TYPE_STREAM,4,2 ; @HDMI_AUDIO_CODING_TYPE_STREAM
	.comm	_HDMI_AUDIO_SAMPLE_SIZE_STREAM,4,2 ; @HDMI_AUDIO_SAMPLE_SIZE_STREAM
	.comm	_HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM,4,2 ; @HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM
	.comm	_hdmi_component_ops,4,2         ; @hdmi_component_ops
	.no_dead_strip	_hdmi_probe
.subsections_via_symbols
