	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m64FlooredDivI                 ## -- Begin function m64FlooredDivI
	.p2align	4, 0x90
_m64FlooredDivI:                        ## @m64FlooredDivI
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	callq	_m64IsNegative
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r15d, %edi
	callq	_m64Negate
	movl	%eax, %r15d
	movl	$-1, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	movl	%eax, %ebx
	negl	%ebx
	movq	%r14, %r12
	negq	%r12
	cmovsq	%r14, %r12
	testq	%r14, %r14
	cmovnsl	%eax, %ebx
	movl	%r15d, %edi
	callq	_m64CastIU
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_ficlLongDiv
	movl	%eax, %edi
	callq	_m64CastQRUI
	testl	%ebx, %ebx
	jns	LBB0_7
## %bb.4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	notl	%edx
	subq	%rax, %r12
	movq	%r12, %rax
	jmp	LBB0_7
LBB0_5:
	negl	%edx
	xorl	%eax, %eax
LBB0_7:
	movq	%rax, %rcx
	negq	%rcx
	testq	%r14, %r14
	cmovnsq	%rax, %rcx
	movq	%rcx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m64FlooredDivI                 ; -- Begin function m64FlooredDivI
	.p2align	2
_m64FlooredDivI:                        ; @m64FlooredDivI
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_m64IsNegative
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_m64Negate
	mov	x20, x0
	mov	w8, #-1
	b	LBB0_3
LBB0_2:
	mov	w8, #1
LBB0_3:
	cmp	x19, #0
	cneg	x21, x19, mi
	cneg	w22, w8, lt
	mov	x0, x20
	bl	_m64CastIU
	mov	x1, x21
	bl	_ficlLongDiv
	bl	_m64CastQRUI
	eor	x8, x1, #0xffffffff
	sub	x9, x21, x0
	cmp	x0, #0
	csel	x9, xzr, x9, eq
	csneg	x8, x8, x1, ne
	tst	w22, #0x80000000
	csel	x9, x0, x9, eq
	csel	x8, x1, x8, eq
	cmp	x19, #0
	cneg	x0, x9, lt
	bfxil	x1, x8, #0, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
