	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_process_options
_ivtv_process_options:                  ## @ivtv_process_options
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_enc_mpg_buffers@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shll	$10, %ecx
	movq	56(%rdi), %rax
	movq	_IVTV_ENC_STREAM_TYPE_MPG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_enc_yuv_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$10, %ecx
	movq	_IVTV_ENC_STREAM_TYPE_YUV@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_enc_vbi_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$10, %ecx
	movq	_IVTV_ENC_STREAM_TYPE_VBI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_enc_pcm_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IVTV_ENC_STREAM_TYPE_PCM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_dec_mpg_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$10, %ecx
	movq	_IVTV_DEC_STREAM_TYPE_MPG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_dec_yuv_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$10, %ecx
	movq	_IVTV_DEC_STREAM_TYPE_YUV@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_dec_vbi_buffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IVTV_DEC_STREAM_TYPE_VBI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_cardtype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 64(%rdi)
	movq	_tuner@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 80(%rdi)
	movq	_radio@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 76(%rdi)
	movq	_i2c_clock_period@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 68(%rdi)
	cmpl	$-1, %ecx
	je	LBB0_1
## %bb.2:
	movl	$10, %eax
	cmpl	$10, %ecx
	jl	LBB0_4
## %bb.3:
	movl	$4500, %eax                     ## imm = 0x1194
	cmpl	$4501, %ecx                     ## imm = 0x1195
	jae	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_IVTV_DEFAULT_I2C_CLOCK_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, 68(%rbx)
LBB0_5:
	movq	_newi2c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_tunertype@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	addl	$-2, %eax
	cmpl	$-4, %eax
	ja	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_IVTV_WARN
	movl	$-1, (%r14)
LBB0_7:
	movq	%rbx, %rdi
	callq	_ivtv_parse_std
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:
	cmpl	$0, (%r14)
	js	LBB0_13
## %bb.9:
	je	LBB0_11
## %bb.10:
	movq	_V4L2_STD_MN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_11:
	movq	_V4L2_STD_ALL@GOTPCREL(%rip), %rcx
	movq	_V4L2_STD_MN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rcx), %eax
LBB0_12:
	cltq
	movq	%rax, 8(%rbx)
LBB0_13:
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	movq	_PCI_DEVICE_ID_IVTV15@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 16(%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r14
	cmoveq	%rax, %r14
	movl	64(%rbx), %edi
	cmpl	$-1, %edi
	je	LBB0_41
## %bb.14:
	decl	%edi
	callq	_ivtv_get_card
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movslq	4(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_IVTV_INFO
	jmp	LBB0_18
LBB0_41:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IVTV_INFO                      ## TAILCALL
LBB0_16:
	cmpl	$0, 64(%rbx)
	je	LBB0_20
## %bb.17:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
LBB0_18:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_40
## %bb.19:
	xorl	%eax, %eax
LBB0_20:
	movq	48(%rbx), %rcx
	movq	8(%rcx), %rcx
	movq	_IVTV_PCI_ID_HAUPPAUGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_23
## %bb.21:
	movq	_IVTV_PCI_ID_HAUPPAUGE_ALT1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_23
## %bb.22:
	movq	_IVTV_PCI_ID_HAUPPAUGE_ALT2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_23
## %bb.27:
	testq	%rax, %rax
	jne	LBB0_40
	jmp	LBB0_28
LBB0_23:
	cmpl	$0, 16(%rbx)
	jne	LBB0_24
## %bb.25:
	movq	_IVTV_CARD_PVR_150@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_24:
	movq	_IVTV_CARD_PVR_350@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %edi
	callq	_ivtv_get_card
	movq	%rax, 24(%rbx)
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_IVTV_INFO
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_40
LBB0_28:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	incl	%r15d
	movl	%r15d, %edi
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_33 Depth 2
	callq	_ivtv_get_card
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_39
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	48(%rbx), %rdx
	movq	(%rdx), %rsi
	addq	$24, %rcx
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	(%rcx), %rdi
	addq	$24, %rcx
	testq	%rdi, %rdi
	je	LBB0_37
LBB0_33:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, %rsi
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	8(%rdx), %rdi
	cmpq	-16(%rcx), %rdi
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	16(%rdx), %rdi
	cmpq	-8(%rcx), %rdi
	jne	LBB0_36
## %bb.38:
	movslq	4(%rax), %rsi
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_IVTV_INFO
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_40
LBB0_39:
	movq	_IVTV_CARD_PVR_150@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ivtv_get_card
	movq	%rax, 24(%rbx)
	movq	48(%rbx), %rax
	movl	24(%rax), %esi
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	movq	48(%rbx), %rax
	movq	8(%rax), %rsi
	movq	16(%rax), %rdx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	leaq	L_.str.10(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	movq	24(%rbx), %rax
	movl	4(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_ERR
	movq	24(%rbx), %rax
LBB0_40:
	movl	8(%rax), %ecx
	movl	%ecx, 40(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 36(%rbx)
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enc_mpg_buffers,4,2            ## @enc_mpg_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_MPG,8,3   ## @IVTV_ENC_STREAM_TYPE_MPG
	.comm	_enc_yuv_buffers,4,2            ## @enc_yuv_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_YUV,8,3   ## @IVTV_ENC_STREAM_TYPE_YUV
	.comm	_enc_vbi_buffers,4,2            ## @enc_vbi_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_VBI,8,3   ## @IVTV_ENC_STREAM_TYPE_VBI
	.comm	_enc_pcm_buffers,4,2            ## @enc_pcm_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_PCM,8,3   ## @IVTV_ENC_STREAM_TYPE_PCM
	.comm	_dec_mpg_buffers,4,2            ## @dec_mpg_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_MPG,8,3   ## @IVTV_DEC_STREAM_TYPE_MPG
	.comm	_dec_yuv_buffers,4,2            ## @dec_yuv_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_YUV,8,3   ## @IVTV_DEC_STREAM_TYPE_YUV
	.comm	_dec_vbi_buffers,4,2            ## @dec_vbi_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_VBI,8,3   ## @IVTV_DEC_STREAM_TYPE_VBI
	.comm	_cardtype,8,3                   ## @cardtype
	.comm	_tuner,8,3                      ## @tuner
	.comm	_radio,8,3                      ## @radio
	.comm	_i2c_clock_period,8,3           ## @i2c_clock_period
	.comm	_IVTV_DEFAULT_I2C_CLOCK_PERIOD,4,2 ## @IVTV_DEFAULT_I2C_CLOCK_PERIOD
	.comm	_newi2c,4,2                     ## @newi2c
	.comm	_tunertype,4,2                  ## @tunertype
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid tunertype argument, will autodetect instead\n"

	.comm	_V4L2_STD_MN,4,2                ## @V4L2_STD_MN
	.comm	_V4L2_STD_ALL,4,2               ## @V4L2_STD_ALL
	.comm	_PCI_DEVICE_ID_IVTV15,8,3       ## @PCI_DEVICE_ID_IVTV15
L_.str.1:                               ## @.str.1
	.asciz	"cx23415"

L_.str.2:                               ## @.str.2
	.asciz	"cx23416"

L_.str.3:                               ## @.str.3
	.asciz	"Ignore card (detected %s based chip)\n"

L_.str.4:                               ## @.str.4
	.asciz	"User specified %s card (detected %s based chip)\n"

L_.str.5:                               ## @.str.5
	.asciz	"Unknown user specified type, trying to autodetect card\n"

	.comm	_IVTV_PCI_ID_HAUPPAUGE,8,3      ## @IVTV_PCI_ID_HAUPPAUGE
	.comm	_IVTV_PCI_ID_HAUPPAUGE_ALT1,8,3 ## @IVTV_PCI_ID_HAUPPAUGE_ALT1
	.comm	_IVTV_PCI_ID_HAUPPAUGE_ALT2,8,3 ## @IVTV_PCI_ID_HAUPPAUGE_ALT2
	.comm	_IVTV_CARD_PVR_350,4,2          ## @IVTV_CARD_PVR_350
	.comm	_IVTV_CARD_PVR_150,4,2          ## @IVTV_CARD_PVR_150
L_.str.6:                               ## @.str.6
	.asciz	"Autodetected Hauppauge card (%s based)\n"

L_.str.7:                               ## @.str.7
	.asciz	"Autodetected %s card (%s based)\n"

L_.str.8:                               ## @.str.8
	.asciz	"Unknown card: vendor/device: [%04x:%04x]\n"

L_.str.9:                               ## @.str.9
	.asciz	"              subsystem vendor/device: [%04x:%04x]\n"

L_.str.10:                              ## @.str.10
	.asciz	"              %s based\n"

L_.str.11:                              ## @.str.11
	.asciz	"Defaulting to %s card\n"

L_.str.12:                              ## @.str.12
	.asciz	"Please mail the vendor/device and subsystem vendor/device IDs and what kind of\n"

L_.str.13:                              ## @.str.13
	.asciz	"card you have to the ivtv-devel mailinglist (www.ivtvdriver.org)\n"

L_.str.14:                              ## @.str.14
	.asciz	"Prefix your subject line with [UNKNOWN IVTV CARD].\n"

	.no_dead_strip	_ivtv_process_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtv_process_options
_ivtv_process_options:                  ; @ivtv_process_options
	.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
Lloh0:
	adrp	x8, _enc_mpg_buffers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enc_mpg_buffers@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w8, #10
	ldr	x9, [x0, #56]
Lloh3:
	adrp	x10, _IVTV_ENC_STREAM_TYPE_MPG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IVTV_ENC_STREAM_TYPE_MPG@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh6:
	adrp	x8, _enc_yuv_buffers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _enc_yuv_buffers@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w8, #10
Lloh9:
	adrp	x10, _IVTV_ENC_STREAM_TYPE_YUV@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IVTV_ENC_STREAM_TYPE_YUV@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh12:
	adrp	x8, _enc_vbi_buffers@GOTPAGE
Lloh13:
	ldr	x8, [x8, _enc_vbi_buffers@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x10, _IVTV_ENC_STREAM_TYPE_VBI@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IVTV_ENC_STREAM_TYPE_VBI@GOTPAGEOFF]
	lsl	w8, w8, #10
Lloh17:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh18:
	adrp	x8, _enc_pcm_buffers@GOTPAGE
Lloh19:
	ldr	x8, [x8, _enc_pcm_buffers@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x10, _IVTV_ENC_STREAM_TYPE_PCM@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IVTV_ENC_STREAM_TYPE_PCM@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh24:
	adrp	x8, _dec_mpg_buffers@GOTPAGE
Lloh25:
	ldr	x8, [x8, _dec_mpg_buffers@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	lsl	w8, w8, #10
Lloh27:
	adrp	x10, _IVTV_DEC_STREAM_TYPE_MPG@GOTPAGE
Lloh28:
	ldr	x10, [x10, _IVTV_DEC_STREAM_TYPE_MPG@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh30:
	adrp	x8, _dec_yuv_buffers@GOTPAGE
Lloh31:
	ldr	x8, [x8, _dec_yuv_buffers@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	lsl	w8, w8, #10
Lloh33:
	adrp	x10, _IVTV_DEC_STREAM_TYPE_YUV@GOTPAGE
Lloh34:
	ldr	x10, [x10, _IVTV_DEC_STREAM_TYPE_YUV@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh36:
	adrp	x8, _dec_vbi_buffers@GOTPAGE
Lloh37:
	ldr	x8, [x8, _dec_vbi_buffers@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x10, _IVTV_DEC_STREAM_TYPE_VBI@GOTPAGE
Lloh40:
	ldr	x10, [x10, _IVTV_DEC_STREAM_TYPE_VBI@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh42:
	adrp	x8, _cardtype@GOTPAGE
Lloh43:
	ldr	x8, [x8, _cardtype@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x9, [x0]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
Lloh45:
	adrp	x10, _tuner@GOTPAGE
Lloh46:
	ldr	x10, [x10, _tuner@GOTPAGEOFF]
	str	w8, [x0, #64]
Lloh47:
	ldr	x8, [x10]
	ldr	w8, [x8, x9]
Lloh48:
	adrp	x10, _radio@GOTPAGE
Lloh49:
	ldr	x10, [x10, _radio@GOTPAGEOFF]
	str	w8, [x0, #80]
Lloh50:
	ldr	x8, [x10]
	ldr	w8, [x8, x9]
Lloh51:
	adrp	x10, _i2c_clock_period@GOTPAGE
Lloh52:
	ldr	x10, [x10, _i2c_clock_period@GOTPAGEOFF]
	str	w8, [x0, #76]
Lloh53:
	ldr	x8, [x10]
	ldr	w8, [x8, x9]
	str	w8, [x0, #68]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #10
	b.ge	LBB0_4
; %bb.2:
	mov	w8, #10
	b	LBB0_6
LBB0_3:
Lloh54:
	adrp	x8, _IVTV_DEFAULT_I2C_CLOCK_PERIOD@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IVTV_DEFAULT_I2C_CLOCK_PERIOD@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_4:
	mov	w9, #4501
	cmp	w8, w9
	b.lo	LBB0_7
; %bb.5:
	mov	w8, #4500
LBB0_6:
	str	w8, [x19, #68]
LBB0_7:
Lloh57:
	adrp	x8, _newi2c@GOTPAGE
Lloh58:
	ldr	x8, [x8, _newi2c@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh60:
	adrp	x20, _tunertype@GOTPAGE
Lloh61:
	ldr	x20, [x20, _tunertype@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w8, w8, #2
	cmn	w8, #4
	b.hi	LBB0_9
; %bb.8:
Lloh62:
	adrp	x0, l_.str@PAGE
Lloh63:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IVTV_WARN
	mov	w8, #-1
	str	w8, [x20]
LBB0_9:
	mov	x0, x19
	bl	_ivtv_parse_std
	str	x0, [x19, #8]
	cbnz	x0, LBB0_15
; %bb.10:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_15
; %bb.11:
	cbz	w8, LBB0_13
; %bb.12:
Lloh64:
	adrp	x8, _V4L2_STD_MN@GOTPAGE
Lloh65:
	ldr	x8, [x8, _V4L2_STD_MN@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	b	LBB0_14
LBB0_13:
Lloh67:
	adrp	x8, _V4L2_STD_ALL@GOTPAGE
Lloh68:
	ldr	x8, [x8, _V4L2_STD_ALL@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _V4L2_STD_MN@GOTPAGE
Lloh71:
	ldr	x9, [x9, _V4L2_STD_MN@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_14:
	sxtw	x8, w8
	str	x8, [x19, #8]
LBB0_15:
	ldr	x8, [x19, #48]
Lloh73:
	adrp	x9, _PCI_DEVICE_ID_IVTV15@GOTPAGE
Lloh74:
	ldr	x9, [x9, _PCI_DEVICE_ID_IVTV15@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh75:
	ldr	x9, [x9]
Lloh76:
	adrp	x10, l_.str.2@PAGE
Lloh77:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh78:
	adrp	x11, l_.str.1@PAGE
Lloh79:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x20, x11, x10, eq
	cset	w8, eq
	str	w8, [x19, #16]
	ldr	w8, [x19, #64]
	cmn	w8, #1
	b.eq	LBB0_18
; %bb.16:
	sub	w0, w8, #1
	bl	_ivtv_get_card
	str	x0, [x19, #24]
	cbz	x0, LBB0_19
; %bb.17:
	ldrsw	x1, [x0, #4]
	str	x20, [sp]
Lloh80:
	adrp	x0, l_.str.4@PAGE
Lloh81:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_IVTV_INFO
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_38
	b	LBB0_21
LBB0_18:
Lloh82:
	adrp	x0, l_.str.3@PAGE
Lloh83:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	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
	b	_IVTV_INFO
LBB0_19:
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_21
; %bb.20:
Lloh84:
	adrp	x0, l_.str.5@PAGE
Lloh85:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_IVTV_ERR
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_38
LBB0_21:
	ldr	x8, [x19, #48]
	ldr	x8, [x8, #8]
Lloh86:
	adrp	x9, _IVTV_PCI_ID_HAUPPAUGE@GOTPAGE
Lloh87:
	ldr	x9, [x9, _IVTV_PCI_ID_HAUPPAUGE@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.22:
Lloh89:
	adrp	x9, _IVTV_PCI_ID_HAUPPAUGE_ALT1@GOTPAGE
Lloh90:
	ldr	x9, [x9, _IVTV_PCI_ID_HAUPPAUGE_ALT1@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.23:
Lloh92:
	adrp	x9, _IVTV_PCI_ID_HAUPPAUGE_ALT2@GOTPAGE
Lloh93:
	ldr	x9, [x9, _IVTV_PCI_ID_HAUPPAUGE_ALT2@GOTPAGEOFF]
Lloh94:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_24:
Lloh95:
	adrp	x8, _IVTV_CARD_PVR_350@GOTPAGE
Lloh96:
	ldr	x8, [x8, _IVTV_CARD_PVR_350@GOTPAGEOFF]
	ldr	w9, [x19, #16]
Lloh97:
	adrp	x10, _IVTV_CARD_PVR_150@GOTPAGE
Lloh98:
	ldr	x10, [x10, _IVTV_CARD_PVR_150@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	bl	_ivtv_get_card
	str	x0, [x19, #24]
Lloh99:
	adrp	x0, l_.str.6@PAGE
Lloh100:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_IVTV_INFO
	ldr	x0, [x19, #24]
LBB0_25:
	cbnz	x0, LBB0_38
; %bb.26:
	bl	_ivtv_get_card
	str	x0, [x19, #24]
	cbz	x0, LBB0_37
; %bb.27:
	mov	w21, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w21, w21, #1
	mov	x0, x21
	bl	_ivtv_get_card
	str	x0, [x19, #24]
	cbz	x0, LBB0_37
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
	ldr	x10, [x0, #16]
	cbz	x10, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x8, [x19, #48]
	ldr	x9, [x8]
	add	x10, x10, #16
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	ldr	x11, [x10, #8]
	add	x10, x10, #24
	cbz	x11, LBB0_28
LBB0_33:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x9, x11
	b.ne	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x11, [x8, #8]
	ldur	x12, [x10, #-8]
	cmp	x11, x12
	b.ne	LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x11, [x8, #16]
	ldr	x12, [x10]
	cmp	x11, x12
	b.ne	LBB0_32
; %bb.36:
	ldrsw	x1, [x0, #4]
	str	x20, [sp]
Lloh101:
	adrp	x0, l_.str.7@PAGE
Lloh102:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_IVTV_INFO
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_38
LBB0_37:
Lloh103:
	adrp	x8, _IVTV_CARD_PVR_150@GOTPAGE
Lloh104:
	ldr	x8, [x8, _IVTV_CARD_PVR_150@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
	bl	_ivtv_get_card
	str	x0, [x19, #24]
	ldr	x8, [x19, #48]
	ldr	x9, [x8]
	ldr	w8, [x8, #24]
	stp	x8, x9, [sp]
Lloh106:
	adrp	x0, l_.str.8@PAGE
Lloh107:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_IVTV_ERR
	ldr	x8, [x19, #48]
	ldp	x9, x8, [x8, #8]
	stp	x9, x8, [sp]
Lloh108:
	adrp	x0, l_.str.9@PAGE
Lloh109:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_IVTV_ERR
	str	x20, [sp]
Lloh110:
	adrp	x0, l_.str.10@PAGE
Lloh111:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_IVTV_ERR
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh112:
	adrp	x0, l_.str.11@PAGE
Lloh113:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_IVTV_ERR
Lloh114:
	adrp	x0, l_.str.12@PAGE
Lloh115:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_IVTV_ERR
Lloh116:
	adrp	x0, l_.str.13@PAGE
Lloh117:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_IVTV_ERR
Lloh118:
	adrp	x0, l_.str.14@PAGE
Lloh119:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_IVTV_ERR
	ldr	x0, [x19, #24]
LBB0_38:
	ldr	w8, [x0, #8]
	str	w8, [x19, #40]
	ldr	d0, [x0]
	str	d0, [x19, #32]
	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
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.cfi_endproc
                                        ; -- End function
	.comm	_enc_mpg_buffers,4,2            ; @enc_mpg_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_MPG,8,3   ; @IVTV_ENC_STREAM_TYPE_MPG
	.comm	_enc_yuv_buffers,4,2            ; @enc_yuv_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_YUV,8,3   ; @IVTV_ENC_STREAM_TYPE_YUV
	.comm	_enc_vbi_buffers,4,2            ; @enc_vbi_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_VBI,8,3   ; @IVTV_ENC_STREAM_TYPE_VBI
	.comm	_enc_pcm_buffers,4,2            ; @enc_pcm_buffers
	.comm	_IVTV_ENC_STREAM_TYPE_PCM,8,3   ; @IVTV_ENC_STREAM_TYPE_PCM
	.comm	_dec_mpg_buffers,4,2            ; @dec_mpg_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_MPG,8,3   ; @IVTV_DEC_STREAM_TYPE_MPG
	.comm	_dec_yuv_buffers,4,2            ; @dec_yuv_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_YUV,8,3   ; @IVTV_DEC_STREAM_TYPE_YUV
	.comm	_dec_vbi_buffers,4,2            ; @dec_vbi_buffers
	.comm	_IVTV_DEC_STREAM_TYPE_VBI,8,3   ; @IVTV_DEC_STREAM_TYPE_VBI
	.comm	_cardtype,8,3                   ; @cardtype
	.comm	_tuner,8,3                      ; @tuner
	.comm	_radio,8,3                      ; @radio
	.comm	_i2c_clock_period,8,3           ; @i2c_clock_period
	.comm	_IVTV_DEFAULT_I2C_CLOCK_PERIOD,4,2 ; @IVTV_DEFAULT_I2C_CLOCK_PERIOD
	.comm	_newi2c,4,2                     ; @newi2c
	.comm	_tunertype,4,2                  ; @tunertype
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid tunertype argument, will autodetect instead\n"

	.comm	_V4L2_STD_MN,4,2                ; @V4L2_STD_MN
	.comm	_V4L2_STD_ALL,4,2               ; @V4L2_STD_ALL
	.comm	_PCI_DEVICE_ID_IVTV15,8,3       ; @PCI_DEVICE_ID_IVTV15
l_.str.1:                               ; @.str.1
	.asciz	"cx23415"

l_.str.2:                               ; @.str.2
	.asciz	"cx23416"

l_.str.3:                               ; @.str.3
	.asciz	"Ignore card (detected %s based chip)\n"

l_.str.4:                               ; @.str.4
	.asciz	"User specified %s card (detected %s based chip)\n"

l_.str.5:                               ; @.str.5
	.asciz	"Unknown user specified type, trying to autodetect card\n"

	.comm	_IVTV_PCI_ID_HAUPPAUGE,8,3      ; @IVTV_PCI_ID_HAUPPAUGE
	.comm	_IVTV_PCI_ID_HAUPPAUGE_ALT1,8,3 ; @IVTV_PCI_ID_HAUPPAUGE_ALT1
	.comm	_IVTV_PCI_ID_HAUPPAUGE_ALT2,8,3 ; @IVTV_PCI_ID_HAUPPAUGE_ALT2
	.comm	_IVTV_CARD_PVR_350,4,2          ; @IVTV_CARD_PVR_350
	.comm	_IVTV_CARD_PVR_150,4,2          ; @IVTV_CARD_PVR_150
l_.str.6:                               ; @.str.6
	.asciz	"Autodetected Hauppauge card (%s based)\n"

l_.str.7:                               ; @.str.7
	.asciz	"Autodetected %s card (%s based)\n"

l_.str.8:                               ; @.str.8
	.asciz	"Unknown card: vendor/device: [%04x:%04x]\n"

l_.str.9:                               ; @.str.9
	.asciz	"              subsystem vendor/device: [%04x:%04x]\n"

l_.str.10:                              ; @.str.10
	.asciz	"              %s based\n"

l_.str.11:                              ; @.str.11
	.asciz	"Defaulting to %s card\n"

l_.str.12:                              ; @.str.12
	.asciz	"Please mail the vendor/device and subsystem vendor/device IDs and what kind of\n"

l_.str.13:                              ; @.str.13
	.asciz	"card you have to the ivtv-devel mailinglist (www.ivtvdriver.org)\n"

l_.str.14:                              ; @.str.14
	.asciz	"Prefix your subject line with [UNKNOWN IVTV CARD].\n"

	.no_dead_strip	_ivtv_process_options
.subsections_via_symbols
