	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_apply_frmsize_constraints ## -- Begin function v4l2_apply_frmsize_constraints
	.p2align	4, 0x90
_v4l2_apply_frmsize_constraints:        ## @v4l2_apply_frmsize_constraints
	.cfi_startproc
## %bb.0:
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movl	20(%rdx), %esi
	movl	12(%rdx), %ecx
	movl	16(%rdx), %edx
	callq	_clamp_roundup
	movl	%eax, (%r15)
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	callq	_clamp_roundup
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_apply_frmsize_constraints ; -- Begin function v4l2_apply_frmsize_constraints
	.p2align	2
_v4l2_apply_frmsize_constraints:        ; @v4l2_apply_frmsize_constraints
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_2
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0]
	ldp	w2, w1, [x2, #16]
	ldr	w3, [x20, #12]
	bl	_clamp_roundup
	str	w0, [x21]
	ldr	w0, [x19]
	ldp	w2, w1, [x20, #4]
	ldr	w3, [x20]
	bl	_clamp_roundup
	str	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
