	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timbradio_probe
_timbradio_probe:                       ## @timbradio_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	8(%r12), %eax
	movl	%eax, 92(%rbx)
	movq	(%r12), %rax
	movq	%rax, 84(%rbx)
	leaq	80(%rbx), %r15
	movq	%r15, %rdi
	callq	_mutex_init
	movl	56(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_timbradio_fops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_timbradio_ioctl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_video_device_release_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	$-1, 8(%rbx)
	movq	%r15, 24(%rbx)
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_RADIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	4(%rbx), %edi
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strscpy
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_v4l2_device_register
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movq	%rbx, 16(%rbx)
	movl	4(%r12), %edi
	callq	_i2c_get_adapter
	movl	8(%r12), %edx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev_board
	movq	%rax, 72(%rbx)
	movl	4(%r12), %edi
	callq	_i2c_get_adapter
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev_board
	movq	%rax, 64(%rbx)
	cmpq	$0, 72(%rbx)
	je	LBB0_7
## %bb.6:
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %r12
	addq	$8, %r12
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_VFL_TYPE_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_11
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_10:
	movq	%rbx, %rdi
	callq	_v4l2_device_unregister
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Platform data missing\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Timberdale Radio"

	.comm	_timbradio_fops,4,2             ## @timbradio_fops
	.comm	_timbradio_ioctl_ops,4,2        ## @timbradio_ioctl_ops
	.comm	_video_device_release_empty,4,2 ## @video_device_release_empty
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ## @V4L2_CAP_RADIO
	.comm	_DRIVER_NAME,8,3                ## @DRIVER_NAME
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_VFL_TYPE_RADIO,4,2             ## @VFL_TYPE_RADIO
L_.str.2:                               ## @.str.2
	.asciz	"Error reg video\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to register: %d\n"

	.no_dead_strip	_timbradio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timbradio_probe
_timbradio_probe:                       ; @timbradio_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	x8, [x23]
	ldr	w9, [x23, #8]
	str	w9, [x0, #92]
	stur	x8, [x0, #84]
	add	x22, x0, #80
	mov	x0, x22
	bl	_mutex_init
	ldr	w0, [x20, #56]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strscpy
	mov	w8, #-1
	mov	x21, x20
	str	w8, [x21, #8]!
Lloh5:
	adrp	x8, _timbradio_fops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _timbradio_fops@GOTPAGEOFF]
Lloh7:
	adrp	x9, _timbradio_ioctl_ops@GOTPAGE
Lloh8:
	ldr	x9, [x9, _timbradio_ioctl_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #40]
Lloh9:
	adrp	x8, _video_device_release_empty@GOTPAGE
Lloh10:
	ldr	x8, [x8, _video_device_release_empty@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	str	x22, [x20, #24]
Lloh12:
	adrp	x8, _V4L2_CAP_TUNER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _V4L2_CAP_RADIO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _V4L2_CAP_RADIO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #12]
	ldr	w0, [x20, #4]
Lloh18:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh20:
	ldr	x1, [x8]
	mov	w2, #4
	bl	_strscpy
	mov	x0, #0
	mov	x1, x20
	bl	_v4l2_device_register
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.3:
	str	x20, [x20, #16]
	ldr	w0, [x23, #4]
	bl	_i2c_get_adapter
	mov	x1, x0
	ldr	w2, [x23, #8]
	mov	x0, x20
	mov	x3, #0
	bl	_v4l2_i2c_new_subdev_board
	str	x0, [x20, #72]
	ldr	w0, [x23, #4]
	bl	_i2c_get_adapter
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, #0
	bl	_v4l2_i2c_new_subdev_board
	str	x0, [x20, #64]
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_12
; %bb.4:
	cbz	x0, LBB0_12
; %bb.5:
	ldr	w8, [x0]
	str	w8, [x20]
Lloh21:
	adrp	x8, _VFL_TYPE_RADIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VFL_TYPE_RADIO@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #-1
	bl	_video_register_device
	mov	x22, x0
	cbz	w0, LBB0_14
; %bb.6:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_13
LBB0_7:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	str	x22, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_11:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
LBB0_12:
Lloh34:
	adrp	x8, _ENODEV@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_13:
	mov	x0, x20
	bl	_v4l2_device_unregister
	b	LBB0_10
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_video_set_drvdata
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Platform data missing\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Timberdale Radio"

	.comm	_timbradio_fops,4,2             ; @timbradio_fops
	.comm	_timbradio_ioctl_ops,4,2        ; @timbradio_ioctl_ops
	.comm	_video_device_release_empty,4,2 ; @video_device_release_empty
	.comm	_V4L2_CAP_TUNER,4,2             ; @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ; @V4L2_CAP_RADIO
	.comm	_DRIVER_NAME,8,3                ; @DRIVER_NAME
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_VFL_TYPE_RADIO,4,2             ; @VFL_TYPE_RADIO
l_.str.2:                               ; @.str.2
	.asciz	"Error reg video\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to register: %d\n"

	.no_dead_strip	_timbradio_probe
.subsections_via_symbols
