	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_ctrl_new_std              ## -- Begin function v4l2_ctrl_new_std
	.p2align	4, 0x90
_v4l2_ctrl_new_std:                     ## @v4l2_ctrl_new_std
	.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	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%ecx, -36(%rbp)
	movl	%r8d, -32(%rbp)
	movl	%r9d, -28(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, 8(%rsp)
	leaq	16(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-32(%rbp), %r8
	leaq	-28(%rbp), %r9
	movl	%ebx, %edi
	callq	_v4l2_ctrl_fill
	movl	-44(%rbp), %r9d
	movq	_V4L2_CTRL_TYPE_MENU@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	je	LBB0_3
## %bb.1:
	movq	_V4L2_CTRL_TYPE_INTEGER_MENU@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	je	LBB0_3
## %bb.2:
	movq	_V4L2_CTRL_COMPOUND_TYPES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jae	LBB0_3
## %bb.4:
	movq	-56(%rbp), %r8
	movl	-36(%rbp), %eax
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %edx
	movl	16(%rbp), %esi
	movl	-40(%rbp), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rsp)
	movl	%edi, 48(%rsp)
	movl	%esi, 24(%rsp)
	movl	%edx, 16(%rsp)
	movl	%ecx, 8(%rsp)
	movl	%eax, (%rsp)
	movq	$0, 72(%rsp)
	movl	$0, 40(%rsp)
	movq	$0, 32(%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_v4l2_ctrl_new
	movq	%rax, %rbx
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%r14, %rdi
	callq	_handler_set_err
LBB0_5:
	movq	%rbx, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_TYPE_MENU,4,2        ## @V4L2_CTRL_TYPE_MENU
	.comm	_V4L2_CTRL_TYPE_INTEGER_MENU,4,2 ## @V4L2_CTRL_TYPE_INTEGER_MENU
	.comm	_V4L2_CTRL_COMPOUND_TYPES,4,2   ## @V4L2_CTRL_COMPOUND_TYPES
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_ctrl_new_std              ; -- Begin function v4l2_ctrl_new_std
	.p2align	2
_v4l2_ctrl_new_std:                     ; @v4l2_ctrl_new_std
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	stp	w4, w3, [x29, #-40]
	stp	w6, w5, [x29, #-48]
	add	x1, sp, #56
	add	x2, sp, #52
	sub	x3, x29, #36
	sub	x4, x29, #40
	sub	x5, x29, #44
	sub	x6, x29, #48
	add	x7, sp, #48
	mov	x0, x20
	bl	_v4l2_ctrl_fill
	ldr	w5, [sp, #52]
Lloh0:
	adrp	x8, _V4L2_CTRL_TYPE_MENU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_MENU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGE
Lloh7:
	ldr	x10, [x10, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w5, w8
	ccmp	w5, w9, #4, ne
	ccmp	w5, w10, #2, ne
	b.lo	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_handler_set_err
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldr	x4, [sp, #56]
	ldp	w7, w6, [x29, #-40]
	ldp	w9, w8, [x29, #-48]
	ldr	w10, [sp, #48]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	stp	wzr, w10, [sp, #16]
	str	xzr, [sp, #8]
	stp	w8, w9, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x20
	bl	_v4l2_ctrl_new
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_TYPE_MENU,4,2        ; @V4L2_CTRL_TYPE_MENU
	.comm	_V4L2_CTRL_TYPE_INTEGER_MENU,4,2 ; @V4L2_CTRL_TYPE_INTEGER_MENU
	.comm	_V4L2_CTRL_COMPOUND_TYPES,4,2   ; @V4L2_CTRL_COMPOUND_TYPES
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
