	.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	%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, %rbx
	movl	(%rdi), %edx
	addl	%edx, %edx
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_v4l_info
	leaq	4(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	40(%rax), %r14
	movq	_tda7432_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_AUDIO_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_maxvol@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$79, %eax
	movl	$104, %r8d
	cmovel	%eax, %r8d
	movl	$71, %eax
	movl	$93, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%rsp)
	movq	_tda7432_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%r12)
	movq	_V4L2_CID_AUDIO_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$-31, %ecx
	movl	$31, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%r12)
	movq	_V4L2_CID_AUDIO_BASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$7, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$14, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r12)
	movq	_V4L2_CID_AUDIO_TREBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$7, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$14, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r12)
	movq	%r12, 40(%r12)
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	leaq	8(%r12), %rbx
	movq	%r12, %rsi
	addq	$16, %rsi
	movl	$2, %edi
	callq	_v4l2_ctrl_cluster
	movl	$2, %edi
	movq	%rbx, %rsi
	callq	_v4l2_ctrl_cluster
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_setup
	movq	_loudness@GOTPCREL(%rip), %rbx
	cmpl	$16, (%rbx)
	jb	LBB0_9
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_warn
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	js	LBB0_6
## %bb.7:
	movl	$15, %eax
	cmpl	$16, %ecx
	jae	LBB0_8
	jmp	LBB0_9
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movl	%eax, (%rbx)
LBB0_9:
	movq	%r14, %rdi
	callq	_tda7432_set
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_tda7432_ctrl_ops,4,2           ## @tda7432_ctrl_ops
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ## @V4L2_CID_AUDIO_VOLUME
	.comm	_maxvol,8,3                     ## @maxvol
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ## @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_BALANCE,4,2     ## @V4L2_CID_AUDIO_BALANCE
	.comm	_V4L2_CID_AUDIO_BASS,4,2        ## @V4L2_CID_AUDIO_BASS
	.comm	_V4L2_CID_AUDIO_TREBLE,4,2      ## @V4L2_CID_AUDIO_TREBLE
	.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	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	x21, 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
	add	x0, x21, #4
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x19, x0, #40
Lloh5:
	adrp	x2, _tda7432_ops@GOTPAGE
Lloh6:
	ldr	x2, [x2, _tda7432_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	bl	_v4l2_i2c_subdev_init
	mov	x0, x20
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh7:
	adrp	x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _maxvol@GOTPAGE
Lloh11:
	ldr	x8, [x8, _maxvol@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #104
	mov	w9, #79
	csel	w4, w9, w8, eq
	mov	w8, #93
	mov	w9, #71
	csel	w6, w9, w8, eq
Lloh13:
	adrp	x22, _tda7432_ctrl_ops@GOTPAGE
Lloh14:
	ldr	x22, [x22, _tda7432_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh15:
	adrp	x8, _V4L2_CID_AUDIO_MUTE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_CID_AUDIO_MUTE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	mov	x21, x20
	str	x0, [x21, #8]!
Lloh18:
	adrp	x8, _V4L2_CID_AUDIO_BALANCE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_CID_AUDIO_BALANCE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #-31
	mov	w4, #31
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #32]
Lloh21:
	adrp	x8, _V4L2_CID_AUDIO_BASS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V4L2_CID_AUDIO_BASS@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #14
	mov	w5, #1
	mov	w6, #7
	bl	_v4l2_ctrl_new_std
	mov	x23, x20
	str	x0, [x23, #16]!
Lloh24:
	adrp	x8, _V4L2_CID_AUDIO_TREBLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_AUDIO_TREBLE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #14
	mov	w5, #1
	mov	w6, #7
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #24]
	str	x20, [x20, #40]
	ldr	w22, [x20]
	cbz	w22, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_11
LBB0_3:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_4:
	mov	w0, #2
	mov	x1, x23
	bl	_v4l2_ctrl_cluster
	mov	w0, #2
	mov	x1, x21
	bl	_v4l2_ctrl_cluster
	mov	x0, x20
	bl	_v4l2_ctrl_handler_setup
Lloh30:
	adrp	x20, _loudness@GOTPAGE
Lloh31:
	ldr	x20, [x20, _loudness@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #16
	b.lo	LBB0_10
; %bb.5:
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l2_warn
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_8
; %bb.6:
	cmp	w8, #16
	b.lo	LBB0_10
; %bb.7:
	mov	w8, #15
	b	LBB0_9
LBB0_8:
	mov	w8, #0
LBB0_9:
	str	w8, [x20]
LBB0_10:
	mov	x0, x19
	bl	_tda7432_set
	mov	w22, #0
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.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	_tda7432_ctrl_ops,4,2           ; @tda7432_ctrl_ops
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ; @V4L2_CID_AUDIO_VOLUME
	.comm	_maxvol,8,3                     ; @maxvol
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ; @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_BALANCE,4,2     ; @V4L2_CID_AUDIO_BALANCE
	.comm	_V4L2_CID_AUDIO_BASS,4,2        ; @V4L2_CID_AUDIO_BASS
	.comm	_V4L2_CID_AUDIO_TREBLE,4,2      ; @V4L2_CID_AUDIO_TREBLE
	.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
