	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_fp_to_double
_decode_fp_to_double:                   ## @decode_fp_to_double
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	movl	%r12d, %eax
	andl	$1, %eax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.3:
	cmpq	$17, %r12
	ja	LBB0_13
## %bb.4:
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpq	$2, %r12
	jb	LBB0_8
## %bb.5:
	leaq	(%r12,%r15), %r13
	decq	%r13
	shrq	%r12
	cmpq	$2, %r12
	movl	$1, %eax
	cmovaeq	%r12, %rax
	movq	%rax, %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13), %edi
	callq	_hex_to_dec
	movl	%eax, %r15d
	movsbl	-1(%r13), %edi
	callq	_hex_to_dec
	shll	$4, %eax
	addl	%r15d, %eax
	cmpl	$255, %eax
	ja	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	%al, -48(%rbp,%rbx)
	incq	%rbx
	addq	$-2, %r13
	cmpq	%rbx, %r12
	jne	LBB0_6
LBB0_8:
	movl	$64, %r13d
	movl	$64, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r14
	movl	$64, %ebx
	movq	$-1, %r12
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsd	-48(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_snprintf
	cmpl	%r13d, %eax
	jl	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_free
	movq	_FLOAT_SPRINTF_TRY_LIMIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	incq	%r12
	cmpq	%rax, %r12
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_BUFFER_GROWFACTOR@GOTPCREL(%rip), %rax
	imulq	(%rax), %rbx
	movl	%ebx, %edi
	callq	_malloc
	movq	%rax, %r14
	movl	%ebx, %r13d
	testq	%rax, %rax
	jne	LBB0_10
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%fld"

	.comm	_FLOAT_SPRINTF_TRY_LIMIT,4,2    ## @FLOAT_SPRINTF_TRY_LIMIT
	.comm	_BUFFER_GROWFACTOR,8,3          ## @BUFFER_GROWFACTOR
	.no_dead_strip	_decode_fp_to_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_fp_to_double
_decode_fp_to_double:                   ; @decode_fp_to_double
	.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	x21, #0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
	tbnz	w19, #0, LBB0_5
; %bb.3:
	cmp	x19, #17
	b.ls	LBB0_6
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	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
LBB0_6:
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cmp	x19, #2
	b.hs	LBB0_12
LBB0_7:
	mov	w0, #64
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.8:
	mov	w19, #64
	mov	x22, #-1
Lloh0:
	adrp	x23, _FLOAT_SPRINTF_TRY_LIMIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FLOAT_SPRINTF_TRY_LIMIT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _BUFFER_GROWFACTOR@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BUFFER_GROWFACTOR@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [sp, #8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_snprintf
	cmp	w0, w19
	b.lt	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_free
	ldrsw	x8, [x23]
	add	x22, x22, #1
	cmp	x22, x8
	b.hi	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x24]
	mul	x19, x8, x19
	mov	x0, x19
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_9
	b	LBB0_5
LBB0_12:
	lsr	x8, x19, #1
	cmp	x8, #1
	csinc	x22, x8, xzr, hi
	add	x23, x19, x20
	ldursb	w0, [x23, #-1]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-2]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.13:
	strb	w8, [sp, #8]
	cmp	x19, #4
	b.lo	LBB0_7
; %bb.14:
	add	x23, x19, x20
	ldursb	w0, [x23, #-3]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-4]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.15:
	strb	w8, [sp, #9]
	cmp	x22, #2
	b.eq	LBB0_7
; %bb.16:
	add	x23, x19, x20
	ldursb	w0, [x23, #-5]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-6]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.17:
	strb	w8, [sp, #10]
	cmp	x22, #3
	b.eq	LBB0_7
; %bb.18:
	add	x23, x19, x20
	ldursb	w0, [x23, #-7]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-8]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.19:
	strb	w8, [sp, #11]
	cmp	x22, #4
	b.eq	LBB0_7
; %bb.20:
	add	x23, x19, x20
	ldursb	w0, [x23, #-9]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-10]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.21:
	strb	w8, [sp, #12]
	cmp	x22, #5
	b.eq	LBB0_7
; %bb.22:
	add	x23, x19, x20
	ldursb	w0, [x23, #-11]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-12]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.23:
	strb	w8, [sp, #13]
	cmp	x22, #6
	b.eq	LBB0_7
; %bb.24:
	add	x23, x19, x20
	ldursb	w0, [x23, #-13]
	bl	_hex_to_dec
	mov	x21, x0
	ldursb	w0, [x23, #-14]
	bl	_hex_to_dec
	add	w8, w21, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.25:
	strb	w8, [sp, #14]
	cmp	x22, #7
	b.eq	LBB0_7
; %bb.26:
	add	x20, x19, x20
	ldursb	w0, [x20, #-15]
	bl	_hex_to_dec
	mov	x19, x0
	ldursb	w0, [x20, #-16]
	bl	_hex_to_dec
	add	w8, w19, w0, lsl #4
	cmp	w8, #255
	b.hi	LBB0_4
; %bb.27:
	strb	w8, [sp, #15]
	b	LBB0_7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%fld"

	.comm	_FLOAT_SPRINTF_TRY_LIMIT,4,2    ; @FLOAT_SPRINTF_TRY_LIMIT
	.comm	_BUFFER_GROWFACTOR,8,3          ; @BUFFER_GROWFACTOR
	.no_dead_strip	_decode_fp_to_double
.subsections_via_symbols
