	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda10071_probe
_tda10071_probe:                        ## @tda10071_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), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 48(%rax)
	leaq	44(%rax), %rdi
	callq	_mutex_init
	movl	24(%r12), %eax
	movl	%eax, 40(%r15)
	movl	20(%r12), %eax
	movl	%eax, 36(%r15)
	movups	4(%r12), %xmm0
	movups	%xmm0, 20(%r15)
	leaq	_tda10071_probe.regmap_config(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 16(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	16(%r15), %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_6:
	leaq	-36(%rbp), %rdx
	movl	$255, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.7:
	cmpl	$15, -36(%rbp)
	jne	LBB0_8
## %bb.9:
	movl	16(%r15), %edi
	leaq	-36(%rbp), %rdx
	movl	$221, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.10:
	cmpl	$0, -36(%rbp)
	je	LBB0_11
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movq	%r15, %rdi
	callq	_kfree
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_14:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	16(%r15), %edi
	leaq	-36(%rbp), %rdx
	movl	$254, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.12:
	cmpl	$1, -36(%rbp)
	jne	LBB0_8
## %bb.13:
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	_tda10071_ops@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	_tda10071_get_dvb_frontend@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @tda10071_probe.regmap_config
_tda10071_probe.regmap_config:
	.long	8                               ## 0x8
	.long	8                               ## 0x8

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_tda10071_ops,4,2               ## @tda10071_ops
	.comm	_tda10071_get_dvb_frontend,4,2  ## @tda10071_get_dvb_frontend
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NXP TDA10071 successfully identified\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed=%d\n"

	.no_dead_strip	_tda10071_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda10071_probe
_tda10071_probe:                        ; @tda10071_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]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #48]
	add	x0, x0, #44
	bl	_mutex_init
	ldur	d0, [x22, #20]
	stur	d0, [x20, #36]
	ldur	q0, [x22, #4]
	stur	q0, [x20, #20]
Lloh3:
	adrp	x1, _tda10071_probe.regmap_config@PAGE
Lloh4:
	add	x1, x1, _tda10071_probe.regmap_config@PAGEOFF
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #16]
	cbz	x8, LBB0_4
; %bb.2:
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_9
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_4:
	add	x2, sp, #12
	mov	w1, #255
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	w8, [sp, #12]
	cmp	w8, #15
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x20, #16]
	add	x2, sp, #12
	mov	w1, #221
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_12
LBB0_8:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	mov	x0, x20
	bl	_kfree
LBB0_10:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
LBB0_11:
	mov	x0, x21
	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_12:
	ldr	w0, [x20, #16]
	add	x2, sp, #12
	mov	w1, #254
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.13:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.14:
	add	x0, x20, #8
Lloh13:
	adrp	x1, _tda10071_ops@GOTPAGE
Lloh14:
	ldr	x1, [x1, _tda10071_ops@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	str	x20, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh15:
	adrp	x8, _tda10071_get_dvb_frontend@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tda10071_get_dvb_frontend@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x22]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @tda10071_probe.regmap_config
_tda10071_probe.regmap_config:
	.long	8                               ; 0x8
	.long	8                               ; 0x8

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_tda10071_ops,4,2               ; @tda10071_ops
	.comm	_tda10071_get_dvb_frontend,4,2  ; @tda10071_get_dvb_frontend
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NXP TDA10071 successfully identified\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed=%d\n"

	.no_dead_strip	_tda10071_probe
.subsections_via_symbols
