	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi5_probe
_hdmi5_probe:                           ## @hdmi5_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), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 24(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	leaq	20(%r15), %rdi
	callq	_mutex_init
	leaq	16(%r15), %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	callq	_hdmi5_probe_of
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.3:
	leaq	12(%r15), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_hdmi_wp_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.4:
	leaq	8(%r15), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_hdmi_phy_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.5:
	movq	%r15, %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_hdmi5_core_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_18:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_19
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	_hdmi_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str.1(%rip), %r9
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_DSSERR
	jmp	LBB0_18
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_DSSERR
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movl	(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_18
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	callq	_DSSERR
	jmp	LBB0_18
LBB0_13:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	callq	_hdmi5_init_output
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	_hdmi5_component_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_hdmi5_uninit_output
LBB0_17:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_18
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.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	"platform_get_irq failed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hdmi_irq_handler,4,2           ## @hdmi_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.1:                               ## @.str.1
	.asciz	"OMAP HDMI"

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

L_.str.3:                               ## @.str.3
	.asciz	"vdda"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.4:                               ## @.str.4
	.asciz	"can't get VDDA regulator\n"

	.comm	_hdmi5_component_ops,4,2        ## @hdmi5_component_ops
	.no_dead_strip	_hdmi5_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi5_probe
_hdmi5_probe:                           ; @hdmi5_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	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
	add	x0, x19, #20
	bl	_mutex_init
	add	x0, x19, #16
	bl	_spin_lock_init
	mov	x0, x19
	bl	_hdmi5_probe_of
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.2:
	add	x1, x19, #12
	mov	x0, x20
	mov	w2, #5
	bl	_hdmi_wp_init
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.3:
	add	x1, x19, #8
	mov	x0, x20
	mov	w2, #5
	bl	_hdmi_phy_init
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.4:
	add	x1, x19, #4
	mov	x0, x20
	bl	_hdmi5_core_init
	mov	x21, x0
	cbz	w0, LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_kfree
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	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_8:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_11
; %bb.9:
	mov	x1, x0
Lloh6:
	adrp	x8, _hdmi_irq_handler@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hdmi_irq_handler@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x5, l_.str.1@PAGE
Lloh13:
	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.10:
	mov	x21, x0
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DSSERR
	b	LBB0_5
LBB0_11:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSERR
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_12:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.13:
	ldr	w0, [x19]
	bl	_PTR_ERR
	mov	x21, x0
Lloh23:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.14:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DSSERR
	b	LBB0_5
LBB0_15:
	mov	x0, x20
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_hdmi5_init_output
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.16:
Lloh28:
	adrp	x1, _hdmi5_component_ops@GOTPAGE
Lloh29:
	ldr	x1, [x1, _hdmi5_component_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_component_add
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.17:
	mov	x0, x19
	bl	_hdmi5_uninit_output
LBB0_18:
	mov	x0, x20
	bl	_pm_runtime_disable
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	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	"platform_get_irq failed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hdmi_irq_handler,4,2           ; @hdmi_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.1:                               ; @.str.1
	.asciz	"OMAP HDMI"

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

l_.str.3:                               ; @.str.3
	.asciz	"vdda"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.4:                               ; @.str.4
	.asciz	"can't get VDDA regulator\n"

	.comm	_hdmi5_component_ops,4,2        ; @hdmi5_component_ops
	.no_dead_strip	_hdmi5_probe
.subsections_via_symbols
