	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function convert_real_from_base_unit
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convert_real_from_base_unit:           ## @convert_real_from_base_unit
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	$0, (%rdx)
	movq	_GUC_UNIT_MEMORY@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_time_unit_conversion_table@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_memory_unit_conversion_table@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.5:
	addq	$24, %rbx
	xorpd	%xmm2, %xmm2
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rax
	addq	$24, %rbx
	cmpb	$0, (%rax)
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, -16(%rbx)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movapd	%xmm0, %xmm1
	divsd	-8(%rbx), %xmm1
	movsd	%xmm1, (%r14)
	movq	%rax, (%r15)
	ucomisd	%xmm2, %xmm1
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorps	%xmm0, %xmm0
	roundsd	$4, %xmm1, %xmm0
	divsd	%xmm1, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	callq	_fabs
	xorpd	%xmm2, %xmm2
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	testl	%eax, %eax
	jg	LBB0_9
LBB0_10:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	jmp	LBB0_11
LBB0_4:
	xorl	%edi, %edi
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GUC_UNIT_MEMORY,4,2            ## @GUC_UNIT_MEMORY
	.comm	_memory_unit_conversion_table,8,3 ## @memory_unit_conversion_table
	.comm	_time_unit_conversion_table,8,3 ## @time_unit_conversion_table
	.no_dead_strip	_convert_real_from_base_unit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_real_from_base_unit
_convert_real_from_base_unit:           ; @convert_real_from_base_unit
	.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
	str	xzr, [x2]
Lloh0:
	adrp	x8, _GUC_UNIT_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GUC_UNIT_MEMORY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _time_unit_conversion_table@GOTPAGE
Lloh3:
	ldr	x9, [x9, _time_unit_conversion_table@GOTPAGEOFF]
Lloh4:
	adrp	x10, _memory_unit_conversion_table@GOTPAGE
Lloh5:
	ldr	x10, [x10, _memory_unit_conversion_table@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	x9, [x8]
	ldr	x8, [x9]
	ldrb	w10, [x8]
	cbz	w10, LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	fmov	d8, d0
	add	x22, x9, #16
	fmov	d9, #-1.00000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]
	ldrb	w9, [x8]
	add	x22, x22, #24
	cbz	w9, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x22, #-8]
	cmp	w9, w21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x22]
	fdiv	d0, d8, d0
	str	d0, [x20]
	str	x8, [x19]
	fcmp	d0, #0.0
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	frintx	d1, d0
	fdiv	d0, d1, d0
	fadd	d0, d0, d9
	bl	_fabs
	cmp	w0, #1
	b.ge	LBB0_2
LBB0_6:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	b	_Assert
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GUC_UNIT_MEMORY,4,2            ; @GUC_UNIT_MEMORY
	.comm	_memory_unit_conversion_table,8,3 ; @memory_unit_conversion_table
	.comm	_time_unit_conversion_table,8,3 ; @time_unit_conversion_table
	.no_dead_strip	_convert_real_from_base_unit
.subsections_via_symbols
