	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_primitive_field      ## -- Begin function ada_value_primitive_field
	.p2align	4, 0x90
_ada_value_primitive_field:             ## @ada_value_primitive_field
	.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, %rbx
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	%rcx, %rdi
	callq	_CHECK_TYPEDEF
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_BITSIZE
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_BITSIZE
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_VALUE_CONTENTS
	leal	7(%r15), %ecx
	testl	%r15d, %r15d
	cmovnsl	%r15d, %ecx
	movl	%ecx, %edx
	sarl	$3, %edx
	addl	%r14d, %edx
	andl	$-8, %ecx
	subl	%ecx, %r15d
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ada_value_primitive_packed_val ## TAILCALL
LBB0_2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_value_primitive_field          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_primitive_field      ; -- Begin function ada_value_primitive_field
	.p2align	2
_ada_value_primitive_field:             ; @ada_value_primitive_field
	.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	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x3
	bl	_CHECK_TYPEDEF
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	mov	x21, x0
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_BITSIZE
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_BITPOS
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_BITSIZE
	mov	x22, x0
	mov	x0, x19
	bl	_VALUE_CONTENTS
	mov	x1, x0
	add	w8, w24, #7
	cmp	w24, #0
	csel	w8, w8, w24, lt
	add	w2, w20, w8, asr #3
	and	w8, w8, #0xfffffff8
	sub	w3, w24, w8
	mov	x0, x19
	mov	x4, x22
	mov	x5, x21
	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	_ada_value_primitive_packed_val
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	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	_value_primitive_field
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
