	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nexttowardf                    ## -- Begin function nexttowardf
	.p2align	4, 0x90
_nexttowardf:                           ## @nexttowardf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movss	%xmm0, -4(%rbp)                 ## 4-byte Spill
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-32(%rbp)                       ## 10-byte Folded Spill
	fstpt	-48(%rbp)
	callq	_GET_FLOAT_WORD
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	_LDBL_INFNAN_EXP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	movss	%xmm0, -20(%rbp)
	flds	-20(%rbp)
	jne	LBB0_2
## %bb.1:
	fldt	-32(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstps	-12(%rbp)
	movss	-12(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_6
LBB0_2:
	fldt	-32(%rbp)                       ## 10-byte Folded Reload
	fxch	%st(1)
	fucompi	%st(1), %st
	jne	LBB0_4
	jp	LBB0_4
## %bb.3:
	fstps	-16(%rbp)
	movss	-16(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_6
LBB0_4:
	fstp	%st(0)
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	$1, %edi
	callq	_SET_FLOAT_WORD
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	movss	%xmm0, -8(%rbp)
	movss	-8(%rbp), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-4(%rbp), %xmm0                 ## 4-byte Folded Reload
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jne	LBB0_6
	jp	LBB0_6
## %bb.5:
	movss	-8(%rbp), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
LBB0_6:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDBL_INFNAN_EXP,8,3            ## @LDBL_INFNAN_EXP
	.comm	_LDBL_NBIT,4,2                  ## @LDBL_NBIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nexttowardf                    ; -- Begin function nexttowardf
	.p2align	2
_nexttowardf:                           ; @nexttowardf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	fmov	d9, d1
	fmov	s8, s0
	bl	_GET_FLOAT_WORD
	fcvt	d0, s8
	fcmp	d0, d9
	b.ne	LBB0_2
; %bb.1:
	fcvt	s8, d9
	b	LBB0_4
LBB0_2:
	fmov	s0, s8
	mov	w0, #1
	bl	_SET_FLOAT_WORD
	fmul	s0, s8, s8
	str	s0, [sp, #12]
	ldr	s0, [sp, #12]
	fcmp	s0, s8
	b.ne	LBB0_4
; %bb.3:
	ldr	s8, [sp, #12]
LBB0_4:
	fmov	s0, s8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_LDBL_INFNAN_EXP,8,3            ; @LDBL_INFNAN_EXP
	.comm	_LDBL_NBIT,4,2                  ; @LDBL_NBIT
.subsections_via_symbols
