	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_using_struct_return            ## -- Begin function using_struct_return
	.p2align	4, 0x90
_using_struct_return:                   ## @using_struct_return
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_TYPE_CODE
	movl	%eax, %ebx
	movq	_TYPE_CODE_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	movq	_TYPE_CODE_VOID@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpl	(%rax), %ebx
	je	LBB0_10
## %bb.3:
	movq	_current_gdbarch@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_gdbarch_return_value_p
	testl	%eax, %eax
	je	LBB0_4
## %bb.9:
	movl	(%r13), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_gdbarch_return_value
	movq	_RETURN_VALUE_STRUCT_CONVENTION@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	sete	%r12b
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.5:
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.6:
	movq	_TYPE_CODE_ARRAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_RETURN_VALUE_ON_STACK
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movl	%r14d, %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_USE_STRUCT_CONVENTION          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_ERROR,4,2            ## @TYPE_CODE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Function return type unknown."

	.comm	_TYPE_CODE_VOID,4,2             ## @TYPE_CODE_VOID
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_TYPE_CODE_STRUCT,4,2           ## @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,4,2            ## @TYPE_CODE_UNION
	.comm	_TYPE_CODE_ARRAY,4,2            ## @TYPE_CODE_ARRAY
	.comm	_RETURN_VALUE_STRUCT_CONVENTION,8,3 ## @RETURN_VALUE_STRUCT_CONVENTION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_using_struct_return            ; -- Begin function using_struct_return
	.p2align	2
_using_struct_return:                   ; @using_struct_return
	.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	x19, x0
	bl	_TYPE_CODE
	mov	x21, x0
Lloh0:
	adrp	x8, _TYPE_CODE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh5:
	adrp	x8, _TYPE_CODE_VOID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x22, _current_gdbarch@GOTPAGE
Lloh9:
	ldr	x22, [x22, _current_gdbarch@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_gdbarch_return_value_p
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x22]
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_gdbarch_return_value
Lloh10:
	adrp	x8, _RETURN_VALUE_STRUCT_CONVENTION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RETURN_VALUE_STRUCT_CONVENTION@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
LBB0_6:
	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
LBB0_7:
Lloh13:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _TYPE_CODE_UNION@GOTPAGE
Lloh17:
	ldr	x9, [x9, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _TYPE_CODE_ARRAY@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TYPE_CODE_ARRAY@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	ccmp	w21, w10, #4, ne
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_RETURN_VALUE_ON_STACK
	cbz	x0, LBB0_6
LBB0_9:
	mov	x0, x20
	mov	x1, 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
	b	_USE_STRUCT_CONVENTION
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_ERROR,4,2            ; @TYPE_CODE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Function return type unknown."

	.comm	_TYPE_CODE_VOID,4,2             ; @TYPE_CODE_VOID
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_TYPE_CODE_STRUCT,4,2           ; @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,4,2            ; @TYPE_CODE_UNION
	.comm	_TYPE_CODE_ARRAY,4,2            ; @TYPE_CODE_ARRAY
	.comm	_RETURN_VALUE_STRUCT_CONVENTION,8,3 ; @RETURN_VALUE_STRUCT_CONVENTION
.subsections_via_symbols
