	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_encoding              ## -- Begin function ctf_type_encoding
	.p2align	4, 0x90
_ctf_type_encoding:                     ## @ctf_type_encoding
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	%rdi, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	xorl	%r15d, %r15d
	leaq	-36(%rbp), %rcx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ctf_get_ctt_size
	movq	-48(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_LCTF_INFO_KIND
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.4:
	movslq	-36(%rbp), %rax
	movl	(%rax,%rbx), %ebx
	movl	%ebx, %edi
	callq	_CTF_INT_ENCODING
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_CTF_INT_OFFSET
	movl	%eax, 4(%r14)
	movl	%ebx, %edi
	callq	_CTF_INT_BITS
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_1:
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_5:
	movslq	-36(%rbp), %rax
	movl	(%rax,%rbx), %ebx
	movl	%ebx, %edi
	callq	_CTF_FP_ENCODING
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_CTF_FP_OFFSET
	movl	%eax, 4(%r14)
	movl	%ebx, %edi
	callq	_CTF_FP_BITS
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_6:
	movq	_ECTF_NOTINTFP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ctf_set_errno
	movl	%eax, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_ECTF_NOTINTFP,4,2              ## @ECTF_NOTINTFP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_encoding              ; -- Begin function ctf_type_encoding
	.p2align	2
_ctf_type_encoding:                     ; @ctf_type_encoding
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x0, [sp, #8]
	add	x3, sp, #4
	mov	x1, x21
	mov	x2, #0
	bl	_ctf_get_ctt_size
	ldr	x0, [sp, #8]
	ldr	w1, [x21]
	bl	_LCTF_INFO_KIND
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_7
; %bb.3:
	ldrsw	x8, [sp, #4]
	ldr	w20, [x8, x21]
	mov	x0, x20
	bl	_CTF_INT_ENCODING
	str	w0, [x19, #8]
	mov	x0, x20
	bl	_CTF_INT_OFFSET
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_CTF_INT_BITS
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_5:
	ldrsw	x8, [sp, #4]
	ldr	w20, [x8, x21]
	mov	x0, x20
	bl	_CTF_FP_ENCODING
	str	w0, [x19, #8]
	mov	x0, x20
	bl	_CTF_FP_OFFSET
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_CTF_FP_BITS
LBB0_6:
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _ECTF_NOTINTFP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECTF_NOTINTFP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ctf_set_errno
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_ECTF_NOTINTFP,4,2              ; @ECTF_NOTINTFP
.subsections_via_symbols
