	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlg_fm_vidioc_s_exts_ctrl
_tlg_fm_vidioc_s_exts_ctrl:             ## @tlg_fm_vidioc_s_exts_ctrl
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movq	_V4L2_CTRL_CLASS_FM_TX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %r12
	movl	8(%rdx), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	$8, %r15d
	xorl	%r14d, %r14d
	movq	_V4L2_CID_TUNE_PREEMPHASIS@GOTPCREL(%rip), %rsi
	movq	_MAX_PREEMPHASIS@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	addq	$16, %r15
	cmpq	%rcx, %r14
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rcx
	movq	-8(%rcx,%r15), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx,%r15), %rcx
	cmpq	(%rdi), %rcx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	_preemphasis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ebx
	movq	_TUNER_AUD_ANA_STD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	leaq	-52(%rbp), %rcx
	callq	_send_set_req
	movq	_MAX_PREEMPHASIS@GOTPCREL(%rip), %rdi
	movq	_V4L2_CID_TUNE_PREEMPHASIS@GOTPCREL(%rip), %rsi
	movl	%ebx, (%r13)
	movl	8(%r12), %eax
	jmp	LBB0_6
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_CLASS_FM_TX,8,3      ## @V4L2_CTRL_CLASS_FM_TX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_CID_TUNE_PREEMPHASIS,8,3  ## @V4L2_CID_TUNE_PREEMPHASIS
	.comm	_MAX_PREEMPHASIS,8,3            ## @MAX_PREEMPHASIS
	.comm	_preemphasis,8,3                ## @preemphasis
	.comm	_TUNER_AUD_ANA_STD,4,2          ## @TUNER_AUD_ANA_STD
	.no_dead_strip	_tlg_fm_vidioc_s_exts_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlg_fm_vidioc_s_exts_ctrl
_tlg_fm_vidioc_s_exts_ctrl:             ; @tlg_fm_vidioc_s_exts_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _V4L2_CTRL_CLASS_FM_TX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CTRL_CLASS_FM_TX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x2
	ldr	w8, [x2, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x20, x0
	mov	x23, #0
	mov	x24, #0
Lloh3:
	adrp	x25, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGEOFF]
Lloh5:
	adrp	x26, _MAX_PREEMPHASIS@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MAX_PREEMPHASIS@GOTPAGEOFF]
Lloh7:
	adrp	x27, _preemphasis@GOTPAGE
Lloh8:
	ldr	x27, [x27, _preemphasis@GOTPAGEOFF]
Lloh9:
	adrp	x28, _TUNER_AUD_ANA_STD@GOTPAGE
Lloh10:
	ldr	x28, [x28, _TUNER_AUD_ANA_STD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	add	x23, x23, #16
	cmp	x24, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x10, [x9, x23]
	ldr	x11, [x25]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, x23
	ldr	x9, [x9, #8]
	ldr	x10, [x26]
	cmp	x9, x10
	b.hs	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x20]
	ldr	x8, [x27]
	ldr	w22, [x8, x9, lsl #2]
	ldr	w1, [x28]
	add	x3, sp, #12
	mov	x0, x21
	mov	x2, x22
	bl	_send_set_req
	str	w22, [x21]
	ldr	w8, [x19, #8]
	b	LBB0_3
LBB0_7:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_CLASS_FM_TX,8,3      ; @V4L2_CTRL_CLASS_FM_TX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_CID_TUNE_PREEMPHASIS,8,3  ; @V4L2_CID_TUNE_PREEMPHASIS
	.comm	_MAX_PREEMPHASIS,8,3            ; @MAX_PREEMPHASIS
	.comm	_preemphasis,8,3                ; @preemphasis
	.comm	_TUNER_AUD_ANA_STD,4,2          ; @TUNER_AUD_ANA_STD
	.no_dead_strip	_tlg_fm_vidioc_s_exts_ctrl
.subsections_via_symbols
