	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_cg_field_get
_dt_cg_field_get:                       ## @dt_cg_field_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	4(%r8), %esi
	leaq	-48(%rbp), %rdx
	movq	%rcx, %rdi
	callq	_ctf_type_encoding
	movl	-48(%rbp), %r8d
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$65, %r8d
	jl	LBB0_3
LBB0_2:
	movq	_D_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_xyerror
LBB0_3:
	movq	(%rbx), %rax
	movq	_DT_TOK_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_DT_TOK_DOT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	16(%rbx), %rax
	movl	(%rax), %r12d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_dt_regset_alloc
	movq	_DT_NF_SIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	andl	8(%rbx), %r15d
	movl	%eax, %r13d
	movl	-48(%rbp), %edi
	movq	_NBBY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_P2ROUNDUP
	cltd
	idivl	(%rbx)
	movl	%eax, %edi
	callq	_clp2
	movl	%eax, %ecx
	movl	(%rbx), %esi
	imull	%esi, %ecx
	movl	(%r14), %eax
	cltd
	idivl	%esi
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	subl	%ecx, %edx
	addl	$64, %edx
	movslq	%edx, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_dt_cg_setx
	movq	_DIF_OP_SLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_DIF_INSTR_FMT
	movq	_DT_LBL_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_dt_cg_node_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dt_irlist_append
	movslq	-48(%rbp), %rax
	movl	$64, %edx
	subq	%rax, %rdx
	movq	_DIF_OP_SRA@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_5:
	addl	-48(%rbp), %edx
	subl	%edx, %ecx
	movslq	%ecx, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_dt_cg_setx
	movq	_DIF_OP_SRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_DIF_INSTR_FMT
	movq	_DT_LBL_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_dt_cg_node_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dt_irlist_append
	movb	-48(%rbp), %cl
	movq	$-1, %rdx
	shlq	%cl, %rdx
	notq	%rdx
	movq	_DIF_OP_AND@GOTPCREL(%rip), %rbx
LBB0_6:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_dt_cg_setx
	movl	(%rbx), %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_DIF_INSTR_FMT
	movq	_DT_LBL_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_dt_cg_node_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dt_irlist_append
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_dt_regset_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_UNKNOWN,4,2                  ## @D_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cg: bad field: off %lu type <%ld> bits %u\n"

	.comm	_DT_TOK_PTR,8,3                 ## @DT_TOK_PTR
	.comm	_DT_TOK_DOT,8,3                 ## @DT_TOK_DOT
	.comm	_DT_NF_SIGNED,4,2               ## @DT_NF_SIGNED
	.comm	_NBBY,4,2                       ## @NBBY
	.comm	_DIF_OP_SLL,4,2                 ## @DIF_OP_SLL
	.comm	_DT_LBL_NONE,4,2                ## @DT_LBL_NONE
	.comm	_DIF_OP_SRA,4,2                 ## @DIF_OP_SRA
	.comm	_DIF_OP_SRL,4,2                 ## @DIF_OP_SRL
	.comm	_DIF_OP_AND,4,2                 ## @DIF_OP_AND
	.no_dead_strip	_dt_cg_field_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_cg_field_get
_dt_cg_field_get:                       ; @dt_cg_field_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x23, x4
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
	ldr	w1, [x4, #4]
	add	x2, sp, #8
	mov	x0, x3
	bl	_ctf_type_encoding
	ldr	w4, [sp, #8]
	cbnz	x0, LBB0_2
; %bb.1:
	cmp	w4, #65
	b.lt	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _D_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w2, w3, [x23]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_xyerror
LBB0_3:
	ldr	x8, [x24]
Lloh5:
	adrp	x9, _DT_TOK_PTR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DT_TOK_PTR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh8:
	adrp	x9, _DT_TOK_DOT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DT_TOK_DOT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x24, #16]
	ldr	w22, [x8]
	mov	x0, x19
	bl	_dt_regset_alloc
	mov	x21, x0
	ldr	w8, [x24, #8]
Lloh11:
	adrp	x9, _DT_NF_SIGNED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DT_NF_SIGNED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w24, w9, w8
	ldr	w0, [sp, #8]
Lloh14:
	adrp	x25, _NBBY@GOTPAGE
Lloh15:
	ldr	x25, [x25, _NBBY@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_P2ROUNDUP
	ldr	w8, [x25]
	sdiv	w0, w0, w8
	bl	_clp2
	ldr	w9, [x25]
	mul	w8, w9, w0
	ldr	w10, [x23]
	sdiv	w11, w10, w9
	msub	w9, w11, w9, w10
Lloh16:
	adrp	x23, _DT_LBL_NONE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _DT_LBL_NONE@GOTPAGEOFF]
	cbz	w24, LBB0_5
; %bb.4:
	sub	w8, w9, w8
	add	w8, w8, #64
	sxtw	x2, w8
	mov	x0, x20
	mov	x1, x21
	bl	_dt_cg_setx
Lloh18:
	adrp	x8, _DIF_OP_SLL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DIF_OP_SLL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x22
	bl	_DIF_INSTR_FMT
	mov	x1, x0
	ldr	w0, [x23]
	bl	_dt_cg_node_alloc
	mov	x1, x0
	mov	x0, x20
	bl	_dt_irlist_append
	ldrsw	x8, [sp, #8]
	mov	w9, #64
	sub	x2, x9, x8
Lloh21:
	adrp	x24, _DIF_OP_SRA@GOTPAGE
Lloh22:
	ldr	x24, [x24, _DIF_OP_SRA@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w10, [sp, #8]
	add	w9, w9, w10
	sub	w8, w8, w9
	sxtw	x2, w8
	mov	x0, x20
	mov	x1, x21
	bl	_dt_cg_setx
Lloh23:
	adrp	x8, _DIF_OP_SRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DIF_OP_SRL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x22
	bl	_DIF_INSTR_FMT
	mov	x1, x0
	ldr	w0, [x23]
	bl	_dt_cg_node_alloc
	mov	x1, x0
	mov	x0, x20
	bl	_dt_irlist_append
	ldr	w8, [sp, #8]
	mov	x9, #-1
	lsl	x8, x9, x8
	mvn	x2, x8
Lloh26:
	adrp	x24, _DIF_OP_AND@GOTPAGE
Lloh27:
	ldr	x24, [x24, _DIF_OP_AND@GOTPAGEOFF]
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_dt_cg_setx
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x22
	bl	_DIF_INSTR_FMT
	mov	x1, x0
	ldr	w0, [x23]
	bl	_dt_cg_node_alloc
	mov	x1, x0
	mov	x0, x20
	bl	_dt_irlist_append
	mov	x0, x19
	mov	x1, x21
	bl	_dt_regset_free
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_D_UNKNOWN,4,2                  ; @D_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cg: bad field: off %lu type <%ld> bits %u\n"

	.comm	_DT_TOK_PTR,8,3                 ; @DT_TOK_PTR
	.comm	_DT_TOK_DOT,8,3                 ; @DT_TOK_DOT
	.comm	_DT_NF_SIGNED,4,2               ; @DT_NF_SIGNED
	.comm	_NBBY,4,2                       ; @NBBY
	.comm	_DIF_OP_SLL,4,2                 ; @DIF_OP_SLL
	.comm	_DT_LBL_NONE,4,2                ; @DT_LBL_NONE
	.comm	_DIF_OP_SRA,4,2                 ; @DIF_OP_SRA
	.comm	_DIF_OP_SRL,4,2                 ; @DIF_OP_SRL
	.comm	_DIF_OP_AND,4,2                 ; @DIF_OP_AND
	.no_dead_strip	_dt_cg_field_get
.subsections_via_symbols
