	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function floatXRoundToInt
_floatXRoundToInt:                      ## @floatXRoundToInt
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	16(%rbp), %r15
	movq	56(%rbp), %rax
	orq	48(%rbp), %rax
	jne	LBB0_8
## %bb.1:
	movl	(%r15), %r12d
	cmpl	$51, %r12d
	jg	LBB0_8
## %bb.2:
	cmpl	$-3, %r12d
	jge	LBB0_3
## %bb.9:
	movl	$52, (%r15)
	xorl	%eax, %eax
	cmpq	$0, 8(%r15)
	sete	%al
	movl	%eax, 16(%r15)
	movq	$0, 24(%r15)
	jmp	LBB0_5
LBB0_3:
	movl	16(%r15), %eax
	movq	24(%r15), %rdx
	movl	$53, %ebx
	subl	%r12d, %ebx
	incl	%r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	movq	%rdx, %rsi
	movl	$1, %edx
	callq	_shortShift64RightJamming
	movl	%eax, 16(%r15)
	movq	%rdx, 24(%r15)
	movl	%r12d, (%r15)
	incl	%r12d
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_4
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	32(%r15), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-80(%rbp), %rdi
	callq	_roundFloatXTo53
	movups	-80(%rbp), %xmm0
	movups	-64(%rbp), %xmm1
	movups	-48(%rbp), %xmm2
	movups	%xmm2, 32(%r15)
	movups	%xmm1, 16(%r15)
	movups	%xmm0, (%r15)
	cmpq	$0, 24(%r15)
	jne	LBB0_8
## %bb.6:
	cmpl	$0, 16(%r15)
	jne	LBB0_8
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_8:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movups	16(%r15), %xmm0
	movups	32(%r15), %xmm1
	movups	%xmm1, 32(%r14)
	movups	%xmm0, 16(%r14)
	movq	%rax, (%r14)
	movq	%rcx, 8(%r14)
	movq	%r14, %rax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_floatXRoundToInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function floatXRoundToInt
_floatXRoundToInt:                      ; @floatXRoundToInt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x0
	mov	x19, x8
	ldr	x8, [x0, #40]
	cbnz	x8, LBB0_10
; %bb.1:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #52
	b.ge	LBB0_10
; %bb.3:
	cmn	w8, #3
	b.ge	LBB0_5
; %bb.4:
	mov	w8, #52
	str	w8, [x20]
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w8, eq
	str	w8, [x20, #16]
	str	xzr, [x20, #24]
	b	LBB0_7
LBB0_5:
	ldp	x0, x1, [x20, #16]
	mov	w9, #53
	sub	w21, w9, w8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w2, #1
	bl	_shortShift64RightJamming
	stp	x0, x1, [x20, #16]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	sub	w21, w21, #1
	cmp	w21, #1
	b.hi	LBB0_6
LBB0_7:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	q0, q1, [x20]
	stp	q0, q1, [sp]
	ldr	q0, [x20, #32]
	str	q0, [sp, #32]
	add	x8, sp, #48
	mov	x1, sp
	bl	_roundFloatXTo53
	ldp	q0, q1, [sp, #48]
	stp	q0, q1, [x20]
	ldr	q0, [sp, #80]
	str	q0, [x20, #32]
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_10
; %bb.8:
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_10
; %bb.9:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_10:
	ldp	q0, q1, [x20]
	stp	q0, q1, [x19]
	ldr	q0, [x20, #32]
	str	q0, [x19, #32]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_floatXRoundToInt
.subsections_via_symbols
