	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeComboCIDState         ## -- Begin function SerializeComboCIDState
	.p2align	4, 0x90
_SerializeComboCIDState:                ## @SerializeComboCIDState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_usedComboCids@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, (%rsi)
	movslq	(%r14), %rdx
	leaq	(%rsi,%rdx,4), %rax
	addq	$4, %rax
	cmpq	%rsi, %rax
	jb	LBB0_2
## %bb.1:
	movslq	%edi, %rcx
	addq	%rbx, %rcx
	cmpq	%rcx, %rax
	ja	LBB0_2
## %bb.3:
	testl	%edx, %edx
	jle	LBB0_4
LBB0_5:
	addq	$4, %rbx
	movq	_comboCids@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movl	(%r14), %edx
	testl	%edx, %edx
	jg	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_usedComboCids,4,2              ## @usedComboCids
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not enough space to serialize ComboCID state"

	.comm	_comboCids,4,2                  ## @comboCids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SerializeComboCIDState         ; -- Begin function SerializeComboCIDState
	.p2align	2
_SerializeComboCIDState:                ; @SerializeComboCIDState
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _usedComboCids@GOTPAGE
Lloh1:
	ldr	x20, [x20, _usedComboCids@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	x19, x1
	str	w8, [x19], #4
	ldrsw	x8, [x20]
	add	x9, x19, x8, lsl #2
	add	x10, x1, w0, sxtw
	cmp	x9, x1
	ccmp	x9, x10, #2, hs
	b.ls	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	w8, [x20]
LBB0_2:
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
Lloh7:
	adrp	x9, _comboCids@GOTPAGE
Lloh8:
	ldr	x9, [x9, _comboCids@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	lsl	w2, w8, #2
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_usedComboCids,4,2              ; @usedComboCids
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not enough space to serialize ComboCID state"

	.comm	_comboCids,4,2                  ; @comboCids
.subsections_via_symbols
