	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetComboCommandId
_GetComboCommandId:                     ## @GetComboCommandId
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_comboHash@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_TopTransactionContext@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_CCID_ARRAY_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	shll	$4, %esi
	callq	_MemoryContextAlloc
	movq	_comboCids@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	movq	_sizeComboCids@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_usedComboCids@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movabsq	$17179869200, %rax              ## imm = 0x400000010
	movq	%rax, -64(%rbp)
	movl	(%r13), %eax
	movl	%eax, -56(%rbp)
	movq	_CCID_HASH_SIZE@GOTPCREL(%rip), %rax
	movq	_HASH_ELEM@GOTPCREL(%rip), %rdx
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %esi
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	callq	_hash_create
	movq	%rax, %rdi
	movq	_comboHash@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
LBB0_2:
	movq	_usedComboCids@GOTPCREL(%rip), %rbx
	movq	_sizeComboCids@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	cmpl	%esi, (%rbx)
	jl	LBB0_4
## %bb.3:
	movq	%r12, %r15
	leal	(%rsi,%rsi), %r12d
	movq	_comboCids@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shll	$5, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	movq	%rax, (%rbx)
	movl	%r12d, (%r13)
	movq	%r15, %r12
	movq	_usedComboCids@GOTPCREL(%rip), %rbx
	movq	_comboHash@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_4:
	movq	%r12, -64(%rbp)
	movq	%r14, -56(%rbp)
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	callq	_hash_search
	cmpl	$0, -44(%rbp)
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rcx
	jmp	LBB0_7
LBB0_6:
	movslq	(%rbx), %rcx
	movq	_comboCids@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movq	%r12, (%rdx,%rsi)
	movq	%r14, 8(%rdx,%rsi)
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movq	%rcx, (%rax)
LBB0_7:
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_comboHash,8,3                  ## @comboHash
	.comm	_TopTransactionContext,4,2      ## @TopTransactionContext
	.comm	_CCID_ARRAY_SIZE,4,2            ## @CCID_ARRAY_SIZE
	.comm	_comboCids,8,3                  ## @comboCids
	.comm	_sizeComboCids,4,2              ## @sizeComboCids
	.comm	_usedComboCids,4,2              ## @usedComboCids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Combo CIDs"

	.comm	_CCID_HASH_SIZE,4,2             ## @CCID_HASH_SIZE
	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.no_dead_strip	_GetComboCommandId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function GetComboCommandId
lCPI0_0:
	.long	16                              ; 0x10
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_GetComboCommandId:                     ; @GetComboCommandId
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _comboHash@GOTPAGE
Lloh1:
	ldr	x22, [x22, _comboHash@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x23, _sizeComboCids@GOTPAGE
Lloh3:
	ldr	x23, [x23, _sizeComboCids@GOTPAGEOFF]
Lloh4:
	adrp	x21, _usedComboCids@GOTPAGE
Lloh5:
	ldr	x21, [x21, _usedComboCids@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x24, _TopTransactionContext@GOTPAGE
Lloh7:
	ldr	x24, [x24, _TopTransactionContext@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh8:
	adrp	x25, _CCID_ARRAY_SIZE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _CCID_ARRAY_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	w1, w8, #4
	bl	_MemoryContextAlloc
Lloh10:
	adrp	x8, _comboCids@GOTPAGE
Lloh11:
	ldr	x8, [x8, _comboCids@GOTPAGEOFF]
Lloh12:
	str	x0, [x8]
	ldr	w8, [x25]
	str	w8, [x23]
	str	wzr, [x21]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	ldr	w8, [x24]
	str	w8, [sp, #24]
Lloh15:
	adrp	x8, _CCID_HASH_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CCID_HASH_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #16
	bl	_hash_create
	str	x0, [x22]
LBB0_2:
	ldr	w9, [x21]
	ldr	w8, [x23]
	cmp	w9, w8
	b.lt	LBB0_4
; %bb.3:
	lsl	w24, w8, #1
Lloh29:
	adrp	x25, _comboCids@GOTPAGE
Lloh30:
	ldr	x25, [x25, _comboCids@GOTPAGEOFF]
	ldr	x0, [x25]
	lsl	w1, w8, #5
	bl	_repalloc
	str	x0, [x25]
	str	w24, [x23]
	ldr	x0, [x22]
LBB0_4:
	stp	x20, x19, [sp, #16]
Lloh31:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	add	x1, sp, #16
	add	x3, sp, #12
	bl	_hash_search
	mov	x8, x0
	ldr	w9, [sp, #12]
	cbz	w9, LBB0_6
; %bb.5:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_6:
	ldrsw	x0, [x21]
Lloh34:
	adrp	x9, _comboCids@GOTPAGE
Lloh35:
	ldr	x9, [x9, _comboCids@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	add	x9, x9, x0, lsl #4
	stp	x20, x19, [x9]
	add	w9, w0, #1
	str	w9, [x21]
	str	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_comboHash,8,3                  ; @comboHash
	.comm	_TopTransactionContext,4,2      ; @TopTransactionContext
	.comm	_CCID_ARRAY_SIZE,4,2            ; @CCID_ARRAY_SIZE
	.comm	_comboCids,8,3                  ; @comboCids
	.comm	_sizeComboCids,4,2              ; @sizeComboCids
	.comm	_usedComboCids,4,2              ; @usedComboCids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Combo CIDs"

	.comm	_CCID_HASH_SIZE,4,2             ; @CCID_HASH_SIZE
	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.no_dead_strip	_GetComboCommandId
.subsections_via_symbols
