	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda7432_probe
_tda7432_probe:                         ## @tda7432_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	addl	%edx, %edx
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_v4l_info
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_tda7432_ops@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_loudness@GOTPCREL(%rip), %rbx
	cmpl	$16, (%rbx)
	jb	LBB0_7
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_warn
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	js	LBB0_4
## %bb.5:
	movl	$15, %eax
	cmpl	$16, %ecx
	jae	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movl	%eax, (%rbx)
LBB0_7:
	movq	%r14, %rdi
	callq	_do_tda7432_init
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip found @ 0x%02x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tda7432_ops,4,2                ## @tda7432_ops
	.comm	_loudness,4,2                   ## @loudness
L_.str.1:                               ## @.str.1
	.asciz	"loudness parameter must be between 0 and 15\n"

	.no_dead_strip	_tda7432_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda7432_probe
_tda7432_probe:                         ; @tda7432_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	w8, [x0]
	lsl	w2, w8, #1
	ldr	x8, [x0, #8]
	ldr	w3, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_v4l_info
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x2, _tda7432_ops@GOTPAGE
Lloh6:
	ldr	x2, [x2, _tda7432_ops@GOTPAGEOFF]
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
Lloh7:
	adrp	x20, _loudness@GOTPAGE
Lloh8:
	ldr	x20, [x20, _loudness@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #16
	b.lo	LBB0_8
; %bb.2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l2_warn
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_6
; %bb.3:
	cmp	w8, #16
	b.lo	LBB0_8
; %bb.4:
	mov	w8, #15
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x20]
LBB0_8:
	mov	x0, x19
	bl	_do_tda7432_init
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip found @ 0x%02x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tda7432_ops,4,2                ; @tda7432_ops
	.comm	_loudness,4,2                   ; @loudness
l_.str.1:                               ; @.str.1
	.asciz	"loudness parameter must be between 0 and 15\n"

	.no_dead_strip	_tda7432_probe
.subsections_via_symbols
