	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_typed_floating         ## -- Begin function convert_typed_floating
	.p2align	4, 0x90
_convert_typed_floating:                ## @convert_typed_floating
	.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	%rcx, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_floatformat_from_type
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_floatformat_from_type
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_FLT@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_gdb_assert
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_gdb_assert
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	testq	%r13, %r13
	je	LBB0_4
## %bb.2:
	cmpq	%r13, %r14
	je	LBB0_5
## %bb.3:
	leaq	-60(%rbp), %rbx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_floatformat_to_doublest
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_floatformat_from_doublest
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warning
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_TYPE_LENGTH
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_min
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_FLT,8,3              ## @TYPE_CODE_FLT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't convert floating-point number to desired type."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_typed_floating         ; -- Begin function convert_typed_floating
	.p2align	2
_convert_typed_floating:                ; @convert_typed_floating
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_floatformat_from_type
	mov	x24, x0
	mov	x0, x21
	bl	_floatformat_from_type
	mov	x23, x0
	mov	x0, x22
	bl	_TYPE_CODE
Lloh0:
	adrp	x25, _TYPE_CODE_FLT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TYPE_CODE_FLT@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	cset	w0, eq
	bl	_gdb_assert
	mov	x0, x21
	bl	_TYPE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	cset	w0, eq
	bl	_gdb_assert
	cbz	x24, LBB0_4
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	cmp	x24, x23
	b.eq	LBB0_5
; %bb.3:
	add	x2, sp, #12
	mov	x0, x24
	mov	x1, x20
	bl	_floatformat_to_doublest
	add	x1, sp, #12
	mov	x0, x23
	mov	x2, x19
	bl	_floatformat_from_doublest
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	mov	x0, x21
	bl	_TYPE_LENGTH
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_memset
LBB0_5:
	mov	x0, x21
	bl	_TYPE_LENGTH
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	x0, x22
	bl	_TYPE_LENGTH
	mov	x22, x0
	mov	x0, x21
	bl	_TYPE_LENGTH
	mov	x1, x0
	mov	x0, x22
	bl	_min
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_memcpy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_FLT,8,3              ; @TYPE_CODE_FLT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't convert floating-point number to desired type."

.subsections_via_symbols
