	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_cec_probe
_dw_hdmi_cec_probe:                     ## @dw_hdmi_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	%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
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	movl	8(%rbx), %eax
	movl	%eax, 16(%r15)
	movl	4(%rbx), %eax
	movl	%eax, 24(%r15)
	movl	(%rbx), %eax
	movl	%eax, 20(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	_HDMI_CEC_TX_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dw_hdmi_write
	movq	_HDMI_CEC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_dw_hdmi_write
	movq	_HDMI_IH_MUTE_CEC_STAT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_dw_hdmi_write
	movq	_HDMI_CEC_POLARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dw_hdmi_write
	movq	_CEC_CAP_DEFAULTS@GOTPCREL(%rip), %rax
	movq	_CEC_CAP_CONNECTOR_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CEC_MAX_LOG_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_dw_hdmi_cec_ops@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	callq	_cec_allocate_adapter
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	8(%r15), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_dw_hdmi_cec_del@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_cec_delete_adapter
	jmp	LBB0_8
LBB0_11:
	movl	16(%r15), %esi
	movq	_dw_hdmi_cec_hardirq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_dw_hdmi_cec_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	8(%r15), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %r9
	movq	%r14, %rdi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_15
## %bb.12:
	movl	(%r14), %edi
	movq	8(%r15), %rdx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_cec_notifier_cec_adap_register
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:
	movq	8(%r15), %rdi
	movl	(%r14), %esi
	callq	_cec_register_adapter
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_remove_action
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_15:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_17:
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_cec_notifier_cec_adap_unregister
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HDMI_CEC_TX_CNT,4,2            ## @HDMI_CEC_TX_CNT
	.comm	_HDMI_CEC_MASK,4,2              ## @HDMI_CEC_MASK
	.comm	_HDMI_IH_MUTE_CEC_STAT0,4,2     ## @HDMI_IH_MUTE_CEC_STAT0
	.comm	_HDMI_CEC_POLARITY,4,2          ## @HDMI_CEC_POLARITY
	.comm	_dw_hdmi_cec_ops,4,2            ## @dw_hdmi_cec_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dw_hdmi"

	.comm	_CEC_CAP_DEFAULTS,4,2           ## @CEC_CAP_DEFAULTS
	.comm	_CEC_CAP_CONNECTOR_INFO,4,2     ## @CEC_CAP_CONNECTOR_INFO
	.comm	_CEC_MAX_LOG_ADDRS,4,2          ## @CEC_MAX_LOG_ADDRS
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_dw_hdmi_cec_del,4,2            ## @dw_hdmi_cec_del
	.comm	_dw_hdmi_cec_hardirq,4,2        ## @dw_hdmi_cec_hardirq
	.comm	_dw_hdmi_cec_thread,4,2         ## @dw_hdmi_cec_thread
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"dw-hdmi-cec"

	.no_dead_strip	_dw_hdmi_cec_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_hdmi_cec_probe
_dw_hdmi_cec_probe:                     ; @dw_hdmi_cec_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	x19, x0
	bl	_dev_get_platdata
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.2:
	mov	x20, x0
	ldr	w8, [x21, #8]
	str	w8, [x0, #16]
	ldr	d0, [x21]
	stur	d0, [x0, #20]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh3:
	adrp	x8, _HDMI_CEC_TX_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_CEC_TX_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_dw_hdmi_write
Lloh6:
	adrp	x8, _HDMI_CEC_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_CEC_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #-1
	bl	_dw_hdmi_write
Lloh9:
	adrp	x8, _HDMI_IH_MUTE_CEC_STAT0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_IH_MUTE_CEC_STAT0@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #-1
	bl	_dw_hdmi_write
Lloh12:
	adrp	x8, _HDMI_CEC_POLARITY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI_CEC_POLARITY@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_dw_hdmi_write
Lloh15:
	adrp	x8, _CEC_CAP_DEFAULTS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CEC_CAP_DEFAULTS@GOTPAGEOFF]
Lloh17:
	adrp	x9, _CEC_CAP_CONNECTOR_INFO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CEC_CAP_CONNECTOR_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh21:
	adrp	x8, _CEC_MAX_LOG_ADDRS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CEC_MAX_LOG_ADDRS@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
Lloh24:
	adrp	x0, _dw_hdmi_cec_ops@GOTPAGE
Lloh25:
	ldr	x0, [x0, _dw_hdmi_cec_ops@GOTPAGEOFF]
Lloh26:
	adrp	x2, l_.str@PAGE
Lloh27:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_cec_allocate_adapter
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #8]
	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_4:
Lloh28:
	adrp	x8, _ENXIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh30:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	str	w8, [x9]
Lloh33:
	adrp	x22, _dw_hdmi_cec_del@GOTPAGE
Lloh34:
	ldr	x22, [x22, _dw_hdmi_cec_del@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_add_action
	cbz	w0, LBB0_7
; %bb.6:
	mov	x21, x0
	ldr	x0, [x20, #8]
	bl	_cec_delete_adapter
	b	LBB0_13
LBB0_7:
	ldr	w1, [x20, #16]
Lloh35:
	adrp	x8, _dw_hdmi_cec_hardirq@GOTPAGE
Lloh36:
	ldr	x8, [x8, _dw_hdmi_cec_hardirq@GOTPAGEOFF]
Lloh37:
	adrp	x9, _dw_hdmi_cec_thread@GOTPAGE
Lloh38:
	ldr	x9, [x9, _dw_hdmi_cec_thread@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
Lloh40:
	ldr	w3, [x9]
Lloh41:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh43:
	ldr	w4, [x8]
	ldr	x6, [x20, #8]
Lloh44:
	adrp	x5, l_.str.1@PAGE
Lloh45:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_14
; %bb.8:
	ldr	w0, [x19]
	ldr	x2, [x20, #8]
	mov	x1, #0
	bl	_cec_notifier_cec_adap_register
	str	w0, [x20]
	cbz	w0, LBB0_11
; %bb.9:
	ldr	x0, [x20, #8]
	ldr	w1, [x19]
	bl	_cec_register_adapter
	tbnz	w0, #31, LBB0_15
; %bb.10:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_remove_action
	mov	w21, #0
	b	LBB0_13
LBB0_11:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_13:
	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_14:
	mov	x21, x0
	b	LBB0_13
LBB0_15:
	mov	x21, x0
	ldr	w0, [x20]
	bl	_cec_notifier_cec_adap_unregister
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh39
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HDMI_CEC_TX_CNT,4,2            ; @HDMI_CEC_TX_CNT
	.comm	_HDMI_CEC_MASK,4,2              ; @HDMI_CEC_MASK
	.comm	_HDMI_IH_MUTE_CEC_STAT0,4,2     ; @HDMI_IH_MUTE_CEC_STAT0
	.comm	_HDMI_CEC_POLARITY,4,2          ; @HDMI_CEC_POLARITY
	.comm	_dw_hdmi_cec_ops,4,2            ; @dw_hdmi_cec_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dw_hdmi"

	.comm	_CEC_CAP_DEFAULTS,4,2           ; @CEC_CAP_DEFAULTS
	.comm	_CEC_CAP_CONNECTOR_INFO,4,2     ; @CEC_CAP_CONNECTOR_INFO
	.comm	_CEC_MAX_LOG_ADDRS,4,2          ; @CEC_MAX_LOG_ADDRS
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_dw_hdmi_cec_del,4,2            ; @dw_hdmi_cec_del
	.comm	_dw_hdmi_cec_hardirq,4,2        ; @dw_hdmi_cec_hardirq
	.comm	_dw_hdmi_cec_thread,4,2         ; @dw_hdmi_cec_thread
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"dw-hdmi-cec"

	.no_dead_strip	_dw_hdmi_cec_probe
.subsections_via_symbols
