	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roundFloatXTo24
_roundFloatXTo24:                       ## @roundFloatXTo24
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	16(%rbp), %r15
	xorl	%eax, %eax
	cmpq	$0, 32(%rbp)
	setne	%al
	orl	24(%rbp), %eax
	movq	$0, 32(%rbp)
	movl	$0, 24(%rbp)
	je	LBB0_12
## %bb.1:
	movq	_float_flag_inexact@GOTPCREL(%rip), %rdi
	movq	_slow_float_exception_flags@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rdi), %edx
	movl	%edx, (%rcx)
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_float_flag_underflow@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, (%rcx)
LBB0_3:
	movq	_slow_float_rounding_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_9:
	cmpl	$0, 24(%r15)
	jne	LBB0_12
	jmp	LBB0_10
LBB0_5:
	testl	%eax, %eax
	jns	LBB0_12
## %bb.6:
	cmpl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_10
## %bb.7:
	xorl	%edi, %edi
	callq	_LIT64
	jmp	LBB0_12
LBB0_8:
	cmpl	$0, 24(%r15)
	je	LBB0_12
LBB0_10:
	xorl	%edi, %edi
	callq	_LIT64
	movl	%eax, %r14d
	movl	%eax, 8(%r15)
	xorl	%edi, %edi
	callq	_LIT64
	cmpl	%eax, %r14d
	jne	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	callq	_LIT64
	movl	%eax, 8(%r15)
	incl	(%r15)
LBB0_12:
	movq	(%r15), %rax
	movl	8(%r15), %ecx
	movl	12(%r15), %edx
	movups	16(%r15), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%rax, (%rbx)
	movl	%ecx, 8(%rbx)
	movl	%edx, 12(%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_float_flag_inexact,4,2         ## @float_flag_inexact
	.comm	_slow_float_exception_flags,4,2 ## @slow_float_exception_flags
	.comm	_float_flag_underflow,4,2       ## @float_flag_underflow
	.comm	_slow_float_rounding_mode,4,2   ## @slow_float_rounding_mode
	.no_dead_strip	_roundFloatXTo24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roundFloatXTo24
_roundFloatXTo24:                       ; @roundFloatXTo24
	.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, x8
	ldr	x8, [x1, #16]
	cmp	x8, #0
	ldr	w8, [x1, #8]
	cset	w9, ne
	str	xzr, [x1, #16]
	str	wzr, [x1, #8]
	orr	w8, w8, w9
	cbz	w8, LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, _float_flag_inexact@GOTPAGE
Lloh1:
	ldr	x9, [x9, _float_flag_inexact@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _slow_float_exception_flags@GOTPAGE
Lloh4:
	ldr	x9, [x9, _slow_float_exception_flags@GOTPAGEOFF]
	ldr	w11, [x9]
	orr	w10, w11, w10
	str	w10, [x9]
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x11, _float_flag_underflow@GOTPAGE
Lloh6:
	ldr	x11, [x11, _float_flag_underflow@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w10, [x9]
LBB0_3:
Lloh8:
	adrp	x9, _slow_float_rounding_mode@GOTPAGE
Lloh9:
	ldr	x9, [x9, _slow_float_rounding_mode@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_10
; %bb.4:
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_12
	b	LBB0_10
LBB0_6:
	tbz	w8, #31, LBB0_12
; %bb.7:
	mov	w9, #-2147483648
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #0
	bl	_LIT64
	b	LBB0_12
LBB0_9:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_12
LBB0_10:
	mov	w0, #0
	bl	_LIT64
	ldr	w8, [x19, #8]
	add	w21, w8, w0
	str	w21, [x19, #8]
	mov	w0, #0
	bl	_LIT64
	cmp	w21, w0
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	bl	_LIT64
	str	w0, [x19, #8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_12:
	ldp	q0, q1, [x19]
	stp	q0, q1, [x20]
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_float_flag_inexact,4,2         ; @float_flag_inexact
	.comm	_slow_float_exception_flags,4,2 ; @slow_float_exception_flags
	.comm	_float_flag_underflow,4,2       ; @float_flag_underflow
	.comm	_slow_float_rounding_mode,4,2   ; @slow_float_rounding_mode
	.no_dead_strip	_roundFloatXTo24
.subsections_via_symbols
