	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipid02_get_link_freq_from_cid_link_freq
_mipid02_get_link_freq_from_cid_link_freq: ## @mipid02_get_link_freq_from_cid_link_freq
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	$0, -24(%rbp)
	movq	_V4L2_CID_LINK_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -16(%rbp)
	movl	(%rbx), %edi
	callq	_v4l2_ctrl_find
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, -20(%rbp)
	movl	(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_v4l2_querymenu
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	movl	-24(%rbp), %eax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CID_LINK_FREQ,4,2         ## @V4L2_CID_LINK_FREQ
	.no_dead_strip	_mipid02_get_link_freq_from_cid_link_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipid02_get_link_freq_from_cid_link_freq
_mipid02_get_link_freq_from_cid_link_freq: ; @mipid02_get_link_freq_from_cid_link_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _V4L2_CID_LINK_FREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_LINK_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	wzr, [sp]
	str	w1, [sp, #8]
	ldr	w0, [x19]
	bl	_v4l2_ctrl_find
	cbz	x0, LBB0_2
; %bb.1:
	bl	_v4l2_ctrl_g_ctrl
	str	w0, [sp, #4]
	ldr	w0, [x19]
	mov	x1, sp
	bl	_v4l2_querymenu
	ldr	w8, [sp]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CID_LINK_FREQ,4,2         ; @V4L2_CID_LINK_FREQ
	.no_dead_strip	_mipid02_get_link_freq_from_cid_link_freq
.subsections_via_symbols
