	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda9840_probe
_tda9840_probe:                         ## @tda9840_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
	movq	8(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	(%rbx), %edx
	addl	%edx, %edx
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l_info
	leaq	4(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	_tda9840_ops@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_LEVEL_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_tda9840_write
	movq	_STEREO_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_tda9840_write
	movq	_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TDA9840_SET_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tda9840_write
	jmp	LBB0_6
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip found @ 0x%x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tda9840_ops,4,2                ## @tda9840_ops
	.comm	_LEVEL_ADJUST,4,2               ## @LEVEL_ADJUST
	.comm	_STEREO_ADJUST,4,2              ## @STEREO_ADJUST
	.comm	_SWITCH,4,2                     ## @SWITCH
	.comm	_TDA9840_SET_STEREO,4,2         ## @TDA9840_SET_STEREO
	.no_dead_strip	_tda9840_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda9840_probe
_tda9840_probe:                         ; @tda9840_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	x19, x0
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGEOFF]
	ldr	x0, [x0, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	lsl	w2, w8, #1
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_v4l_info
	add	x0, x19, #4
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh11:
	adrp	x2, _tda9840_ops@GOTPAGE
Lloh12:
	ldr	x2, [x2, _tda9840_ops@GOTPAGEOFF]
	mov	x1, x19
	bl	_v4l2_i2c_subdev_init
Lloh13:
	adrp	x8, _LEVEL_ADJUST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LEVEL_ADJUST@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda9840_write
Lloh16:
	adrp	x8, _STEREO_ADJUST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STEREO_ADJUST@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_tda9840_write
Lloh19:
	adrp	x8, _SWITCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SWITCH@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _TDA9840_SET_STEREO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TDA9840_SET_STEREO@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tda9840_write
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh25:
	adrp	x8, _EIO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip found @ 0x%x (%s)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tda9840_ops,4,2                ; @tda9840_ops
	.comm	_LEVEL_ADJUST,4,2               ; @LEVEL_ADJUST
	.comm	_STEREO_ADJUST,4,2              ; @STEREO_ADJUST
	.comm	_SWITCH,4,2                     ; @SWITCH
	.comm	_TDA9840_SET_STEREO,4,2         ; @TDA9840_SET_STEREO
	.no_dead_strip	_tda9840_probe
.subsections_via_symbols
