	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_union_offset
_update_union_offset:                   ## @update_union_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_make_dict
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_vec_len
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_squash_unnamed_struct
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movq	%rbx, %rdi
	callq	_vec_len
	cmpl	%eax, %r14d
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_vec_get
	movq	(%rax), %r12
	movq	8(%rax), %r15
	movl	36(%r15), %esi
	movl	%r13d, %edi
	callq	_MAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	movl	32(%r15), %esi
	callq	_MAX
	movl	%eax, (%r13)
	testq	%r12, %r12
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	_KIND_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 24(%r15)
	cmpq	$0, 8(%r15)
	js	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 16(%r15)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_dict_put
	jmp	LBB0_9
LBB0_10:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_compute_padding
	addl	%r13d, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KIND_STRUCT,8,3                ## @KIND_STRUCT
	.no_dead_strip	_update_union_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_union_offset
_update_union_offset:                   ; @update_union_offset
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_make_dict
	mov	x20, x0
	mov	x0, x22
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w23, #0
	mov	w24, #0
Lloh0:
	adrp	x27, _KIND_STRUCT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _KIND_STRUCT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	w2, #0
	bl	_squash_unnamed_struct
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	mov	x0, x22
	bl	_vec_len
	cmp	w24, w0
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_vec_get
	ldp	x26, x25, [x0]
	ldr	w1, [x25, #36]
	mov	x0, x23
	bl	_MAX
	mov	x23, x0
	ldr	w0, [x21]
	ldr	w1, [x25, #32]
	bl	_MAX
	str	w0, [x21]
	cbnz	x26, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x25, #24]
	ldr	x8, [x25, #8]
	tbnz	x8, #63, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x25, #16]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x26, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x26
	mov	x2, x25
	bl	_dict_put
	b	LBB0_3
LBB0_10:
	mov	w23, #0
LBB0_11:
	ldr	w1, [x21]
	mov	x0, x23
	bl	_compute_padding
	add	w8, w0, w23
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KIND_STRUCT,8,3                ; @KIND_STRUCT
	.no_dead_strip	_update_union_offset
.subsections_via_symbols
