	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tile_pos
_get_tile_pos:                          ## @get_tile_pos
	.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
	movq	%rdx, %r8
	movq	(%rdi), %rdx
	movq	8(%rdi), %rdi
	movq	(%rdx), %r9
	xorl	%edx, %edx
	divl	(%rdi)
	movl	8(%rdi), %ecx
	addl	(%r9), %ecx
	imull	%edx, %ecx
	addl	4(%rdi), %ecx
	movl	%ecx, (%rsi)
	movl	8(%rdi), %ecx
	addl	4(%r9), %ecx
	imull	%eax, %ecx
	addl	4(%rdi), %ecx
	movl	%ecx, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_tile_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tile_pos
_get_tile_pos:                          ; @get_tile_pos
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldr	x9, [x9]
	ldp	w10, w11, [x8]
	udiv	w12, w3, w10
	msub	w10, w12, w10, w3
	ldr	w13, [x9]
	ldr	w14, [x8, #8]
	add	w13, w14, w13
	madd	w10, w13, w10, w11
	str	w10, [x1]
	ldr	w9, [x9, #4]
	ldp	w10, w8, [x8, #4]
	add	w8, w8, w9
	madd	w8, w8, w12, w10
	str	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_tile_pos
.subsections_via_symbols
