	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtd_divmod
_rtd_divmod:                            ## @rtd_divmod
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_REAL_EXP
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_REAL_EXP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	cmpl	%eax, %r12d
	jl	LBB0_8
## %bb.1:
	xorl	%r13d, %r13d
	testq	%r13, %r13
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cmp_significands
	testq	%rax, %rax
	js	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_sub_significands
	orq	$1, %r15
LBB0_6:
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.2:
	decl	%r12d
	movq	(%rbx), %rax
	movq	_SIGSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_SIG_MSB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r13
	andq	-8(%rax,%rcx,8), %r13
	addq	%r15, %r15
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_lshift_significand_1
	testq	%r13, %r13
	jne	LBB0_5
	jmp	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SET_REAL_EXP
	movq	%rbx, %rdi
	callq	_normalize
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGSZ,4,2                      ## @SIGSZ
	.comm	_SIG_MSB,8,3                    ## @SIG_MSB
	.no_dead_strip	_rtd_divmod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtd_divmod
_rtd_divmod:                            ; @rtd_divmod
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	bl	_REAL_EXP
	mov	x22, x0
	mov	x0, x21
	bl	_REAL_EXP
	cmp	w22, w0
	b.ge	LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_8
LBB0_2:
	mov	x23, x0
	mov	x20, #0
	mov	x26, #0
Lloh0:
	adrp	x24, _SIGSZ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SIGSZ@GOTPAGEOFF]
Lloh2:
	adrp	x25, _SIG_MSB@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SIG_MSB@GOTPAGEOFF]
	cbnz	x26, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_cmp_significands
	tbnz	x0, #63, LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	mov	w3, #0
	bl	_sub_significands
	orr	x20, x20, #0x1
LBB0_5:
	cmp	w22, w23
	b.le	LBB0_7
; %bb.6:
	sub	w22, w22, #1
	ldr	x8, [x19]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x9, [x25]
	and	x26, x9, x8
	lsl	x20, x20, #1
	mov	x0, x19
	mov	x1, x19
	bl	_lshift_significand_1
	cbnz	x26, LBB0_4
	b	LBB0_3
LBB0_7:
	mov	x0, x19
	mov	x1, x23
	bl	_SET_REAL_EXP
	mov	x0, x19
	bl	_normalize
LBB0_8:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGSZ,4,2                      ; @SIGSZ
	.comm	_SIG_MSB,8,3                    ; @SIG_MSB
	.no_dead_strip	_rtd_divmod
.subsections_via_symbols
