	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_queryctrl
_fill_queryctrl:                        ## @fill_queryctrl
	.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
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	movl	$1, %ecx
	movl	$128, %r8d
	jmp	LBB0_9
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_7:
	movq	_V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	jmp	LBB0_8
LBB0_12:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	movl	$1100000, %esi                  ## imm = 0x10C8E0
	movl	$20200000, %edx                 ## imm = 0x1343A40
	movl	$100000, %ecx                   ## imm = 0x186A0
	movl	$9000000, %r8d                  ## imm = 0x895440
	callq	_v4l2_ctrl_query_fill
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movl	(%r14), %ecx
	movq	_HDPVR_CONSTANT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_16
## %bb.14:
	movq	_V4L2_CTRL_FLAG_INACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rbx)
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
LBB0_8:
	movl	$1, %ecx
	movl	%edx, %r8d
	jmp	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	movl	$1000000, %esi                  ## imm = 0xF4240
	movl	$13500000, %edx                 ## imm = 0xCDFE60
	movl	$100000, %ecx                   ## imm = 0x186A0
	movl	$6500000, %r8d                  ## imm = 0x632EA0
	jmp	LBB0_9
LBB0_4:
	movq	_V4L2_MPEG_AUDIO_ENCODING_AAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movq	_V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	$1, %ecx
	movl	%esi, %r8d
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	movl	$1, %ecx
	movl	$134, %r8d
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_v4l2_ctrl_query_fill           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AAC,4,2 ## @V4L2_MPEG_AUDIO_ENCODING_AAC
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AC3,4,2 ## @V4L2_MPEG_AUDIO_ENCODING_AC3
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC,4,2 ## @V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR,4,2 ## @V4L2_MPEG_VIDEO_BITRATE_MODE_VBR
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ## @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_HDPVR_CONSTANT,4,2             ## @HDPVR_CONSTANT
	.comm	_V4L2_CTRL_FLAG_INACTIVE,4,2    ## @V4L2_CTRL_FLAG_INACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_fill_queryctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_queryctrl
_fill_queryctrl:                        ; @fill_queryctrl
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #255
	mov	w3, #1
	mov	w4, #128
	b	LBB0_13
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_4:
Lloh5:
	adrp	x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x1
	b	LBB0_11
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #51424
	movk	w1, #16, lsl #16
	mov	w2, #14912
	movk	w2, #308, lsl #16
	mov	w3, #34464
	movk	w3, #1, lsl #16
	mov	w4, #21568
	movk	w4, #137, lsl #16
	bl	_v4l2_ctrl_query_fill
	cbnz	w0, LBB0_15
; %bb.6:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _HDPVR_CONSTANT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HDPVR_CONSTANT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.7:
	mov	w0, #0
Lloh11:
	adrp	x8, _V4L2_CTRL_FLAG_INACTIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CTRL_FLAG_INACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_15
LBB0_8:
Lloh14:
	adrp	x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_VBR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	x4, x2
	b	LBB0_13
LBB0_9:
	mov	x0, x19
	mov	w1, #16960
	movk	w1, #15, lsl #16
	mov	w2, #65120
	movk	w2, #205, lsl #16
	mov	w3, #34464
	movk	w3, #1, lsl #16
	mov	w4, #11936
	movk	w4, #99, lsl #16
	b	LBB0_13
LBB0_10:
Lloh20:
	adrp	x8, _V4L2_MPEG_AUDIO_ENCODING_AAC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_ENCODING_AAC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_ENCODING_AC3@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w2, #0
	csel	w2, w1, w8, eq
	mov	x0, x19
LBB0_11:
	mov	w3, #1
	mov	x4, x1
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #255
	mov	w3, #1
	mov	w4, #134
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_ctrl_query_fill
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AAC,4,2 ; @V4L2_MPEG_AUDIO_ENCODING_AAC
	.comm	_V4L2_MPEG_AUDIO_ENCODING_AC3,4,2 ; @V4L2_MPEG_AUDIO_ENCODING_AC3
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC,4,2 ; @V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_VBR,4,2 ; @V4L2_MPEG_VIDEO_BITRATE_MODE_VBR
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ; @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_HDPVR_CONSTANT,4,2             ; @HDPVR_CONSTANT
	.comm	_V4L2_CTRL_FLAG_INACTIVE,4,2    ; @V4L2_CTRL_FLAG_INACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_fill_queryctrl
.subsections_via_symbols
