	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda18212_probe
_tda18212_probe:                        ## @tda18212_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
	movq	(%rdi), %rbx
	movq	(%rbx), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	addq	$12, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r14, (%r12)
	leaq	_tda18212_probe.regmap_config(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 8(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_15
LBB0_4:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_6:
	movl	8(%r12), %edi
	leaq	-36(%rbp), %rdx
	xorl	%esi, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	movq	(%r12), %rdi
	movl	-36(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_8:
	testl	%ebx, %ebx
	je	LBB0_9
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	%r12, %rdi
	callq	_kfree
LBB0_16:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-36(%rbp), %eax
	cmpl	$199, %eax
	je	LBB0_10
## %bb.11:
	cmpl	$71, %eax
	jne	LBB0_14
## %bb.12:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.2(%rip), %rdx
LBB0_13:
	movq	(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_info
	movq	%r12, 16(%r15)
	movq	_tda18212_tuner_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_14:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @tda18212_probe.regmap_config
_tda18212_probe.regmap_config:
	.long	8                               ## 0x8
	.long	8                               ## 0x8

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kzalloc() failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"chip_id=%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"M"

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

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.4:                               ## @.str.4
	.asciz	"NXP TDA18212HN/%s successfully identified\n"

	.comm	_tda18212_tuner_ops,8,3         ## @tda18212_tuner_ops
L_.str.5:                               ## @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_tda18212_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda18212_probe
_tda18212_probe:                        ; @tda18212_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x22, [x0]
	ldr	x21, [x22]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	add	x0, x20, #12
	mov	x1, x22
	mov	w2, #8
	bl	_memcpy
	str	x19, [x20]
Lloh3:
	adrp	x1, _tda18212_probe.regmap_config@PAGE
Lloh4:
	add	x1, x1, _tda18212_probe.regmap_config@PAGEOFF
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_9
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_9
LBB0_4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	w1, #1
	blr	x8
LBB0_6:
	ldr	w0, [x20, #8]
	add	x2, sp, #12
	mov	w1, #0
	bl	_regmap_read
	mov	x22, x0
	ldr	x0, [x20]
	ldr	w2, [sp, #12]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	w1, #0
	blr	x8
LBB0_8:
	cbz	w22, LBB0_11
LBB0_9:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
	mov	x0, x20
	bl	_kfree
LBB0_10:
	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
	add	sp, sp, #64
	ret
LBB0_11:
	ldr	w8, [sp, #12]
	cmp	w8, #199
	b.eq	LBB0_14
; %bb.12:
	cmp	w8, #71
	b.ne	LBB0_16
; %bb.13:
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_15:
	ldr	x0, [x20]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
	str	x20, [x21, #16]
Lloh20:
	adrp	x1, _tda18212_tuner_ops@GOTPAGE
Lloh21:
	ldr	x1, [x1, _tda18212_tuner_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	mov	w22, #0
	b	LBB0_10
LBB0_16:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @tda18212_probe.regmap_config
_tda18212_probe.regmap_config:
	.long	8                               ; 0x8
	.long	8                               ; 0x8

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kzalloc() failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"chip_id=%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"M"

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

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.4:                               ; @.str.4
	.asciz	"NXP TDA18212HN/%s successfully identified\n"

	.comm	_tda18212_tuner_ops,8,3         ; @tda18212_tuner_ops
l_.str.5:                               ; @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_tda18212_probe
.subsections_via_symbols
