	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CropVideoArea
_CropVideoArea:                         ## @CropVideoArea
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VIDEOMODE_dest_width@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rax
	cmpq	%rax, (%rcx)
	jle	LBB0_2
## %bb.1:
	movq	%rax, (%rcx)
	cvtsi2sd	%rax, %xmm2
	divsd	%xmm0, %xmm2
	cvttsd2si	%xmm2, %rax
	movl	%eax, (%rsi)
LBB0_2:
	movq	_VIDEOMODE_dest_height@GOTPCREL(%rip), %rcx
	movq	8(%rdi), %rax
	cmpq	%rax, (%rcx)
	jle	LBB0_4
## %bb.3:
	movq	%rax, (%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %rax
	movl	%eax, (%rdx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEOMODE_dest_width,8,3       ## @VIDEOMODE_dest_width
	.comm	_VIDEOMODE_dest_height,8,3      ## @VIDEOMODE_dest_height
	.no_dead_strip	_CropVideoArea
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CropVideoArea
_CropVideoArea:                         ; @CropVideoArea
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VIDEOMODE_dest_width@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIDEOMODE_dest_width@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x10, x8
	b.le	LBB0_2
; %bb.1:
	str	x8, [x9]
	scvtf	d2, x8
	fdiv	d0, d2, d0
	fcvtzu	w8, d0
	str	w8, [x1]
LBB0_2:
Lloh2:
	adrp	x8, _VIDEOMODE_dest_height@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VIDEOMODE_dest_height@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x9, [x0, #8]
	cmp	x10, x9
	b.le	LBB0_4
; %bb.3:
	str	x9, [x8]
	scvtf	d0, x9
	fdiv	d0, d0, d1
	fcvtzu	w8, d0
	str	w8, [x2]
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEOMODE_dest_width,8,3       ; @VIDEOMODE_dest_width
	.comm	_VIDEOMODE_dest_height,8,3      ; @VIDEOMODE_dest_height
	.no_dead_strip	_CropVideoArea
.subsections_via_symbols
