	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda9950_probe
_tda9950_probe:                         ## @tda9950_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movl	12(%rdi), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpl	$0, 8(%r12)
	jle	LBB0_4
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r14
	movq	%r12, 24(%rax)
	movq	%r15, 16(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r12, 8(%r14)
	testq	%r15, %r15
	je	LBB0_11
## %bb.9:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, 8(%r14)
LBB0_11:
	movq	_CEC_CAP_DEFAULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CEC_MAX_LOG_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_tda9950_cec_ops@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rsi
	callq	_cec_allocate_adapter
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.25:
	movl	4(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_tda9950_cec_del@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_devm_add_action
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	callq	_cec_delete_adapter
	jmp	LBB0_24
LBB0_14:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_tda9950_devm_glue_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.15:
	movq	%r14, %rdi
	callq	_tda9950_glue_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.16:
	movq	_REG_CVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tda9950_read
	movl	%eax, %edx
	sarl	$4, %edx
	andl	$15, %eax
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %ecx
	callq	_dev_info
	movq	%r14, %rdi
	callq	_tda9950_glue_release
	testq	%r15, %r15
	jne	LBB0_18
## %bb.17:
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %r15
LBB0_18:
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_tda9950_irq@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	orq	(%r15), %rbx
	movl	(%rax), %r15d
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movq	%rbx, %r8
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:
	movq	8(%r14), %rdi
	callq	_cec_notifier_get
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_6
## %bb.21:
	movl	4(%r14), %edi
	movq	8(%r14), %rsi
	callq	_cec_register_adapter
	testl	%eax, %eax
	js	LBB0_22
## %bb.23:
	movl	(%r13), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_devm_remove_action
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_cec_register_cec_notifier
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_19:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_22:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_cec_notifier_put
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adapter does not support I2C functionality\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.1:                               ## @.str.1
	.asciz	"driver requires an interrupt\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tda9950_cec_ops,4,2            ## @tda9950_cec_ops
L_.str.2:                               ## @.str.2
	.asciz	"tda9950"

	.comm	_CEC_CAP_DEFAULTS,4,2           ## @CEC_CAP_DEFAULTS
	.comm	_CEC_MAX_LOG_ADDRS,4,2          ## @CEC_MAX_LOG_ADDRS
	.comm	_tda9950_cec_del,4,2            ## @tda9950_cec_del
	.comm	_REG_CVR,4,2                    ## @REG_CVR
L_.str.3:                               ## @.str.3
	.asciz	"TDA9950 CEC interface, hardware version %u.%u\n"

	.comm	_IRQF_TRIGGER_FALLING,8,3       ## @IRQF_TRIGGER_FALLING
	.comm	_tda9950_irq,4,2                ## @tda9950_irq
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.comm	_IRQF_ONESHOT,8,3               ## @IRQF_ONESHOT
	.no_dead_strip	_tda9950_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda9950_probe
_tda9950_probe:                         ; @tda9950_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	x21, [x0]
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_21
; %bb.3:
	mov	x20, x0
	stp	x21, x19, [x0, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x20, #8]
	cbz	x21, LBB0_6
; %bb.4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.5:
	str	x8, [x20, #8]
LBB0_6:
Lloh6:
	adrp	x8, _CEC_CAP_DEFAULTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CEC_CAP_DEFAULTS@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _CEC_MAX_LOG_ADDRS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CEC_MAX_LOG_ADDRS@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x0, _tda9950_cec_ops@GOTPAGE
Lloh13:
	ldr	x0, [x0, _tda9950_cec_ops@GOTPAGEOFF]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_cec_allocate_adapter
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.7:
	ldr	w0, [x20, #4]
	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_8:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_err
Lloh20:
	adrp	x8, _ENXIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_12:
	mov	x0, x22
	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_13:
Lloh22:
	adrp	x24, _tda9950_cec_del@GOTPAGE
Lloh23:
	ldr	x24, [x24, _tda9950_cec_del@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_add_action
	cbz	w0, LBB0_15
; %bb.14:
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_cec_delete_adapter
	b	LBB0_12
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_tda9950_devm_glue_init
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.16:
	mov	x0, x20
	bl	_tda9950_glue_open
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.17:
Lloh24:
	adrp	x8, _REG_CVR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_CVR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tda9950_read
	asr	w2, w0, #4
	and	w3, w0, #0xf
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	x0, x20
	bl	_tda9950_glue_release
Lloh29:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x8, x21, eq
	ldr	x8, [x8]
	ldr	w21, [x19, #8]
Lloh31:
	adrp	x9, _tda9950_irq@GOTPAGE
Lloh32:
	ldr	x9, [x9, _tda9950_irq@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x9]
Lloh34:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh35:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh37:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	orr	x23, x8, x9
	mov	x0, x19
	bl	_dev_name
	mov	x5, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x22
	mov	x4, x23
	mov	x6, x20
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_22
; %bb.18:
	ldr	x0, [x20, #8]
	bl	_cec_notifier_get
	str	w0, [x20]
	cbz	w0, LBB0_21
; %bb.19:
	ldr	w0, [x20, #4]
	ldr	x1, [x20, #8]
	bl	_cec_register_adapter
	tbnz	w0, #31, LBB0_23
; %bb.20:
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_remove_action
	ldp	w1, w0, [x20]
	bl	_cec_register_cec_notifier
	mov	w22, #0
	b	LBB0_12
LBB0_21:
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_22:
	mov	x22, x0
	b	LBB0_12
LBB0_23:
	mov	x22, x0
	ldr	w0, [x20]
	bl	_cec_notifier_put
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adapter does not support I2C functionality\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.1:                               ; @.str.1
	.asciz	"driver requires an interrupt\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tda9950_cec_ops,4,2            ; @tda9950_cec_ops
l_.str.2:                               ; @.str.2
	.asciz	"tda9950"

	.comm	_CEC_CAP_DEFAULTS,4,2           ; @CEC_CAP_DEFAULTS
	.comm	_CEC_MAX_LOG_ADDRS,4,2          ; @CEC_MAX_LOG_ADDRS
	.comm	_tda9950_cec_del,4,2            ; @tda9950_cec_del
	.comm	_REG_CVR,4,2                    ; @REG_CVR
l_.str.3:                               ; @.str.3
	.asciz	"TDA9950 CEC interface, hardware version %u.%u\n"

	.comm	_IRQF_TRIGGER_FALLING,8,3       ; @IRQF_TRIGGER_FALLING
	.comm	_tda9950_irq,4,2                ; @tda9950_irq
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.comm	_IRQF_ONESHOT,8,3               ; @IRQF_ONESHOT
	.no_dead_strip	_tda9950_probe
.subsections_via_symbols
