	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function div_significands
_div_significands:                      ## @div_significands
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	_SIGNIFICAND_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r13), %ebx
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cmp_significands
	testq	%rax, %rax
	js	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_sub_significands
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_set_significand_bit
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r13d
	jle	LBB0_6
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movq	_SIGSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_SIG_MSB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	andq	-8(%rax,%rcx,8), %r14
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_lshift_significand_1
	movl	%ebx, %r13d
	jmp	LBB0_2
LBB0_6:
	movq	_SIGSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rcx
	cmpl	$4, %eax
	jae	LBB0_10
## %bb.9:
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_18
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_10:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %ebx
	andl	$3, %ebx
	cmpq	$12, %rdi
	jae	LBB0_12
## %bb.11:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	jmp	LBB0_14
LBB0_12:
	andq	$-4, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm2
	por	%xmm0, %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm0
	por	%xmm1, %xmm0
	movdqu	32(%rcx,%rdi,8), %xmm1
	movdqu	48(%rcx,%rdi,8), %xmm3
	movdqu	64(%rcx,%rdi,8), %xmm4
	por	%xmm1, %xmm4
	por	%xmm2, %xmm4
	movdqu	80(%rcx,%rdi,8), %xmm2
	por	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqu	96(%rcx,%rdi,8), %xmm0
	por	%xmm4, %xmm0
	movdqu	112(%rcx,%rdi,8), %xmm1
	por	%xmm2, %xmm1
	addq	$16, %rdi
	addq	$-4, %rsi
	jne	LBB0_13
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.15:
	leaq	(%rcx,%rdi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rdi), %xmm2
	por	%xmm2, %xmm0
	movdqu	(%rsi,%rdi), %xmm2
	por	%xmm2, %xmm1
	addq	$32, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_16
LBB0_17:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	movq	%xmm1, %rsi
	cmpq	%rax, %rdx
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	orq	(%rcx,%rdx,8), %rsi
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	setne	%al
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNIFICAND_BITS,4,2           ## @SIGNIFICAND_BITS
	.comm	_SIGSZ,4,2                      ## @SIGSZ
	.comm	_SIG_MSB,8,3                    ## @SIG_MSB
	.no_dead_strip	_div_significands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function div_significands
_div_significands:                      ; @div_significands
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _SIGNIFICAND_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGNIFICAND_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x1]
	str	x8, [sp, #8]
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x21, #0
Lloh3:
	adrp	x23, _SIGSZ@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SIGSZ@GOTPAGEOFF]
Lloh5:
	adrp	x24, _SIG_MSB@GOTPAGE
Lloh6:
	ldr	x24, [x24, _SIG_MSB@GOTPAGEOFF]
	cbnz	x21, LBB0_2
LBB0_1:
	add	x0, sp, #8
	mov	x1, x19
	bl	_cmp_significands
	tbnz	x0, #63, LBB0_3
LBB0_2:
	sub	w21, w22, #1
	add	x0, sp, #8
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #0
	bl	_sub_significands
	mov	x0, x20
	mov	x1, x21
	bl	_set_significand_bit
LBB0_3:
	subs	w22, w22, #1
	b.le	LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x9, [x24]
	and	x21, x9, x8
	add	x0, sp, #8
	add	x1, sp, #8
	bl	_lshift_significand_1
	cbnz	x21, LBB0_2
	b	LBB0_1
LBB0_5:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	x9, [sp, #8]
	cmp	w8, #8
	b.hs	LBB0_9
; %bb.7:
	mov	x10, #0
	mov	x11, #0
	b	LBB0_12
LBB0_8:
	mov	w0, #0
	b	LBB0_15
LBB0_9:
	and	x10, x8, #0xfffffff8
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	x11, d0
	cmp	x10, x8
	b.eq	LBB0_14
LBB0_12:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	orr	x11, x10, x11
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	cmp	x11, #0
	cset	w0, ne
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNIFICAND_BITS,4,2           ; @SIGNIFICAND_BITS
	.comm	_SIGSZ,4,2                      ; @SIGSZ
	.comm	_SIG_MSB,8,3                    ; @SIG_MSB
	.no_dead_strip	_div_significands
.subsections_via_symbols
