	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_value_being_returned  ## -- Begin function register_value_being_returned
	.p2align	4, 0x90
_register_value_being_returned:         ## @register_value_being_returned
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_allocate_value
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_VOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_current_gdbarch@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_gdbarch_return_value_p
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_gdbarch_return_value
	movq	_RETURN_VALUE_REGISTER_CONVENTION@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_gdb_assert
	movl	(%r12), %r12d
	movq	%r15, %rdi
	callq	_VALUE_CONTENTS_RAW
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	callq	_gdbarch_return_value
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_CHECK_TYPEDEF
	movq	%r15, %rdi
	callq	_VALUE_CONTENTS_RAW
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_EXTRACT_RETURN_VALUE
LBB0_4:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_VOID,8,3             ## @TYPE_CODE_VOID
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_RETURN_VALUE_REGISTER_CONVENTION,4,2 ## @RETURN_VALUE_REGISTER_CONVENTION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_value_being_returned  ; -- Begin function register_value_being_returned
	.p2align	2
_register_value_being_returned:         ; @register_value_being_returned
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_allocate_value
	mov	x19, x0
	mov	x0, x21
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_VOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x22, _current_gdbarch@GOTPAGE
Lloh4:
	ldr	x22, [x22, _current_gdbarch@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_gdbarch_return_value_p
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_gdbarch_return_value
Lloh5:
	adrp	x8, _RETURN_VALUE_REGISTER_CONVENTION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RETURN_VALUE_REGISTER_CONVENTION@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_gdb_assert
	ldr	w22, [x22]
	mov	x0, x19
	bl	_VALUE_CONTENTS_RAW
	mov	x3, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, #0
	bl	_gdbarch_return_value
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_CHECK_TYPEDEF
	mov	x0, x19
	bl	_VALUE_CONTENTS_RAW
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_EXTRACT_RETURN_VALUE
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_VOID,8,3             ; @TYPE_CODE_VOID
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_RETURN_VALUE_REGISTER_CONVENTION,4,2 ; @RETURN_VALUE_REGISTER_CONVENTION
.subsections_via_symbols
