	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function apr_cvt
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4024000000000000              ## double 10
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0x3f9eb851eb851eb8              ## double 0.029999999999999999
LCPI0_4:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_apr_cvt:                               ## @apr_cvt
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	_NDIG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leal	-1(%r14), %eax
	addl	$-2, %r14d
	cmpl	%edi, %eax
	cmovgl	%edi, %r14d
	movl	$0, (%rdx)
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_2
## %bb.1:
	movl	$1, (%rdx)
	xorpd	LCPI0_0(%rip), %xmm0
LBB0_2:
	leaq	-72(%rbp), %rdi
	callq	_modf
	movapd	%xmm0, %xmm3
	movsd	-72(%rbp), %xmm1                ## xmm1 = mem[0],zero
	ucomisd	LCPI0_4(%rip), %xmm1
	jne	LBB0_3
	jnp	LBB0_13
LBB0_3:
	movq	_NDIG@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rcx
	testq	%rcx, %rcx
	jle	LBB0_4
## %bb.10:
	movsd	%xmm3, -80(%rbp)                ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%r13), %rax
	decq	%rax
	xorl	%r15d, %r15d
	leaq	-72(%rbp), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	movq	%r12, %rdi
	callq	_modf
	movapd	%xmm0, %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	mulsd	LCPI0_1(%rip), %xmm1
	cvttsd2si	%xmm1, %eax
	addb	$48, %al
	movb	%al, (%rbx)
	incl	%r15d
	leaq	-1(%rbx), %rax
	cmpq	%r13, %rbx
	jbe	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movsd	-72(%rbp), %xmm1                ## xmm1 = mem[0],zero
	ucomisd	LCPI0_4(%rip), %xmm1
	jne	LBB0_11
	jp	LBB0_11
LBB0_5:
	movq	_NDIG@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rcx
	incq	%rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movsd	-80(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jmp	LBB0_6
LBB0_13:
	xorl	%r15d, %r15d
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm3
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_NDIG@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	jbe	LBB0_14
## %bb.15:
	movl	$1, %r15d
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movapd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm3
	decl	%r15d
	ucomisd	%xmm3, %xmm2
	ja	LBB0_16
## %bb.17:
	movsd	%xmm3, -64(%rbp)
	jmp	LBB0_18
LBB0_4:
	leaq	(%rcx,%r13), %rax
	xorl	%r15d, %r15d
                                        ## implicit-def: $xmm0
LBB0_6:
	movsd	%xmm0, -64(%rbp)
	addq	%r13, %rcx
	cmpq	%rcx, %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rdi
	jae	LBB0_14
## %bb.7:
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	incq	%rax
	movb	%cl, (%rbx)
	incq	%rbx
	movslq	(%rsi), %rcx
	addq	%r13, %rcx
	cmpq	%rcx, %rax
	jb	LBB0_8
## %bb.9:
	movapd	%xmm3, %xmm0
	jmp	LBB0_19
LBB0_14:
	movapd	%xmm3, %xmm0
LBB0_18:
	movq	%r13, %rbx
LBB0_19:
	movslq	%edi, %rax
	addq	%r13, %rax
	xorl	%ecx, %ecx
	testl	%edx, %edx
	cmovel	%r15d, %ecx
	movslq	%ecx, %r14
	addq	%rax, %r14
	cmpq	%r13, %r14
	jae	LBB0_21
## %bb.20:
	negl	%edi
	movl	%edi, (%r12)
	movq	%r13, %rax
	jmp	LBB0_39
LBB0_21:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, (%r12)
	movslq	(%rsi), %rax
	leaq	(%rax,%r13), %rcx
	cmpq	%r14, %rbx
	ja	LBB0_26
## %bb.22:
	cmpq	%rcx, %rbx
	jae	LBB0_26
## %bb.23:
	incq	%rbx
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	mulsd	LCPI0_1(%rip), %xmm0
	movq	%r12, %rdi
	callq	_modf
	cvttsd2si	-64(%rbp), %eax
	addb	$48, %al
	movb	%al, -1(%rbx)
	movq	_NDIG@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%r13), %rcx
	cmpq	%r14, %rbx
	ja	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	1(%rbx), %rdx
	cmpq	%rcx, %rbx
	movq	%rdx, %rbx
	jb	LBB0_24
LBB0_26:
	cmpq	%rcx, %r14
	jae	LBB0_27
## %bb.28:
	movb	(%r14), %al
	addb	$5, %al
	movb	%al, (%r14)
	cmpb	$58, %al
	jl	LBB0_29
## %bb.30:
	movq	%r14, %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_31 Depth=1
	movzbl	-1(%r14), %ecx
	incb	%cl
	movb	%cl, -1(%r14)
	decq	%r14
	cmpb	$57, %cl
	jle	LBB0_39
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, (%r14)
	cmpq	%r13, %r14
	ja	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movb	$49, (%r14)
	incl	(%rdx)
	testl	%esi, %esi
	jne	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpq	%r13, %rax
	jbe	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	movb	$48, (%rax)
LBB0_36:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%rax
LBB0_37:                                ##   in Loop: Header=BB0_31 Depth=1
	movzbl	(%r14), %ecx
	cmpb	$57, %cl
	jg	LBB0_31
	jmp	LBB0_39
LBB0_27:
	cltq
	addq	%r13, %rax
	decq	%rax
	jmp	LBB0_39
LBB0_29:
	movq	%r14, %rax
LBB0_39:
	movb	$0, (%rax)
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NDIG,4,2                       ## @NDIG
	.no_dead_strip	_apr_cvt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apr_cvt
_apr_cvt:                               ; @apr_cvt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x19, x4
	mov	x21, x3
	mov	x20, x1
Lloh0:
	adrp	x22, _NDIG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NDIG@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w9, w8, #1
	sub	w8, w8, #2
	cmp	w9, w0
	csel	w23, w0, w8, gt
	str	wzr, [x2]
	fcmp	d0, #0.0
	b.pl	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x2]
	fneg	d0, d0
LBB0_2:
	add	x0, sp, #8
	bl	_modf
	fmov	d8, d0
	ldr	d1, [sp, #8]
	fcmp	d1, #0.0
	b.eq	LBB0_8
; %bb.3:
	ldrsw	x9, [x22]
	add	x24, x19, x9
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x25, #0
	fmov	d9, #10.00000000
	mov	x26, #7864
	movk	x26, #60293, lsl #16
	movk	x26, #47185, lsl #32
	movk	x26, #16286, lsl #48
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	fdiv	d0, d1, d9
	add	x0, sp, #8
	bl	_modf
	fmov	d1, x26
	fadd	d1, d0, d1
	fmul	d1, d1, d9
	fcvtzs	w8, d1
	add	w8, w8, #48
	add	x9, x24, x25
	strb	w8, [x9, #-1]!
	sub	x25, x25, #1
	cmp	x9, x19
	b.ls	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	d1, [sp, #8]
	fcmp	d1, #0.0
	b.ne	LBB0_5
LBB0_7:
	ldrsw	x9, [x22]
	add	x24, x24, x25
	neg	w8, w25
	b	LBB0_13
LBB0_8:
	fcmp	d8, #0.0
	b.le	LBB0_16
; %bb.9:
	mov	w8, #1
	fmov	d0, #10.00000000
	fmov	d1, #1.00000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	fmov	d2, d8
	fmul	d8, d8, d0
	sub	w8, w8, #1
	fcmp	d8, d1
	b.mi	LBB0_10
; %bb.11:
	str	d8, [sp]
	fmov	d8, d2
	b	LBB0_17
LBB0_12:
	mov	w8, #0
                                        ; implicit-def: $d0
LBB0_13:
	str	d0, [sp]
	add	x9, x19, x9
	cmp	x24, x9
	b.hs	LBB0_17
; %bb.14:
	mov	x9, x19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x24], #1
	strb	w10, [x9], #1
	ldrsw	x10, [x22]
	add	x10, x19, x10
	cmp	x24, x10
	b.lo	LBB0_15
	b	LBB0_18
LBB0_16:
	mov	w8, #0
LBB0_17:
	mov	x9, x19
LBB0_18:
	add	x10, x19, w23, sxtw
	cmp	w21, #0
	csel	w11, w8, wzr, eq
	add	x24, x10, w11, sxtw
	cmp	x24, x19
	b.hs	LBB0_20
; %bb.19:
	neg	w8, w23
	str	w8, [x20]
	mov	x8, x19
	b	LBB0_38
LBB0_20:
	str	w8, [x20]
	ldrsw	x10, [x22]
	add	x8, x19, x10
	cmp	x9, x24
	ccmp	x9, x8, #2, ls
	b.lo	LBB0_22
; %bb.21:
	mov	x9, x10
	b	LBB0_25
LBB0_22:
	add	x23, x9, #1
	fmov	d9, #10.00000000
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	fmul	d0, d8, d9
	mov	x0, sp
	bl	_modf
	fmov	d8, d0
	ldr	d0, [sp]
	fcvtzs	w8, d0
	add	w8, w8, #48
	sturb	w8, [x23, #-1]
	ldrsw	x9, [x22]
	add	x8, x19, x9
	cmp	x23, x24
	b.hi	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x10, x23, #1
	cmp	x23, x8
	mov	x23, x10
	b.lo	LBB0_23
LBB0_25:
	cmp	x24, x8
	b.hs	LBB0_36
; %bb.26:
	ldrb	w8, [x24]
	add	w8, w8, #5
	sxtb	w9, w8
	strb	w8, [x24]
	cmp	w9, #58
	b.lt	LBB0_37
; %bb.27:
	mov	w9, #48
	mov	w10, #49
	mov	x8, x24
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	ldrb	w11, [x24, #-1]!
	add	w11, w11, #1
	strb	w11, [x24]
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	sxtb	w11, w11
	cmp	w11, #57
	b.le	LBB0_38
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	strb	w9, [x24]
	cmp	x24, x19
	b.hi	LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	strb	w10, [x24]
	ldr	w11, [x20]
	add	w11, w11, #1
	str	w11, [x20]
	cbnz	w21, LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	cmp	x8, x19
	b.ls	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=1
	strb	w9, [x8]
LBB0_34:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x8, x8, #1
LBB0_35:                                ;   in Loop: Header=BB0_30 Depth=1
	ldrb	w11, [x24]
	b	LBB0_29
LBB0_36:
	sub	w8, w9, #1
	add	x8, x19, w8, sxtw
	b	LBB0_38
LBB0_37:
	mov	x8, x24
LBB0_38:
	strb	wzr, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NDIG,4,2                       ; @NDIG
	.no_dead_strip	_apr_cvt
.subsections_via_symbols
