	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm_v4l2_vidioc_g_modulator
_fm_v4l2_vidioc_g_modulator:            ## @fm_v4l2_vidioc_g_modulator
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	(%rax), %rcx
	movq	_FM_MODE_TX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.5:
	movq	_FM_STEREO_MODE@GOTPCREL(%rip), %rcx
	movq	8(%rax), %rsi
	movq	16(%rax), %rdx
	cmpq	(%rcx), %rsi
	jne	LBB0_6
## %bb.7:
	movq	_V4L2_TUNER_SUB_STEREO@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	_V4L2_TUNER_SUB_MONO@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	_FM_RDS_ENABLE@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	movl	$0, %esi
	cmpq	(%rdi), %rdx
	jne	LBB0_10
## %bb.9:
	movq	_V4L2_TUNER_SUB_RDS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_10:
	orl	(%rcx), %esi
	movl	%esi, 8(%rbx)
	movq	_V4L2_TUNER_CAP_STEREO@GOTPCREL(%rip), %rcx
	movq	_V4L2_TUNER_CAP_RDS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_V4L2_TUNER_CAP_LOW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 12(%rbx)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FM_MODE_TX,8,3                 ## @FM_MODE_TX
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_FM_STEREO_MODE,8,3             ## @FM_STEREO_MODE
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ## @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_SUB_MONO,4,2        ## @V4L2_TUNER_SUB_MONO
	.comm	_FM_RDS_ENABLE,8,3              ## @FM_RDS_ENABLE
	.comm	_V4L2_TUNER_SUB_RDS,4,2         ## @V4L2_TUNER_SUB_RDS
	.comm	_V4L2_TUNER_CAP_STEREO,4,2      ## @V4L2_TUNER_CAP_STEREO
	.comm	_V4L2_TUNER_CAP_RDS,4,2         ## @V4L2_TUNER_CAP_RDS
	.comm	_V4L2_TUNER_CAP_LOW,4,2         ## @V4L2_TUNER_CAP_LOW
	.no_dead_strip	_fm_v4l2_vidioc_g_modulator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm_v4l2_vidioc_g_modulator
_fm_v4l2_vidioc_g_modulator:            ; @fm_v4l2_vidioc_g_modulator
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_video_drvdata
	ldr	x9, [x19]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x8, x0
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _FM_MODE_TX@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FM_MODE_TX@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
Lloh5:
	adrp	x9, _FM_STEREO_MODE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FM_STEREO_MODE@GOTPAGEOFF]
Lloh7:
	adrp	x10, _V4L2_TUNER_SUB_STEREO@GOTPAGE
Lloh8:
	ldr	x10, [x10, _V4L2_TUNER_SUB_STEREO@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x11, _V4L2_TUNER_SUB_MONO@GOTPAGE
Lloh11:
	ldr	x11, [x11, _V4L2_TUNER_SUB_MONO@GOTPAGEOFF]
	ldp	x12, x8, [x8, #8]
	cmp	x12, x9
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _FM_RDS_ENABLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FM_RDS_ENABLE@GOTPAGEOFF]
Lloh14:
	adrp	x11, _V4L2_TUNER_SUB_RDS@GOTPAGE
Lloh15:
	ldr	x11, [x11, _V4L2_TUNER_SUB_RDS@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
Lloh17:
	ldr	w11, [x11]
	cmp	x8, x10
	csel	w8, w11, wzr, eq
Lloh18:
	adrp	x10, _V4L2_TUNER_CAP_STEREO@GOTPAGE
Lloh19:
	ldr	x10, [x10, _V4L2_TUNER_CAP_STEREO@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
Lloh21:
	adrp	x10, _V4L2_TUNER_CAP_RDS@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V4L2_TUNER_CAP_RDS@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh24:
	adrp	x10, _V4L2_TUNER_CAP_LOW@GOTPAGE
Lloh25:
	ldr	x10, [x10, _V4L2_TUNER_CAP_LOW@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w9, w10
	stp	w8, w9, [x19, #8]
	b	LBB0_6
LBB0_4:
Lloh27:
	adrp	x8, _EPERM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FM_MODE_TX,8,3                 ; @FM_MODE_TX
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_FM_STEREO_MODE,8,3             ; @FM_STEREO_MODE
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ; @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_SUB_MONO,4,2        ; @V4L2_TUNER_SUB_MONO
	.comm	_FM_RDS_ENABLE,8,3              ; @FM_RDS_ENABLE
	.comm	_V4L2_TUNER_SUB_RDS,4,2         ; @V4L2_TUNER_SUB_RDS
	.comm	_V4L2_TUNER_CAP_STEREO,4,2      ; @V4L2_TUNER_CAP_STEREO
	.comm	_V4L2_TUNER_CAP_RDS,4,2         ; @V4L2_TUNER_CAP_RDS
	.comm	_V4L2_TUNER_CAP_LOW,4,2         ; @V4L2_TUNER_CAP_LOW
	.no_dead_strip	_fm_v4l2_vidioc_g_modulator
.subsections_via_symbols
