	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mask_append_final
_mask_append_final:                     ## @mask_append_final
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movl	(%rbx), %esi
	cmpl	4(%rbx), %esi
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	shll	$3, %esi
	movq	_INCR_MASKS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$3, %edx
	callq	_hcrealloc
	movq	%rax, 8(%rbx)
	movl	(%r15), %eax
	addl	%eax, (%rbx)
LBB0_2:
	movq	%r14, %rdi
	callq	_hcstrdup
	movq	8(%rbx), %rcx
	movslq	4(%rbx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	leal	1(%rdx), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INCR_MASKS,4,2                 ## @INCR_MASKS
	.no_dead_strip	_mask_append_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mask_append_final
_mask_append_final:                     ; @mask_append_final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	x20, [x0]
	ldp	w8, w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	lsl	w1, w8, #3
Lloh0:
	adrp	x21, _INCR_MASKS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INCR_MASKS@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w2, w8, #3
	bl	_hcrealloc
	str	x0, [x20, #8]
	ldr	w8, [x21]
	ldr	w9, [x20]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_2:
	mov	x0, x19
	bl	_hcstrdup
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	str	x0, [x8, x9, lsl #3]
	add	w8, w9, #1
	str	w8, [x20, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INCR_MASKS,4,2                 ; @INCR_MASKS
	.no_dead_strip	_mask_append_final
.subsections_via_symbols
