	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_align                 ## -- Begin function ctf_type_align
	.p2align	4, 0x90
_ctf_type_align:                        ## @ctf_type_align
	.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	%rdi, -48(%rbp)
	callq	_ctf_type_resolve
	movq	_CTF_ERR@GOTPCREL(%rip), %r15
	movl	$-1, %r12d
	cmpl	(%r15), %eax
	je	LBB0_24
## %bb.1:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_24
## %bb.2:
	movq	%rax, %r14
	movq	-48(%rbp), %rdi
	movl	(%rax), %esi
	callq	_LCTF_INFO_KIND
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_13
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	-48(%rbp), %rdi
	movl	(%r14), %esi
	callq	_LCTF_INFO_VLEN
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	movq	%r14, %rsi
	callq	_ctf_get_ctt_size
	movslq	-60(%rbp), %r13
	movq	-48(%rbp), %rdi
	movl	(%r14), %esi
	callq	_LCTF_INFO_KIND
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_MIN
	movl	%eax, %r15d
LBB0_6:
	movq	-48(%rbp), %rdi
	movl	8(%rdi), %eax
	movq	_CTF_VERSION_1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.7:
	movl	-56(%rbp), %eax
	movq	_CTF_LSTRUCT_THRESH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_19
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.9:
	movl	(%r14,%r13,4), %esi
	callq	_ctf_type_align
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MAX
	movq	%rax, %r12
	cmpl	$1, %r15d
	je	LBB0_24
## %bb.10:
	movl	%r15d, %r15d
	leaq	(%r14,%r13,4), %r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movl	(%r14,%rbx,4), %esi
	callq	_ctf_type_align
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_MAX
	movq	%rax, %r12
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_11
	jmp	LBB0_24
LBB0_12:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %r12d
	jmp	LBB0_24
LBB0_13:
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ctf_get_ctt_size
	jmp	LBB0_17
LBB0_14:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %r12d
	jmp	LBB0_24
LBB0_15:
	movq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	movl	%ebx, %esi
	callq	_ctf_array_info
	cmpl	(%r15), %eax
	je	LBB0_24
## %bb.16:
	movq	-48(%rbp), %rdi
	movl	-56(%rbp), %esi
	callq	_ctf_type_align
LBB0_17:
	movl	%eax, %r12d
	jmp	LBB0_24
LBB0_19:
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.20:
	movl	(%r14,%r13,4), %esi
	callq	_ctf_type_align
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MAX
	movq	%rax, %r12
	cmpl	$1, %r15d
	je	LBB0_24
## %bb.21:
	movl	%r15d, %r15d
	leaq	(%r14,%r13,4), %r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movl	(%r14,%rbx,4), %esi
	callq	_ctf_type_align
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_MAX
	movq	%rax, %r12
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_22
	jmp	LBB0_24
LBB0_23:
	xorl	%r12d, %r12d
LBB0_24:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_CTF_VERSION_1,4,2              ## @CTF_VERSION_1
	.comm	_CTF_LSTRUCT_THRESH,4,2         ## @CTF_LSTRUCT_THRESH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_align                 ; -- Begin function ctf_type_align
	.p2align	2
_ctf_type_align:                        ; @ctf_type_align
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	x0, [sp, #24]
	bl	_ctf_type_resolve
Lloh0:
	adrp	x21, _CTF_ERR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CTF_ERR@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.1:
	mov	x20, x0
	add	x0, sp, #24
	mov	x1, x20
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_16
; %bb.2:
	mov	x19, x0
	ldr	x0, [sp, #24]
	ldr	w1, [x19]
	bl	_LCTF_INFO_KIND
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x0, [sp, #24]
	ldr	w1, [x19]
	bl	_LCTF_INFO_VLEN
	mov	x21, x0
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x1, x19
	bl	_ctf_get_ctt_size
	ldrsw	x22, [sp, #12]
	ldr	x0, [sp, #24]
	ldr	w1, [x19]
	bl	_LCTF_INFO_KIND
	cmp	w0, #129
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	w1, #1
	bl	_MIN
	mov	x21, x0
LBB0_6:
	ldr	x0, [sp, #24]
	ldr	w8, [x0, #8]
Lloh4:
	adrp	x9, _CTF_VERSION_1@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CTF_VERSION_1@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [sp, #16]
Lloh7:
	adrp	x9, _CTF_LSTRUCT_THRESH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CTF_LSTRUCT_THRESH@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_18
LBB0_8:
	cbz	w21, LBB0_22
; %bb.9:
	ldr	w1, [x19, x22, lsl #2]
	bl	_ctf_type_align
	mov	x1, x0
	mov	x0, #0
	bl	_MAX
	mov	x20, x0
	subs	w21, w21, #1
	b.eq	LBB0_17
; %bb.10:
	add	x8, x19, x22, lsl #2
	add	x19, x8, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	ldr	w1, [x19], #4
	bl	_ctf_type_align
	mov	x1, x0
	mov	x0, x20
	bl	_MAX
	mov	x20, x0
	subs	w21, w21, #1
	b.ne	LBB0_11
	b	LBB0_17
LBB0_12:
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	w20, [x8]
	b	LBB0_17
LBB0_13:
	ldr	x0, [sp, #24]
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_ctf_get_ctt_size
	b	LBB0_24
LBB0_14:
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	w20, [x8, #4]
	b	LBB0_17
LBB0_15:
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	mov	x1, x20
	bl	_ctf_array_info
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_23
LBB0_16:
	mov	w20, #-1
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
	cbz	w21, LBB0_22
; %bb.19:
	ldr	w1, [x19, x22, lsl #2]
	bl	_ctf_type_align
	mov	x1, x0
	mov	x0, #0
	bl	_MAX
	mov	x20, x0
	subs	w21, w21, #1
	b.eq	LBB0_17
; %bb.20:
	add	x8, x19, x22, lsl #2
	add	x19, x8, #4
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	ldr	w1, [x19], #4
	bl	_ctf_type_align
	mov	x1, x0
	mov	x0, x20
	bl	_MAX
	mov	x20, x0
	subs	w21, w21, #1
	b.ne	LBB0_21
	b	LBB0_17
LBB0_22:
	mov	x20, #0
	b	LBB0_17
LBB0_23:
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #16]
	bl	_ctf_type_align
LBB0_24:
	mov	x20, x0
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_CTF_VERSION_1,4,2              ; @CTF_VERSION_1
	.comm	_CTF_LSTRUCT_THRESH,4,2         ; @CTF_LSTRUCT_THRESH
.subsections_via_symbols
