	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextafter                      ## -- Begin function nextafter
	.p2align	4, 0x90
_nextafter:                             ## @nextafter
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	callq	___HI
	movl	%eax, %ebx
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	___LO
	movl	%eax, %r15d
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	___HI
	movl	%eax, %r14d
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	___LO
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	cmpl	$2146435072, %ebx               ## imm = 0x7FF00000
	jb	LBB0_2
## %bb.1:
	addl	$-2146435072, %ebx              ## imm = 0x80100000
	orl	%r15d, %ebx
	jne	LBB0_4
LBB0_2:
	andl	$2147483647, %r14d              ## imm = 0x7FFFFFFF
	cmpl	$2146435072, %r14d              ## imm = 0x7FF00000
	jb	LBB0_5
## %bb.3:
	addl	$-2146435072, %r14d             ## imm = 0x80100000
	orl	%eax, %r14d
	je	LBB0_5
LBB0_4:
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	jmp	LBB0_7
LBB0_5:
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	jne	LBB0_6
	jnp	LBB0_7
LBB0_6:
	addsd	%xmm0, %xmm0
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextafter                      ; -- Begin function nextafter
	.p2align	2
_nextafter:                             ; @nextafter
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	fmov	d9, d1
	fmov	d8, d0
	bl	___HI
	mov	x19, x0
	fmov	d0, d8
	bl	___LO
	mov	x20, x0
	fmov	d0, d9
	bl	___HI
	mov	x21, x0
	fmov	d0, d9
	bl	___LO
	ubfx	w8, w19, #20, #11
	cmp	w8, #2047
	b.lo	LBB0_2
; %bb.1:
	and	w8, w19, #0x7fffffff
	mov	w9, #-2146435072
	add	w8, w8, w9
	orr	w8, w8, w20
	cbnz	w8, LBB0_4
LBB0_2:
	mov	w9, #2146435071
	and	w8, w21, #0x7fffffff
	cmp	w8, w9
	b.ls	LBB0_5
; %bb.3:
	mov	w9, #-2146435072
	add	w8, w8, w9
	orr	w8, w8, w0
	cbz	w8, LBB0_5
LBB0_4:
	fadd	d8, d8, d9
	b	LBB0_7
LBB0_5:
	fcmp	d8, d9
	b.eq	LBB0_7
; %bb.6:
	fadd	d8, d8, d8
LBB0_7:
	fmov	d0, d8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
