	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvp5150_probe
_tvp5150_probe:                         ## @tvp5150_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	$24, %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	8(%rdi), %r12
	movl	16(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_READ_BYTE@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:
	movq	%rbx, %rdi
	callq	_tvp5150_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.4:
	leaq	8(%rbx), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$104, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	_tvp5150_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.23:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	%r13, 96(%r15)
	movq	_CONFIG_OF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	testq	%r12, %r12
	je	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_tvp5150_parse_dt
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	%eax, %r13d
	movl	88(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_22
LBB0_11:
	movq	_V4L2_MBUS_BT656@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
LBB0_12:
	leaq	48(%r15), %rdi
	movq	_tvp5150_ops@GOTPCREL(%rip), %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_tvp5150_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 80(%r15)
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 72(%r15)
	movq	%r15, %rdi
	callq	_tvp5150_detect_version
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	_V4L2_STD_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_V4L2_STD_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_TVP5150_COMPOSITE1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movl	$1, (%r15)
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	_tvp5150_ctrl_ops@GOTPCREL(%rip), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$-128, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_PIXEL_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$27000000, (%rsp)               ## imm = 0x19BFCC0
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$27000000, %ecx                 ## imm = 0x19BFCC0
	movl	$27000000, %r8d                 ## imm = 0x19BFCC0
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_tvp5150_test_patterns@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	movq	_tvp5150_test_patterns@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	_tvp5150_ctrl_ops@GOTPCREL(%rip), %rsi
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movq	%r12, 48(%r15)
	movl	4(%r15), %r13d
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_19:
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_22
LBB0_13:
	movl	%eax, %r13d
	jmp	LBB0_22
LBB0_15:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_tvp5150_read_std
	movq	%r15, %rsi
	addq	$16, %rsi
	movl	%eax, %edi
	callq	_tvp5150_set_default
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_tvp5150_reset
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.16:
	movq	_tvp5150_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str.1(%rip), %r9
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_19
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_18
## %bb.20:
	movq	_debug@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	$2, (%rax)
	jl	LBB0_22
## %bb.21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_tvp5150_log_status
	jmp	LBB0_22
LBB0_18:
	movl	%eax, %r13d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ## @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tvp5150_config,4,2             ## @tvp5150_config
	.comm	_CONFIG_OF,4,2                  ## @CONFIG_OF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DT parsing error: %d\n"

	.comm	_V4L2_MBUS_BT656,4,2            ## @V4L2_MBUS_BT656
	.comm	_tvp5150_ops,4,2                ## @tvp5150_ops
	.comm	_tvp5150_internal_ops,4,2       ## @tvp5150_internal_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_STD_ALL,4,2               ## @V4L2_STD_ALL
	.comm	_V4L2_STD_UNKNOWN,4,2           ## @V4L2_STD_UNKNOWN
	.comm	_TVP5150_COMPOSITE1,4,2         ## @TVP5150_COMPOSITE1
	.comm	_tvp5150_ctrl_ops,4,2           ## @tvp5150_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ## @V4L2_CID_PIXEL_RATE
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_tvp5150_test_patterns,4,2      ## @tvp5150_test_patterns
	.comm	_tvp5150_isr,4,2                ## @tvp5150_isr
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.1:                               ## @.str.1
	.asciz	"tvp5150"

	.comm	_debug,4,2                      ## @debug
	.comm	_MEDIA_ENT_F_ATV_DECODER,4,2    ## @MEDIA_ENT_F_ATV_DECODER
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_PAD_SIGNAL_ANALOG,4,2          ## @PAD_SIGNAL_ANALOG
	.comm	_PAD_SIGNAL_DV,4,2              ## @PAD_SIGNAL_DV
	.comm	_TVP5150_NUM_PADS,4,2           ## @TVP5150_NUM_PADS
	.comm	_TVP5150_PAD_IF_INPUT,8,3       ## @TVP5150_PAD_IF_INPUT
	.comm	_TVP5150_PAD_VID_OUT,8,3        ## @TVP5150_PAD_VID_OUT
	.comm	_tvp5150_sd_media_ops,4,2       ## @tvp5150_sd_media_ops
	.no_dead_strip	_tvp5150_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvp5150_probe
_tvp5150_probe:                         ; @tvp5150_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	mov	x19, x0
	ldr	x22, [x19, #8]!
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGEOFF]
	ldr	w0, [x19, #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_5
; %bb.1:
	mov	x0, x20
	bl	_tvp5150_init
	mov	x24, x0
	cbnz	w0, LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #104
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
Lloh9:
	adrp	x1, _tvp5150_config@GOTPAGE
Lloh10:
	ldr	x1, [x1, _tvp5150_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_7:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
	str	x23, [x21, #96]
Lloh15:
	adrp	x8, _CONFIG_OF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CONFIG_OF@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cmp	x0, #0
	ccmp	x22, #0, #4, ne
	b.ne	LBB0_11
; %bb.10:
Lloh18:
	adrp	x8, _V4L2_MBUS_BT656@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_MBUS_BT656@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x21, #40]
	b	LBB0_13
LBB0_11:
	mov	x0, x21
	mov	x1, x22
	bl	_tvp5150_parse_dt
	cbz	w0, LBB0_13
; %bb.12:
	mov	x24, x0
	ldr	w0, [x21, #88]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_dev_err
	b	LBB0_7
LBB0_13:
	add	x22, x21, #48
Lloh23:
	adrp	x2, _tvp5150_ops@GOTPAGE
Lloh24:
	ldr	x2, [x2, _tvp5150_ops@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
Lloh25:
	adrp	x8, _tvp5150_internal_ops@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tvp5150_internal_ops@GOTPAGEOFF]
	str	x8, [x21, #80]
Lloh27:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x21, #72]
	orr	w8, w9, w8
	str	w8, [x21, #72]
	mov	x0, x21
	bl	_tvp5150_detect_version
	tbnz	w0, #31, LBB0_16
; %bb.14:
Lloh30:
	adrp	x8, _V4L2_STD_ALL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_STD_ALL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x21, #28]
Lloh33:
	adrp	x8, _V4L2_STD_UNKNOWN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _V4L2_STD_UNKNOWN@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _TVP5150_COMPOSITE1@GOTPAGE
Lloh37:
	ldr	x9, [x9, _TVP5150_COMPOSITE1@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #20]
	mov	w8, #1
	str	w8, [x21]
	add	x23, x21, #4
	mov	x0, x23
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh39:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x24, _tvp5150_ctrl_ops@GOTPAGE
Lloh43:
	ldr	x24, [x24, _tvp5150_ctrl_ops@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
Lloh44:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
Lloh47:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh48:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
Lloh50:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	w3, #-128
	mov	w4, #127
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh53:
	adrp	x8, _V4L2_CID_PIXEL_RATE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V4L2_CID_PIXEL_RATE@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	w3, #64704
	movk	w3, #411, lsl #16
	mov	w4, #64704
	movk	w4, #411, lsl #16
	mov	w5, #1
	mov	w6, #64704
	movk	w6, #411, lsl #16
	bl	_v4l2_ctrl_new_std
Lloh56:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh58:
	ldr	w25, [x8]
Lloh59:
	adrp	x26, _tvp5150_test_patterns@GOTPAGE
Lloh60:
	ldr	x26, [x26, _tvp5150_test_patterns@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x26]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	str	x23, [x21, #48]
	ldr	w24, [x21, #4]
	cbz	w24, LBB0_17
LBB0_15:
	mov	x0, x23
	bl	_v4l2_ctrl_handler_free
	b	LBB0_7
LBB0_16:
	mov	x24, x0
	b	LBB0_7
LBB0_17:
	mov	x0, x22
	bl	_tvp5150_read_std
	add	x1, x21, #16
	bl	_tvp5150_set_default
	ldr	x8, [x20]
	str	x8, [x21, #8]
	mov	x0, x22
	mov	w1, #0
	bl	_tvp5150_reset
	ldr	x1, [x20]
	cbz	x1, LBB0_19
; %bb.18:
Lloh61:
	adrp	x8, _tvp5150_isr@GOTPAGE
Lloh62:
	ldr	x8, [x8, _tvp5150_isr@GOTPAGEOFF]
Lloh63:
	adrp	x9, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh64:
	ldr	x9, [x9, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh65:
	ldr	w3, [x8]
Lloh66:
	ldr	w8, [x9]
Lloh67:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh68:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh70:
	adrp	x5, l_.str.1@PAGE
Lloh71:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	mov	x24, x0
	cbnz	w0, LBB0_15
LBB0_19:
	mov	x0, x22
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_23
; %bb.20:
Lloh72:
	adrp	x8, _debug@GOTPAGE
Lloh73:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_22
; %bb.21:
	mov	x0, x22
	bl	_tvp5150_log_status
LBB0_22:
	mov	w24, #0
	b	LBB0_7
LBB0_23:
	mov	x24, x0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh65
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ; @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tvp5150_config,4,2             ; @tvp5150_config
	.comm	_CONFIG_OF,4,2                  ; @CONFIG_OF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DT parsing error: %d\n"

	.comm	_V4L2_MBUS_BT656,4,2            ; @V4L2_MBUS_BT656
	.comm	_tvp5150_ops,4,2                ; @tvp5150_ops
	.comm	_tvp5150_internal_ops,4,2       ; @tvp5150_internal_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_STD_ALL,4,2               ; @V4L2_STD_ALL
	.comm	_V4L2_STD_UNKNOWN,4,2           ; @V4L2_STD_UNKNOWN
	.comm	_TVP5150_COMPOSITE1,4,2         ; @TVP5150_COMPOSITE1
	.comm	_tvp5150_ctrl_ops,4,2           ; @tvp5150_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ; @V4L2_CID_PIXEL_RATE
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_tvp5150_test_patterns,4,2      ; @tvp5150_test_patterns
	.comm	_tvp5150_isr,4,2                ; @tvp5150_isr
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.1:                               ; @.str.1
	.asciz	"tvp5150"

	.comm	_debug,4,2                      ; @debug
	.comm	_MEDIA_ENT_F_ATV_DECODER,4,2    ; @MEDIA_ENT_F_ATV_DECODER
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_PAD_SIGNAL_ANALOG,4,2          ; @PAD_SIGNAL_ANALOG
	.comm	_PAD_SIGNAL_DV,4,2              ; @PAD_SIGNAL_DV
	.comm	_TVP5150_NUM_PADS,4,2           ; @TVP5150_NUM_PADS
	.comm	_TVP5150_PAD_IF_INPUT,8,3       ; @TVP5150_PAD_IF_INPUT
	.comm	_TVP5150_PAD_VID_OUT,8,3        ; @TVP5150_PAD_VID_OUT
	.comm	_tvp5150_sd_media_ops,4,2       ; @tvp5150_sd_media_ops
	.no_dead_strip	_tvp5150_probe
.subsections_via_symbols
