	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_resize_coeff
_calc_resize_coeff:                     ## @calc_resize_coeff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %eax
	movl	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	movl	%edx, %esi
	shll	$13, %edi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
LBB0_1:
	addl	$-8192, %edi                    ## imm = 0xE000
	decl	%esi
	movl	%edi, %eax
	cltd
	idivl	%esi
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_resize_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_resize_coeff
_calc_resize_coeff:                     ; @calc_resize_coeff
	.cfi_startproc
; %bb.0:
	asr	w8, w0, w1
	lsl	w0, w8, #13
	cbz	w3, LBB0_2
; %bb.1:
	mov	x1, x2
	b	_DIV_ROUND_CLOSEST
LBB0_2:
	sub	w8, w0, #2, lsl #12             ; =8192
	sub	w9, w2, #1
	sdiv	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_resize_coeff
.subsections_via_symbols
