	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radio_si4713_pdriver_probe
_radio_si4713_pdriver_probe:            ## @radio_si4713_pdriver_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	leaq	40(%rax), %r12
	movq	%r12, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_v4l2_device_register
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r13), %edi
	callq	_i2c_get_clientdata
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_v4l2_device_register_subdev
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rbx
	addq	$8, %rbx
	movq	_radio_si4713_vdev_template@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 24(%r14)
	movups	(%rax), %xmm0
	movups	%xmm0, 8(%r14)
	movq	%r14, 32(%r14)
	movl	(%r13), %eax
	movl	%eax, 24(%r14)
	movq	%r12, 16(%r14)
	movq	_V4L2_CAP_MODULATOR@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_RDS_OUTPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_video_set_drvdata
	movq	_VFL_TYPE_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_radio_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_video_register_device
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movq	%r14, %rdi
	callq	_v4l2_device_unregister
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot proceed without platform data.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to alloc video device.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register v4l2 device.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot get v4l2 subdevice\n"

	.comm	_radio_si4713_vdev_template,32,3 ## @radio_si4713_vdev_template
	.comm	_V4L2_CAP_MODULATOR,4,2         ## @V4L2_CAP_MODULATOR
	.comm	_V4L2_CAP_RDS_OUTPUT,4,2        ## @V4L2_CAP_RDS_OUTPUT
	.comm	_VFL_TYPE_RADIO,4,2             ## @VFL_TYPE_RADIO
	.comm	_radio_nr,4,2                   ## @radio_nr
L_.str.4:                               ## @.str.4
	.asciz	"Could not register video device.\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.5:                               ## @.str.5
	.asciz	"New device successfully probed\n"

	.no_dead_strip	_radio_si4713_pdriver_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radio_si4713_pdriver_probe
_radio_si4713_pdriver_probe:            ; @radio_si4713_pdriver_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	add	x22, x0, #40
	mov	x0, x22
	bl	_mutex_init
	mov	x0, x19
	mov	x1, x20
	bl	_v4l2_device_register
	cbz	w0, LBB0_8
; %bb.3:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x23]
	bl	_i2c_get_clientdata
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_v4l2_device_register_subdev
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_12
LBB0_10:
	add	x21, x20, #8
Lloh15:
	adrp	x8, _radio_si4713_vdev_template@GOTPAGE
Lloh16:
	ldr	x8, [x8, _radio_si4713_vdev_template@GOTPAGEOFF]
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	stur	q0, [x20, #8]
	stp	x8, x20, [x20, #24]
	ldr	w8, [x23]
	str	w8, [x20, #24]
	str	x22, [x20, #16]
Lloh17:
	adrp	x8, _V4L2_CAP_MODULATOR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CAP_MODULATOR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _V4L2_CAP_RDS_OUTPUT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _V4L2_CAP_RDS_OUTPUT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_video_set_drvdata
Lloh23:
	adrp	x8, _VFL_TYPE_RADIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VFL_TYPE_RADIO@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _radio_nr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _radio_nr@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_video_register_device
	cbz	x0, LBB0_13
; %bb.11:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh31:
	adrp	x8, _EIO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_12:
	mov	x0, x20
	bl	_v4l2_device_unregister
	b	LBB0_7
LBB0_13:
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w21, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot proceed without platform data.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to alloc video device.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register v4l2 device.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot get v4l2 subdevice\n"

	.comm	_radio_si4713_vdev_template,32,3 ; @radio_si4713_vdev_template
	.comm	_V4L2_CAP_MODULATOR,4,2         ; @V4L2_CAP_MODULATOR
	.comm	_V4L2_CAP_RDS_OUTPUT,4,2        ; @V4L2_CAP_RDS_OUTPUT
	.comm	_VFL_TYPE_RADIO,4,2             ; @VFL_TYPE_RADIO
	.comm	_radio_nr,4,2                   ; @radio_nr
l_.str.4:                               ; @.str.4
	.asciz	"Could not register video device.\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.5:                               ; @.str.5
	.asciz	"New device successfully probed\n"

	.no_dead_strip	_radio_si4713_pdriver_probe
.subsections_via_symbols
