	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlg_fm_vidioc_g_exts_ctrl
_tlg_fm_vidioc_g_exts_ctrl:             ## @tlg_fm_vidioc_g_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdx), %rax
	movq	_V4L2_CTRL_CLASS_FM_TX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movl	8(%rdx), %r9d
	testl	%r9d, %r9d
	jle	LBB0_2
## %bb.3:
	movq	(%rdi), %r10
	movq	16(%rdx), %r8
	movq	_V4L2_CID_TUNE_PREEMPHASIS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	cmpl	$1, %r9d
	jne	LBB0_6
## %bb.4:
	xorl	%edx, %edx
	testb	$1, %r9b
	jne	LBB0_16
	jmp	LBB0_19
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_6:
	movl	%r9d, %r14d
	andl	$-2, %r14d
	leaq	24(%r8), %rcx
	xorl	%ebx, %ebx
	movq	_MAX_PREEMPHASIS@GOTPCREL(%rip), %r11
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, %rcx
	incq	%rbx
	cmpq	%r14, %rbx
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	cmpq	%rdi, -24(%rcx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r11), %rbx
	cmpq	%rbx, %rdx
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r10), %ebx
	movl	%ebx, -16(%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rdx), %rbx
	cmpq	%rdi, -8(%rcx)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r11), %rsi
	cmpq	%rsi, %rbx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r10), %esi
	movl	%esi, (%rcx)
	jmp	LBB0_13
LBB0_14:
	addq	$2, %rdx
	testb	$1, %r9b
	je	LBB0_19
LBB0_16:
	movq	%rdx, %rcx
	shlq	$4, %rcx
	cmpq	%rdi, (%r8,%rcx)
	jne	LBB0_19
## %bb.17:
	movq	_MAX_PREEMPHASIS@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_19
## %bb.18:
	movl	(%r10), %edx
	movl	%edx, 8(%r8,%rcx)
LBB0_19:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	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,4,2            ## @MAX_PREEMPHASIS
	.no_dead_strip	_tlg_fm_vidioc_g_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_g_exts_ctrl
_tlg_fm_vidioc_g_exts_ctrl:             ; @tlg_fm_vidioc_g_exts_ctrl
	.cfi_startproc
; %bb.0:
	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_6
; %bb.1:
	ldr	w8, [x2, #8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x9, #0
	ldr	x10, [x0]
	ldr	x12, [x2, #16]
Lloh3:
	adrp	x11, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _V4L2_CID_TUNE_PREEMPHASIS@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	add	x12, x12, #8
Lloh6:
	adrp	x13, _MAX_PREEMPHASIS@GOTPAGE
Lloh7:
	ldr	x13, [x13, _MAX_PREEMPHASIS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	add	x12, x12, #16
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x12, #-8]
	ldrsw	x15, [x13]
	cmp	x14, x11
	ccmp	x9, x15, #0, eq
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x10]
	str	w14, [x12]
	b	LBB0_3
LBB0_6:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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,4,2            ; @MAX_PREEMPHASIS
	.no_dead_strip	_tlg_fm_vidioc_g_exts_ctrl
.subsections_via_symbols
