	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_fixed_variant_branch_type
_to_fixed_variant_branch_type:          ## @to_fixed_variant_branch_type
	.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
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rbx
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ada_find_parallel_type
	movq	%rax, %r14
	testq	%rax, %rax
	cmoveq	%rbx, %r14
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_VALUE_CONTENTS
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ada_which_variant_applies
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_is_dynamic_field
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	callq	_TYPE_TARGET_TYPE
	jmp	LBB0_5
LBB0_8:
	movq	%r14, %rdi
	callq	_TYPE_OBJFILE
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_empty_record                   ## TAILCALL
LBB0_6:
	callq	_contains_variant_part
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_5:
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	%r12, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_to_fixed_record_type           ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___XVU"

	.no_dead_strip	_to_fixed_variant_branch_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_fixed_variant_branch_type
_to_fixed_variant_branch_type:          ; @to_fixed_variant_branch_type
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_TYPE_TARGET_TYPE
	mov	x22, x0
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_ada_find_parallel_type
	cmp	x0, #0
	csel	x22, x22, x0, eq
	mov	x0, x19
	bl	_VALUE_TYPE
	mov	x23, x0
	mov	x0, x19
	bl	_VALUE_CONTENTS
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_ada_which_variant_applies
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_is_dynamic_field
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	cbz	x24, LBB0_6
; %bb.4:
	bl	_TYPE_TARGET_TYPE
	b	LBB0_7
LBB0_5:
	mov	x0, x22
	bl	_TYPE_OBJFILE
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_empty_record
LBB0_6:
	bl	_contains_variant_part
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	cbz	x24, LBB0_8
LBB0_7:
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_to_fixed_record_type
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___XVU"

	.no_dead_strip	_to_fixed_variant_branch_type
.subsections_via_symbols
