	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_extract_return_value      ## -- Begin function ia64_extract_return_value
	.p2align	4, 0x90
_ia64_extract_return_value:             ## @ia64_extract_return_value
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_is_float_or_hfa_type
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_IA64_FR8_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_TYPE_LENGTH
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	movl	%eax, %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	testl	%eax, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	incl	%r14d
	xorl	%r15d, %r15d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_regcache_cooked_read
	movq	_builtin_type_ia64_ext@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%r15d, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rdx
	movq	%r13, %rdi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_convert_typed_floating
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	addl	%eax, %r15d
	incl	%ebx
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_3
LBB0_4:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_5:
	movq	_IA64_GR8_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ia64_register_type
	movq	%rax, %rdi
	callq	_TYPE_LENGTH
	movq	%r14, %r13
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	cltd
	idivl	%r14d
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	cltd
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	idivl	%r14d
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.7:
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	shlq	$32, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	incl	%r12d
	xorl	%r15d, %r15d
	leaq	-96(%rbp), %r14
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_regcache_cooked_read_unsigned
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	incl	%ebx
	addq	-88(%rbp), %r13                 ## 8-byte Folded Reload
	decl	%r12d
	cmpl	$1, %r12d
	ja	LBB0_8
## %bb.9:
	sarq	$32, %r15
	jmp	LBB0_10
LBB0_6:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_10:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.11:
	leaq	-96(%rbp), %r14
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_regcache_cooked_read_unsigned
	addq	%r15, %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_REGISTER_SIZE,4,2          ## @MAX_REGISTER_SIZE
	.comm	_IA64_FR8_REGNUM,4,2            ## @IA64_FR8_REGNUM
	.comm	_builtin_type_ia64_ext,4,2      ## @builtin_type_ia64_ext
	.comm	_IA64_GR8_REGNUM,4,2            ## @IA64_GR8_REGNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_extract_return_value      ; -- Begin function ia64_extract_return_value
	.p2align	2
_ia64_extract_return_value:             ; @ia64_extract_return_value
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_is_float_or_hfa_type
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x25, sp
Lloh3:
	adrp	x8, _MAX_REGISTER_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_REGISTER_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _IA64_FR8_REGNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IA64_FR8_REGNUM@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	mov	x0, x24
	bl	_TYPE_LENGTH
	mov	x24, x0
	mov	x0, x21
	bl	_TYPE_LENGTH
	sdiv	w8, w24, w0
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w24, #0
	add	w26, w8, #1
Lloh11:
	adrp	x27, _builtin_type_ia64_ext@GOTPAGE
Lloh12:
	ldr	x27, [x27, _builtin_type_ia64_ext@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_regcache_cooked_read
	ldr	w1, [x27]
	add	x2, x19, w24, sxtw
	mov	x0, x22
	mov	x3, x21
	bl	_convert_typed_floating
	mov	x0, x21
	bl	_TYPE_LENGTH
	add	w24, w0, w24
	add	w23, w23, #1
	sub	w26, w26, #1
	cmp	w26, #1
	b.hi	LBB0_3
LBB0_4:
	mov	sp, x25
	b	LBB0_10
LBB0_5:
Lloh13:
	adrp	x8, _IA64_GR8_REGNUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IA64_GR8_REGNUM@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
	mov	x1, x21
	bl	_ia64_register_type
	bl	_TYPE_LENGTH
	mov	x23, x0
	mov	x0, x24
	bl	_TYPE_LENGTH
	sdiv	w28, w0, w23
	mov	x0, x24
	bl	_TYPE_LENGTH
	sdiv	w8, w0, w23
	msub	w22, w8, w23, w0
	cmp	w28, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x25, #0
	sxtw	x26, w23
	sbfiz	x27, x23, #32, #32
	add	w28, w28, #1
	mov	x24, x19
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x2, x29, #92
	mov	x0, x20
	mov	x1, x21
	bl	_regcache_cooked_read_unsigned
	sub	x1, x29, #92
	mov	x0, x24
	mov	x2, x23
	bl	_memcpy
	add	w21, w21, #1
	add	x24, x24, x26
	add	x25, x25, x27
	sub	w28, w28, #1
	cmp	w28, #1
	b.hi	LBB0_7
; %bb.8:
	asr	x23, x25, #32
	cbz	w22, LBB0_10
LBB0_9:
	sub	x2, x29, #92
	mov	x0, x20
	mov	x1, x21
	bl	_regcache_cooked_read_unsigned
	add	x0, x19, x23
	sub	x1, x29, #92
	mov	x2, x22
	bl	_memcpy
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x23, #0
	cbnz	w22, LBB0_9
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_REGISTER_SIZE,4,2          ; @MAX_REGISTER_SIZE
	.comm	_IA64_FR8_REGNUM,4,2            ; @IA64_FR8_REGNUM
	.comm	_builtin_type_ia64_ext,4,2      ; @builtin_type_ia64_ext
	.comm	_IA64_GR8_REGNUM,4,2            ; @IA64_GR8_REGNUM
.subsections_via_symbols
