	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa6752hs_probe
_saa6752hs_probe:                       ## @saa6752hs_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$19, -100(%rbp)
	movl	(%rdi), %edx
	addl	%edx, %edx
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_v4l_info
	leaq	4(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	48(%rax), %rdi
	movq	_saa6752hs_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	leaq	-100(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_master_send
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$48, %edx
	callq	_i2c_master_recv
	movl	-64(%rbp), %eax
	shll	$8, %eax
	orl	-60(%rbp), %eax
	movl	%eax, (%r14)
	movl	$0, 4(%r14)
	cmpl	$518, %eax                      ## imm = 0x206
	jne	LBB0_4
## %bb.3:
	movl	$1, 4(%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_v4l_info
LBB0_4:
	movq	_param_defaults@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	leaq	40(%r14), %r13
	movq	%r13, %rdi
	movl	$14, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_MPEG_AUDIO_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	$0, 4(%r14)
	movq	_V4L2_MPEG_AUDIO_ENCODING_LAYER_2@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, %ecx
	je	LBB0_6
## %bb.5:
	movq	_V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	movq	_saa6752hs_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$13, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_AUDIO_L2_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_AUDIO_L2_BITRATE_384K@GOTPCREL(%rip), %rax
	movq	_V4L2_MPEG_AUDIO_L2_BITRATE_256K@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	$1, %r8d
	movl	%r9d, %ecx
	shll	%cl, %r8d
	movl	(%rax), %ecx
	movl	$1, %ebx
	btsl	%ecx, %r8d
	notl	%r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_v4l2_ctrl_new_std_menu
	cmpl	$0, 4(%r14)
	je	LBB0_8
## %bb.7:
	movq	_V4L2_CID_MPEG_AUDIO_AC3_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_AUDIO_AC3_BITRATE_256K@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, %ecx
	shll	%cl, %ebx
	movq	_V4L2_MPEG_AUDIO_AC3_BITRATE_384K@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	btsl	%ecx, %ebx
	notl	%ebx
	movq	_saa6752hs_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %r8d
	callq	_v4l2_ctrl_new_std_menu
LBB0_8:
	movq	_V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-2, %r12d
	movl	$-2, %r8d
	roll	%cl, %r8d
	movq	_saa6752hs_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-2, %r8d
	roll	%cl, %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_ASPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_ASPECT_16x9@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_MPEG_VIDEO_ASPECT_4x3@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_BITRATE_PEAK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8000000, (%rsp)                ## imm = 0x7A1200
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1000000, %ecx                  ## imm = 0xF4240
	movl	$27000000, %r8d                 ## imm = 0x19BFCC0
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%r14)
	movq	_V4L2_CID_MPEG_STREAM_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	roll	%cl, %r12d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %r8d
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movl	%eax, 16(%r14)
	movq	_V4L2_CID_MPEG_VIDEO_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$6000000, (%rsp)                ## imm = 0x5B8D80
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1000000, %ecx                  ## imm = 0xF4240
	movl	$27000000, %r8d                 ## imm = 0x19BFCC0
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r14)
	movq	_V4L2_CID_MPEG_STREAM_PID_PMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$16383, %r8d                    ## imm = 0x3FFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_STREAM_PID_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$260, (%rsp)                    ## imm = 0x104
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$16383, %r8d                    ## imm = 0x3FFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_STREAM_PID_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$256, (%rsp)                    ## imm = 0x100
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$16383, %r8d                    ## imm = 0x3FFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_STREAM_PID_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$259, (%rsp)                    ## imm = 0x103
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$16383, %r8d                    ## imm = 0x3FFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%r13, 48(%r14)
	movl	40(%r14), %r15d
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rsi
	addq	$16, %rsi
	movl	$3, %edi
	callq	_v4l2_ctrl_cluster
	movq	%r13, %rdi
	callq	_v4l2_ctrl_handler_setup
	movq	$0, 8(%r14)
	xorl	%r15d, %r15d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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	_saa6752hs_ops,4,2              ## @saa6752hs_ops
L_.str.1:                               ## @.str.1
	.asciz	"supports AC-3\n"

	.comm	_param_defaults,4,2             ## @param_defaults
	.comm	_saa6752hs_ctrl_ops,4,2         ## @saa6752hs_ctrl_ops
	.comm	_V4L2_CID_MPEG_AUDIO_ENCODING,4,2 ## @V4L2_CID_MPEG_AUDIO_ENCODING
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AC3,4,2 ## @V4L2_MPEG_AUDIO_ENCODING_AC3
	.comm	_V4L2_MPEG_AUDIO_ENCODING_LAYER_2,4,2 ## @V4L2_MPEG_AUDIO_ENCODING_LAYER_2
	.comm	_V4L2_CID_MPEG_AUDIO_L2_BITRATE,4,2 ## @V4L2_CID_MPEG_AUDIO_L2_BITRATE
	.comm	_V4L2_MPEG_AUDIO_L2_BITRATE_384K,4,2 ## @V4L2_MPEG_AUDIO_L2_BITRATE_384K
	.comm	_V4L2_MPEG_AUDIO_L2_BITRATE_256K,4,2 ## @V4L2_MPEG_AUDIO_L2_BITRATE_256K
	.comm	_V4L2_CID_MPEG_AUDIO_AC3_BITRATE,4,2 ## @V4L2_CID_MPEG_AUDIO_AC3_BITRATE
	.comm	_V4L2_MPEG_AUDIO_AC3_BITRATE_384K,4,2 ## @V4L2_MPEG_AUDIO_AC3_BITRATE_384K
	.comm	_V4L2_MPEG_AUDIO_AC3_BITRATE_256K,4,2 ## @V4L2_MPEG_AUDIO_AC3_BITRATE_256K
	.comm	_V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ,4,2 ## @V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ
	.comm	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000,4,2 ## @V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000
	.comm	_V4L2_CID_MPEG_VIDEO_ENCODING,4,2 ## @V4L2_CID_MPEG_VIDEO_ENCODING
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2,4,2 ## @V4L2_MPEG_VIDEO_ENCODING_MPEG_2
	.comm	_V4L2_CID_MPEG_VIDEO_ASPECT,4,2 ## @V4L2_CID_MPEG_VIDEO_ASPECT
	.comm	_V4L2_MPEG_VIDEO_ASPECT_16x9,4,2 ## @V4L2_MPEG_VIDEO_ASPECT_16x9
	.comm	_V4L2_MPEG_VIDEO_ASPECT_4x3,4,2 ## @V4L2_MPEG_VIDEO_ASPECT_4x3
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_PEAK,4,2 ## @V4L2_CID_MPEG_VIDEO_BITRATE_PEAK
	.comm	_V4L2_CID_MPEG_STREAM_TYPE,4,2  ## @V4L2_CID_MPEG_STREAM_TYPE
	.comm	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS,4,2 ## @V4L2_MPEG_STREAM_TYPE_MPEG2_TS
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE,4,2 ## @V4L2_CID_MPEG_VIDEO_BITRATE_MODE
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ## @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR,4,2 ## @V4L2_MPEG_VIDEO_BITRATE_MODE_VBR
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE,4,2 ## @V4L2_CID_MPEG_VIDEO_BITRATE
	.comm	_V4L2_CID_MPEG_STREAM_PID_PMT,4,2 ## @V4L2_CID_MPEG_STREAM_PID_PMT
	.comm	_V4L2_CID_MPEG_STREAM_PID_AUDIO,4,2 ## @V4L2_CID_MPEG_STREAM_PID_AUDIO
	.comm	_V4L2_CID_MPEG_STREAM_PID_VIDEO,4,2 ## @V4L2_CID_MPEG_STREAM_PID_VIDEO
	.comm	_V4L2_CID_MPEG_STREAM_PID_PCR,4,2 ## @V4L2_CID_MPEG_STREAM_PID_PCR
	.no_dead_strip	_saa6752hs_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa6752hs_probe
_saa6752hs_probe:                       ; @saa6752hs_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w8, #19
	str	w8, [sp, #20]
	ldr	w8, [x0]
	lsl	w8, w8, #1
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_v4l_info
	add	x0, x20, #4
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	add	x0, x0, #48
Lloh8:
	adrp	x2, _saa6752hs_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _saa6752hs_ops@GOTPAGEOFF]
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
	mov	w22, #1
	add	x1, sp, #20
	mov	x0, x20
	mov	w2, #1
	bl	_i2c_master_send
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #48
	bl	_i2c_master_recv
	ldp	w8, w9, [sp, #56]
	orr	w8, w9, w8, lsl #8
	stp	w8, wzr, [x19]
	cmp	w8, #518
	b.ne	LBB0_3
; %bb.2:
	str	w22, [x19, #4]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_v4l_info
LBB0_3:
Lloh12:
	adrp	x8, _param_defaults@GOTPAGE
Lloh13:
	ldr	x8, [x8, _param_defaults@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #44]
	add	x20, x19, #40
	mov	x0, x20
	mov	w1, #14
	bl	_v4l2_ctrl_handler_init
Lloh15:
	adrp	x8, _V4L2_CID_MPEG_AUDIO_ENCODING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_CID_MPEG_AUDIO_ENCODING@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w8, [x19, #4]
Lloh18:
	adrp	x9, _V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _V4L2_MPEG_AUDIO_ENCODING_LAYER_2@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V4L2_MPEG_AUDIO_ENCODING_LAYER_2@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x10]
	cmp	w8, #0
	csel	w3, w5, w9, eq
Lloh24:
	adrp	x21, _saa6752hs_ctrl_ops@GOTPAGE
Lloh25:
	ldr	x21, [x21, _saa6752hs_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #13
	bl	_v4l2_ctrl_new_std_menu
Lloh26:
	adrp	x8, _V4L2_CID_MPEG_AUDIO_L2_BITRATE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V4L2_CID_MPEG_AUDIO_L2_BITRATE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _V4L2_MPEG_AUDIO_L2_BITRATE_384K@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_L2_BITRATE_384K@GOTPAGEOFF]
Lloh31:
	adrp	x9, _V4L2_MPEG_AUDIO_L2_BITRATE_256K@GOTPAGE
Lloh32:
	ldr	x9, [x9, _V4L2_MPEG_AUDIO_L2_BITRATE_256K@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
Lloh34:
	ldr	w5, [x9]
	lsl	w8, w22, w5
	lsl	w9, w22, w3
	orr	w8, w8, w9
	mvn	w4, w8
	mov	x0, x20
	mov	x1, x21
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_v4l2_ctrl_new_std_menu
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.4:
Lloh35:
	adrp	x8, _V4L2_CID_MPEG_AUDIO_AC3_BITRATE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _V4L2_CID_MPEG_AUDIO_AC3_BITRATE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _V4L2_MPEG_AUDIO_AC3_BITRATE_384K@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_AC3_BITRATE_384K@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
Lloh41:
	adrp	x8, _V4L2_MPEG_AUDIO_AC3_BITRATE_256K@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_AC3_BITRATE_256K@GOTPAGEOFF]
Lloh43:
	ldr	w5, [x8]
	mov	w8, #1
	lsl	w9, w8, w5
	lsl	w8, w8, w3
	orr	w8, w9, w8
	mvn	w4, w8
Lloh44:
	adrp	x1, _saa6752hs_ctrl_ops@GOTPAGE
Lloh45:
	ldr	x1, [x1, _saa6752hs_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_v4l2_ctrl_new_std_menu
LBB0_5:
Lloh46:
	adrp	x8, _V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ@GOTPAGE
Lloh47:
	ldr	x8, [x8, _V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x8, _V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPAGE
Lloh50:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPAGEOFF]
Lloh51:
	ldr	w3, [x8]
	mov	w22, #1
	lsl	w8, w22, w3
	mvn	w4, w8
Lloh52:
	adrp	x21, _saa6752hs_ctrl_ops@GOTPAGE
Lloh53:
	ldr	x21, [x21, _saa6752hs_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh54:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_ENCODING@GOTPAGE
Lloh55:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_ENCODING@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
Lloh57:
	adrp	x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPAGE
Lloh58:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPAGEOFF]
Lloh59:
	ldr	w3, [x8]
	lsl	w8, w22, w3
	mvn	w4, w8
	mov	x0, x20
	mov	x1, x21
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh60:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_ASPECT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_ASPECT@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
Lloh63:
	adrp	x8, _V4L2_MPEG_VIDEO_ASPECT_16x9@GOTPAGE
Lloh64:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ASPECT_16x9@GOTPAGEOFF]
Lloh65:
	ldr	w3, [x8]
Lloh66:
	adrp	x8, _V4L2_MPEG_VIDEO_ASPECT_4x3@GOTPAGE
Lloh67:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ASPECT_4x3@GOTPAGEOFF]
Lloh68:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #1
	bl	_v4l2_ctrl_new_std_menu
Lloh69:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_BITRATE_PEAK@GOTPAGE
Lloh70:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_BITRATE_PEAK@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #16960
	movk	w3, #15, lsl #16
	mov	w4, #64704
	movk	w4, #411, lsl #16
	mov	w5, #1000
	mov	w6, #4608
	movk	w6, #122, lsl #16
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
Lloh72:
	adrp	x8, _V4L2_CID_MPEG_STREAM_TYPE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _V4L2_CID_MPEG_STREAM_TYPE@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
Lloh75:
	adrp	x8, _V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPAGE
Lloh76:
	ldr	x8, [x8, _V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPAGEOFF]
Lloh77:
	ldr	w3, [x8]
	lsl	w8, w22, w3
	mvn	w4, w8
	mov	x0, x20
	mov	x1, x21
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh78:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
Lloh81:
	adrp	x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGE
Lloh82:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGEOFF]
Lloh83:
	ldr	w3, [x8]
Lloh84:
	adrp	x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPAGEOFF]
Lloh86:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	mov	x22, x19
	str	w0, [x22, #16]!
Lloh87:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_BITRATE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_BITRATE@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #16960
	movk	w3, #15, lsl #16
	mov	w4, #64704
	movk	w4, #411, lsl #16
	mov	w5, #1000
	mov	w6, #36224
	movk	w6, #91, lsl #16
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #8]
Lloh90:
	adrp	x8, _V4L2_CID_MPEG_STREAM_PID_PMT@GOTPAGE
Lloh91:
	ldr	x8, [x8, _V4L2_CID_MPEG_STREAM_PID_PMT@GOTPAGEOFF]
Lloh92:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #16383
	mov	w5, #1
	mov	w6, #16
	bl	_v4l2_ctrl_new_std
Lloh93:
	adrp	x8, _V4L2_CID_MPEG_STREAM_PID_AUDIO@GOTPAGE
Lloh94:
	ldr	x8, [x8, _V4L2_CID_MPEG_STREAM_PID_AUDIO@GOTPAGEOFF]
Lloh95:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #16383
	mov	w5, #1
	mov	w6, #260
	bl	_v4l2_ctrl_new_std
Lloh96:
	adrp	x8, _V4L2_CID_MPEG_STREAM_PID_VIDEO@GOTPAGE
Lloh97:
	ldr	x8, [x8, _V4L2_CID_MPEG_STREAM_PID_VIDEO@GOTPAGEOFF]
Lloh98:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #16383
	mov	w5, #1
	mov	w6, #256
	bl	_v4l2_ctrl_new_std
Lloh99:
	adrp	x8, _V4L2_CID_MPEG_STREAM_PID_PCR@GOTPAGE
Lloh100:
	ldr	x8, [x8, _V4L2_CID_MPEG_STREAM_PID_PCR@GOTPAGEOFF]
Lloh101:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #16383
	mov	w5, #1
	mov	w6, #259
	bl	_v4l2_ctrl_new_std
	str	x20, [x22, #32]
	ldr	w21, [x22, #24]
	cbz	w21, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_9
LBB0_7:
Lloh102:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh103:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #3
	mov	x1, x22
	bl	_v4l2_ctrl_cluster
	mov	x0, x20
	bl	_v4l2_ctrl_handler_setup
	str	xzr, [x19, #8]
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh105:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh106:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.cfi_endproc
                                        ; -- End function
	.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	_saa6752hs_ops,4,2              ; @saa6752hs_ops
l_.str.1:                               ; @.str.1
	.asciz	"supports AC-3\n"

	.comm	_param_defaults,4,2             ; @param_defaults
	.comm	_saa6752hs_ctrl_ops,4,2         ; @saa6752hs_ctrl_ops
	.comm	_V4L2_CID_MPEG_AUDIO_ENCODING,4,2 ; @V4L2_CID_MPEG_AUDIO_ENCODING
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AC3,4,2 ; @V4L2_MPEG_AUDIO_ENCODING_AC3
	.comm	_V4L2_MPEG_AUDIO_ENCODING_LAYER_2,4,2 ; @V4L2_MPEG_AUDIO_ENCODING_LAYER_2
	.comm	_V4L2_CID_MPEG_AUDIO_L2_BITRATE,4,2 ; @V4L2_CID_MPEG_AUDIO_L2_BITRATE
	.comm	_V4L2_MPEG_AUDIO_L2_BITRATE_384K,4,2 ; @V4L2_MPEG_AUDIO_L2_BITRATE_384K
	.comm	_V4L2_MPEG_AUDIO_L2_BITRATE_256K,4,2 ; @V4L2_MPEG_AUDIO_L2_BITRATE_256K
	.comm	_V4L2_CID_MPEG_AUDIO_AC3_BITRATE,4,2 ; @V4L2_CID_MPEG_AUDIO_AC3_BITRATE
	.comm	_V4L2_MPEG_AUDIO_AC3_BITRATE_384K,4,2 ; @V4L2_MPEG_AUDIO_AC3_BITRATE_384K
	.comm	_V4L2_MPEG_AUDIO_AC3_BITRATE_256K,4,2 ; @V4L2_MPEG_AUDIO_AC3_BITRATE_256K
	.comm	_V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ,4,2 ; @V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ
	.comm	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000,4,2 ; @V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000
	.comm	_V4L2_CID_MPEG_VIDEO_ENCODING,4,2 ; @V4L2_CID_MPEG_VIDEO_ENCODING
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2,4,2 ; @V4L2_MPEG_VIDEO_ENCODING_MPEG_2
	.comm	_V4L2_CID_MPEG_VIDEO_ASPECT,4,2 ; @V4L2_CID_MPEG_VIDEO_ASPECT
	.comm	_V4L2_MPEG_VIDEO_ASPECT_16x9,4,2 ; @V4L2_MPEG_VIDEO_ASPECT_16x9
	.comm	_V4L2_MPEG_VIDEO_ASPECT_4x3,4,2 ; @V4L2_MPEG_VIDEO_ASPECT_4x3
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_PEAK,4,2 ; @V4L2_CID_MPEG_VIDEO_BITRATE_PEAK
	.comm	_V4L2_CID_MPEG_STREAM_TYPE,4,2  ; @V4L2_CID_MPEG_STREAM_TYPE
	.comm	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS,4,2 ; @V4L2_MPEG_STREAM_TYPE_MPEG2_TS
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE,4,2 ; @V4L2_CID_MPEG_VIDEO_BITRATE_MODE
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ; @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR,4,2 ; @V4L2_MPEG_VIDEO_BITRATE_MODE_VBR
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE,4,2 ; @V4L2_CID_MPEG_VIDEO_BITRATE
	.comm	_V4L2_CID_MPEG_STREAM_PID_PMT,4,2 ; @V4L2_CID_MPEG_STREAM_PID_PMT
	.comm	_V4L2_CID_MPEG_STREAM_PID_AUDIO,4,2 ; @V4L2_CID_MPEG_STREAM_PID_AUDIO
	.comm	_V4L2_CID_MPEG_STREAM_PID_VIDEO,4,2 ; @V4L2_CID_MPEG_STREAM_PID_VIDEO
	.comm	_V4L2_CID_MPEG_STREAM_PID_PCR,4,2 ; @V4L2_CID_MPEG_STREAM_PID_PCR
	.no_dead_strip	_saa6752hs_probe
.subsections_via_symbols
