	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ml_calculate_direction
_ml_calculate_direction:                ## @ml_calculate_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.3:
	sarl	%edi
	imull	%esi, %edi
	sarl	%eax
	imull	%ecx, %eax
	addl	%edi, %eax
	addl	%esi, %ecx
	cltd
	idivl	%ecx
	addl	%eax, %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	movl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ml_calculate_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ml_calculate_direction
_ml_calculate_direction:                ; @ml_calculate_direction
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
	cbz	w3, LBB0_4
; %bb.2:
	asr	w8, w0, #1
	mul	w8, w8, w1
	asr	w9, w2, #1
	madd	w8, w9, w3, w8
	add	w9, w3, w1
	sdiv	w8, w8, w9
	lsl	w2, w8, #1
LBB0_3:
	mov	x0, x2
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ml_calculate_direction
.subsections_via_symbols
