	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_try_fmt
_vidioc_try_fmt:                        ## @vidioc_try_fmt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	movq	_MIN_H@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jl	LBB0_2
## %bb.1:
	movq	_MAX_H@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	LBB0_3
LBB0_2:
	movl	%eax, (%rbx)
LBB0_3:
	movl	4(%rbx), %ecx
	movq	_MIN_W@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jl	LBB0_5
## %bb.4:
	movq	_MAX_W@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	LBB0_6
LBB0_5:
	movl	%eax, 4(%rbx)
LBB0_6:
	movl	20(%rbx), %edi
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_get_alignment
	xorl	%eax, %eax
	subl	-24(%rbp), %eax
	xorl	%ecx, %ecx
	andl	4(%rbx), %eax
	movl	%eax, 4(%rbx)
	subl	-20(%rbp), %ecx
	andl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	imull	(%r14), %eax
	sarl	$3, %eax
	movl	%eax, 8(%rbx)
	imull	%ecx, %eax
	movl	%eax, 12(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_H,4,2                      ## @MIN_H
	.comm	_MAX_H,4,2                      ## @MAX_H
	.comm	_MIN_W,4,2                      ## @MIN_W
	.comm	_MAX_W,4,2                      ## @MAX_W
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.no_dead_strip	_vidioc_try_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_try_fmt
_vidioc_try_fmt:                        ; @vidioc_try_fmt
	.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	x20, x1
	mov	x19, x0
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _MIN_H@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIN_H@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MAX_H@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_H@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_3
LBB0_2:
	str	w8, [x19]
LBB0_3:
	ldr	w9, [x19, #4]
Lloh6:
	adrp	x8, _MIN_W@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIN_W@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w9, w8
	b.lt	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _MAX_W@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_W@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_6
LBB0_5:
	str	w8, [x19, #4]
LBB0_6:
	ldr	w0, [x19, #20]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_get_alignment
	ldr	w8, [sp, #12]
	ldp	w10, w9, [x19]
	neg	w8, w8
	and	w8, w9, w8
	ldr	w9, [sp, #8]
	neg	w9, w9
	and	w9, w10, w9
	stp	w9, w8, [x19]
	ldr	w10, [x20]
	mul	w8, w10, w8
	asr	w8, w8, #3
	mul	w9, w8, w9
	stp	w8, w9, [x19, #8]
Lloh12:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_H,4,2                      ; @MIN_H
	.comm	_MAX_H,4,2                      ; @MAX_H
	.comm	_MIN_W,4,2                      ; @MIN_W
	.comm	_MAX_W,4,2                      ; @MAX_W
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.no_dead_strip	_vidioc_try_fmt
.subsections_via_symbols
