	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_cec_probe
_s5p_cec_probe:                         ## @s5p_cec_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, %r13
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_property_read_bool
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_cec_notifier_parse_hdmi_phandle
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	movq	%r13, 40(%rax)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, %rbx
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_23
## %bb.7:
	movq	_s5p_cec_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_s5p_cec_irq_handler_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%r13), %r9d
	movq	%r14, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%r8d, %r8d
	callq	_devm_request_threaded_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	32(%r14), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_syscon_regmap_lookup_by_phandle
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_12:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	16(%r14), %rdi
	jmp	LBB0_2
LBB0_14:
	movq	_CEC_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CEC_CAP_DEFAULTS@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.15:
	movq	_CEC_CAP_NEEDS_HPD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_16:
	orl	(%rax), %r12d
	movq	_CEC_CAP_CONNECTOR_INFO@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_s5p_cec_adap_ops@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	movl	%r12d, %ecx
	movl	$1, %r8d
	callq	_cec_allocate_adapter
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.17:
	movl	8(%r14), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_cec_notifier_cec_adap_register
	movl	%eax, 12(%r14)
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	8(%r14), %edi
	movq	%r13, %rsi
	callq	_cec_register_adapter
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:
	movl	%eax, %ebx
	movl	12(%r14), %edi
	callq	_cec_notifier_cec_adap_unregister
	jmp	LBB0_22
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_22:
	movl	8(%r14), %edi
	callq	_cec_delete_adapter
	jmp	LBB0_23
LBB0_20:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"needs-hpd"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_s5p_cec_irq_handler,4,2        ## @s5p_cec_irq_handler
	.comm	_s5p_cec_irq_handler_thread,4,2 ## @s5p_cec_irq_handler_thread
L_.str.1:                               ## @.str.1
	.asciz	"hdmicec"

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

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_s5p_cec_adap_ops,4,2           ## @s5p_cec_adap_ops
	.comm	_CEC_NAME,4,2                   ## @CEC_NAME
	.comm	_CEC_CAP_DEFAULTS,4,2           ## @CEC_CAP_DEFAULTS
	.comm	_CEC_CAP_NEEDS_HPD,4,2          ## @CEC_CAP_NEEDS_HPD
	.comm	_CEC_CAP_CONNECTOR_INFO,4,2     ## @CEC_CAP_CONNECTOR_INFO
L_.str.3:                               ## @.str.3
	.asciz	"successfully probed\n"

	.no_dead_strip	_s5p_cec_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_cec_probe
_s5p_cec_probe:                         ; @s5p_cec_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_property_read_bool
	mov	x22, x0
	mov	x0, x19
	bl	_cec_notifier_parse_hdmi_phandle
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	str	x19, [x0, #40]
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x23, x0
	str	x0, [x20]
	tbnz	x0, #63, LBB0_10
; %bb.5:
Lloh5:
	adrp	x8, _s5p_cec_irq_handler@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s5p_cec_irq_handler@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _s5p_cec_irq_handler_thread@GOTPAGE
Lloh9:
	ldr	x8, [x8, _s5p_cec_irq_handler_thread@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldr	w5, [x19, #4]
	mov	x0, x19
	mov	x1, x23
	mov	w4, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.6:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x0, [x20, #32]
	b	LBB0_2
LBB0_8:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_10:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syscon_regmap_lookup_by_phandle
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh17:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
Lloh19:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x0, [x20, #16]
	b	LBB0_2
LBB0_15:
Lloh22:
	adrp	x8, _CEC_NAME@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CEC_NAME@GOTPAGEOFF]
Lloh24:
	adrp	x9, _CEC_CAP_DEFAULTS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CEC_CAP_DEFAULTS@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	ldr	w8, [x9]
Lloh28:
	adrp	x9, _CEC_CAP_NEEDS_HPD@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CEC_CAP_NEEDS_HPD@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w22, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh31:
	adrp	x9, _CEC_CAP_CONNECTOR_INFO@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CEC_CAP_CONNECTOR_INFO@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh34:
	adrp	x0, _s5p_cec_adap_ops@GOTPAGE
Lloh35:
	ldr	x0, [x0, _s5p_cec_adap_ops@GOTPAGEOFF]
	mov	x1, x20
	mov	w4, #1
	bl	_cec_allocate_adapter
	str	w0, [x20, #8]
	bl	_PTR_ERR_OR_ZERO
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.16:
	ldr	w2, [x20, #8]
	mov	x0, x21
	mov	x1, #0
	bl	_cec_notifier_cec_adap_register
	str	w0, [x20, #12]
	cbz	w0, LBB0_19
; %bb.17:
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_cec_register_adapter
	mov	x23, x0
	cbz	w0, LBB0_21
; %bb.18:
	ldr	w0, [x20, #12]
	bl	_cec_notifier_cec_adap_unregister
	b	LBB0_20
LBB0_19:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_20:
	ldr	w0, [x20, #8]
	bl	_cec_delete_adapter
	b	LBB0_10
LBB0_21:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_enable
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"needs-hpd"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_s5p_cec_irq_handler,4,2        ; @s5p_cec_irq_handler
	.comm	_s5p_cec_irq_handler_thread,4,2 ; @s5p_cec_irq_handler_thread
l_.str.1:                               ; @.str.1
	.asciz	"hdmicec"

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

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_s5p_cec_adap_ops,4,2           ; @s5p_cec_adap_ops
	.comm	_CEC_NAME,4,2                   ; @CEC_NAME
	.comm	_CEC_CAP_DEFAULTS,4,2           ; @CEC_CAP_DEFAULTS
	.comm	_CEC_CAP_NEEDS_HPD,4,2          ; @CEC_CAP_NEEDS_HPD
	.comm	_CEC_CAP_CONNECTOR_INFO,4,2     ; @CEC_CAP_CONNECTOR_INFO
l_.str.3:                               ; @.str.3
	.asciz	"successfully probed\n"

	.no_dead_strip	_s5p_cec_probe
.subsections_via_symbols
