	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextafterl                     ## -- Begin function nextafterl
	.p2align	4, 0x90
_nextafterl:                            ## @nextafterl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$96, %rsp
	fldt	32(%rbp)
	fld	%st(0)
	fstpt	-80(%rbp)
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-96(%rbp)
	movq	-80(%rbp), %rdx
	movq	-96(%rbp), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%rbp)
	fld	%st(0)
	fstpt	-48(%rbp)
	fld	%st(1)
	fstpt	-32(%rbp)
	movq	%rax, %rcx
	shrq	$32, %rcx
	cmpl	$32767, %eax                    ## imm = 0x7FFF
	jne	LBB0_2
## %bb.1:
	movq	_LDBL_NBIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	andl	%ecx, %esi
	orl	-40(%rbp), %esi
	jne	LBB0_4
LBB0_2:
	cmpl	$32767, %edx                    ## imm = 0x7FFF
	jne	LBB0_5
## %bb.3:
	shrq	$32, %rdx
	movq	_LDBL_NBIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	andl	%edx, %esi
	orl	-24(%rbp), %esi
	je	LBB0_5
LBB0_4:
	faddp	%st, %st(1)
	jmp	LBB0_24
LBB0_5:
	fucomi	%st(1), %st
	jne	LBB0_6
	jp	LBB0_6
LBB0_23:
	fstp	%st(0)
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	addq	$96, %rsp
	popq	%rbp
	retq
LBB0_6:
	fldz
	fxch	%st(1)
	fucomi	%st(1), %st
	fstp	%st(1)
	jne	LBB0_9
	jp	LBB0_9
## %bb.7:
	fstp	%st(0)
	fstp	%st(0)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -44(%rbp)
	fldt	-48(%rbp)
	fld	%st(0)
	fmul	%st(1), %st
	fstpt	-64(%rbp)
	fldt	-64(%rbp)
	fucompi	%st(1), %st
	jne	LBB0_24
	jp	LBB0_24
## %bb.8:
	fstp	%st(0)
	fldt	-64(%rbp)
	jmp	LBB0_24
LBB0_9:
	seta	%sil
	fxch	%st(1)
	fucompi	%st(1), %st
	seta	%dl
	movl	-40(%rbp), %edi
	cmpb	%dl, %sil
	je	LBB0_15
## %bb.10:
	testl	%edi, %edi
	jne	LBB0_14
## %bb.11:
	movq	_LDBL_NBIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%esi, %edx
	notl	%edx
	testl	%edx, %ecx
	jne	LBB0_13
## %bb.12:
	decl	%eax
	movl	%eax, -48(%rbp)
LBB0_13:
	andl	%ecx, %esi
	decl	%ecx
	orl	%esi, %ecx
	movl	%ecx, -44(%rbp)
LBB0_14:
	decl	%edi
	movl	%edi, -40(%rbp)
	jmp	LBB0_18
LBB0_15:
	incl	%edi
	movl	%edi, -40(%rbp)
	jne	LBB0_18
## %bb.16:
	movq	_LDBL_NBIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%ecx, %esi
	incl	%ecx
	orl	%ecx, %esi
	movl	%esi, -44(%rbp)
	notl	%edx
	testl	%edx, %ecx
	jne	LBB0_18
## %bb.17:
	incl	%eax
	movl	%eax, -48(%rbp)
LBB0_18:
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	cmpl	$32767, %eax                    ## imm = 0x7FFF
	jne	LBB0_20
## %bb.21:
	fadd	%st, %st(0)
	jmp	LBB0_24
LBB0_22:
	fstp	%st(0)
	movq	-48(%rbp), %rdi
	movq	-40(%rbp), %rsi
	callq	_mask_nbit_l
	fldt	-48(%rbp)
	fld	%st(0)
	fmul	%st(1), %st
	fstpt	-64(%rbp)
	fldt	-64(%rbp)
	jmp	LBB0_23
LBB0_20:
	fstp	%st(0)
	fldt	-48(%rbp)
	jmp	LBB0_24
LBB0_26:
	fstp	%st(0)
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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	_nextafterl                     ; -- Begin function nextafterl
	.p2align	2
_nextafterl:                            ; @nextafterl
	.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	d8, d1
	fmov	x8, d0
	fmov	x9, d8
	mov	w10, #32767
	cmp	w8, w10
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	fadd	d8, d0, d8
	b	LBB0_3
LBB0_2:
	fcmp	d0, d8
	b.ne	LBB0_4
LBB0_3:
	fmov	d0, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	fcmp	d0, #0.0
	b.ne	LBB0_7
; %bb.5:
	and	x8, x8, #0xffffffff
	fmov	d8, x8
	fmul	d0, d8, d8
	str	d0, [sp, #8]
	ldr	d0, [sp, #8]
	fcmp	d0, d8
	b.ne	LBB0_3
; %bb.6:
	ldr	d8, [sp, #8]
	b	LBB0_3
LBB0_7:
	cset	w9, gt
	fcmp	d0, d8
	cset	w10, mi
	eor	w9, w9, w10
	fmov	d8, d0
	tbnz	w9, #0, LBB0_12
; %bb.8:
	lsr	x9, x8, #32
	add	w10, w9, #1
Lloh0:
	adrp	x11, _LDBL_NBIT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _LDBL_NBIT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	and	w9, w11, w9
	orr	w9, w9, w10
	bics	wzr, w10, w11
	b.eq	LBB0_10
; %bb.9:
	bfi	x8, x9, #32, #32
	b	LBB0_11
LBB0_10:
	lsl	x9, x9, #32
	add	w8, w8, #1
	orr	x8, x9, x8
LBB0_11:
	fmov	d8, x8
LBB0_12:
	fmov	x0, d8
	cbz	w0, LBB0_14
; %bb.13:
	mov	w8, #32767
	cmp	w0, w8
	fadd	d0, d0, d0
	fcsel	d8, d8, d0, ne
	b	LBB0_3
LBB0_14:
	mov	x1, #0
	bl	_mask_nbit_l
	fmul	d0, d8, d8
	str	d0, [sp, #8]
	ldr	d0, [sp, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDBL_NBIT,4,2                  ; @LDBL_NBIT
.subsections_via_symbols
