	.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
	movq	%rsi, %rax
	shrq	$32, %rax
	testl	%esi, %esi
	je	LBB0_12
## %bb.1:
	movq	_float_flag_inexact@GOTPCREL(%rip), %r9
	movq	_slow_float_exception_flags@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	orl	(%r9), %ecx
	movl	%ecx, (%r8)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movq	_float_flag_underflow@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	movl	%ecx, (%r8)
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), %rdi
	movslq	(%rdi,%rcx,4), %rcx
	addq	%rdi, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	%rdx, %rcx
	shrq	$32, %rcx
	je	LBB0_10
	jmp	LBB0_12
LBB0_5:
	testl	%esi, %esi
	jns	LBB0_12
## %bb.6:
	cmpl	$-2147483648, %esi              ## imm = 0x80000000
	jne	LBB0_10
## %bb.7:
	movl	%eax, %ecx
	andl	$1, %ecx
	je	LBB0_12
	jmp	LBB0_10
LBB0_8:
	movq	%rdx, %rcx
	shrq	$32, %rcx
	je	LBB0_12
LBB0_10:
	incl	%eax
	cmpl	$16777216, %eax                 ## imm = 0x1000000
	jne	LBB0_12
## %bb.11:
	leal	1(%rdx), %eax
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	andq	%rdx, %rcx
	orq	%rax, %rcx
	movl	$8388608, %eax                  ## imm = 0x800000
	movq	%rcx, %rdx
LBB0_12:
	shlq	$32, %rax
	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:
	lsr	x8, x1, #32
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cbz	w1, LBB0_11
; %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:
	lsr	x9, x2, #32
	cbz	x9, LBB0_10
	b	LBB0_11
LBB0_6:
	tbz	w1, #31, LBB0_11
; %bb.7:
	mov	w9, #-2147483648
	cmp	w1, w9
	b.ne	LBB0_10
; %bb.8:
	tbz	w8, #0, LBB0_11
	b	LBB0_10
LBB0_9:
	lsr	x9, x2, #32
	cbz	x9, LBB0_11
LBB0_10:
	add	w9, w8, #1
	mov	w10, #16777216
	cmp	w9, w10
	add	w9, w2, #1
	and	x10, x2, #0xffffffff00000000
	orr	x9, x9, x10
	mov	w10, #8388608
	csel	x2, x2, x9, ne
	csinc	w8, w10, w8, eq
LBB0_11:
	lsl	x0, x8, #32
	mov	x1, x2
	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_11-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
