	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_struct_offset
_update_struct_offset:                  ## @update_struct_offset
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_make_dict
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_vec_len
	testl	%eax, %eax
	jg	LBB0_1
LBB0_15:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_finish_bitfield
	movl	-44(%rbp), %ebx
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_compute_padding
	addl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_finish_bitfield
	movl	-44(%rbp), %edi
	movl	(%r14), %esi
	callq	_compute_padding
	addl	%eax, -44(%rbp)
	movl	$0, -48(%rbp)
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movq	%r13, %rdi
	callq	_vec_len
	cmpl	%eax, %ebx
	jge	LBB0_15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_vec_get
	movq	(%rax), %r15
	movq	8(%rax), %r14
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	(%r14), %esi
	callq	_MAX
	movl	%eax, (%r12)
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rax
	movq	_KIND_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_finish_bitfield
	movl	-44(%rbp), %edi
	movl	(%r14), %esi
	callq	_compute_padding
	addl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_squash_unnamed_struct
	movl	16(%r14), %eax
	addl	%eax, -44(%rbp)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	16(%r14), %rdi
	shlq	$3, %rdi
	movl	-44(%rbp), %ecx
	movl	-48(%rbp), %r8d
	leal	(%r8,%rcx,8), %eax
	cltd
	idivl	%edi
	movslq	%edx, %rax
	subq	%rax, %rdi
	movl	%r8d, %eax
	cmpq	%rdi, %rsi
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_finish_bitfield
	movl	-44(%rbp), %edi
	movl	(%r14), %esi
	callq	_compute_padding
	movl	%eax, %ecx
	addl	-44(%rbp), %ecx
	movl	%ecx, -44(%rbp)
	movq	24(%r14), %rsi
	xorl	%eax, %eax
	movl	-48(%rbp), %r8d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, 32(%r14)
	movl	%eax, 36(%r14)
	addl	%r8d, %esi
	movl	%esi, -48(%rbp)
	testq	%r15, %r15
	jne	LBB0_13
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_finish_bitfield
	movl	-44(%rbp), %edi
	movl	(%r14), %esi
	callq	_compute_padding
	addl	-44(%rbp), %eax
	movl	%eax, 32(%r14)
	addl	16(%r14), %eax
	movl	%eax, -44(%rbp)
	testq	%r15, %r15
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_dict_put
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_KIND_STRUCT,8,3                ## @KIND_STRUCT
	.no_dead_strip	_update_struct_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_struct_offset
_update_struct_offset:                  ; @update_struct_offset
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_make_dict
	mov	x20, x0
	mov	x0, x22
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.1:
	mov	w23, #0
Lloh0:
	adrp	x26, _KIND_STRUCT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _KIND_STRUCT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_finish_bitfield
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
	bl	_compute_padding
	ldr	w8, [sp, #12]
	add	w8, w8, w0
	stp	wzr, w8, [sp, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	mov	x0, x22
	bl	_vec_len
	cmp	w23, w0
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_vec_get
	ldp	x25, x24, [x0]
	cbz	x25, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x24]
	bl	_MAX
	str	w0, [x21]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_finish_bitfield
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
	bl	_compute_padding
	ldr	w8, [sp, #12]
	add	w2, w8, w0
	str	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x24
	bl	_squash_unnamed_struct
	ldr	w8, [x24, #16]
	ldr	w9, [sp, #12]
	add	w8, w9, w8
	str	w8, [sp, #12]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x9, [x24, #16]
	lsl	x11, x9, #3
	ldp	w10, w9, [sp, #8]
	add	w12, w10, w9, lsl #3
	sdiv	w13, w12, w11
	msub	w12, w13, w11, w12
	sub	x11, x11, w12, sxtw
	cmp	x8, x11
	b.le	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_finish_bitfield
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
	bl	_compute_padding
	mov	w11, #0
	ldp	w10, w8, [sp, #8]
	add	w9, w8, w0
	str	w9, [sp, #12]
	ldr	x8, [x24, #24]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_finish_bitfield
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
	bl	_compute_padding
	ldr	w8, [sp, #12]
	ldr	w9, [x24, #16]
	add	w8, w8, w0
	add	w9, w9, w8
	str	w8, [x24, #32]
	str	w9, [sp, #12]
	cbnz	x25, LBB0_15
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x10
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	w9, w11, [x24, #32]
	add	w8, w10, w8
	str	w8, [sp, #8]
	cbz	x25, LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	bl	_dict_put
	b	LBB0_3
LBB0_16:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_finish_bitfield
	ldr	w22, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x22
	bl	_compute_padding
	add	w8, w0, w22
	str	w8, [x19]
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KIND_STRUCT,8,3                ; @KIND_STRUCT
	.no_dead_strip	_update_struct_offset
.subsections_via_symbols
