	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt_compute_slot
_mt_compute_slot:                       ## @mt_compute_slot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %edi
	movq	_MT_QUIRK_SLOT_IS_CONTACTID@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rdx), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_MT_QUIRK_CYPRESS@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_3
## %bb.8:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	popq	%rbp
	jmp	_cypress_compute_slot           ## TAILCALL
LBB0_3:
	movq	_MT_QUIRK_SLOT_IS_CONTACTNUMBER@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.4:
	movl	4(%rsi), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE@GOTPCREL(%rip), %rsi
	movq	(%rdx), %rax
	movl	(%rax), %eax
	testl	%edi, (%rsi)
	je	LBB0_9
## %bb.6:
	decl	%eax
	popq	%rbp
	retq
LBB0_9:
	movq	%rcx, %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_input_mt_get_slot_by_key       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_QUIRK_SLOT_IS_CONTACTID,4,2 ## @MT_QUIRK_SLOT_IS_CONTACTID
	.comm	_MT_QUIRK_CYPRESS,4,2           ## @MT_QUIRK_CYPRESS
	.comm	_MT_QUIRK_SLOT_IS_CONTACTNUMBER,4,2 ## @MT_QUIRK_SLOT_IS_CONTACTNUMBER
	.comm	_MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE,4,2 ## @MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE
	.no_dead_strip	_mt_compute_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt_compute_slot
_mt_compute_slot:                       ; @mt_compute_slot
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _MT_QUIRK_SLOT_IS_CONTACTID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MT_QUIRK_SLOT_IS_CONTACTID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x2]
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh3:
	adrp	x9, _MT_QUIRK_CYPRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT_QUIRK_CYPRESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x1
	mov	x1, x2
	b	_cypress_compute_slot
LBB0_4:
Lloh6:
	adrp	x9, _MT_QUIRK_SLOT_IS_CONTACTNUMBER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_QUIRK_SLOT_IS_CONTACTNUMBER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x1, #4]
	ret
LBB0_6:
Lloh9:
	adrp	x9, _MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	x10, [x2]
	ldr	w1, [x10]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	sub	w0, w1, #1
	ret
LBB0_8:
	mov	x0, x3
	b	_input_mt_get_slot_by_key
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_QUIRK_SLOT_IS_CONTACTID,4,2 ; @MT_QUIRK_SLOT_IS_CONTACTID
	.comm	_MT_QUIRK_CYPRESS,4,2           ; @MT_QUIRK_CYPRESS
	.comm	_MT_QUIRK_SLOT_IS_CONTACTNUMBER,4,2 ; @MT_QUIRK_SLOT_IS_CONTACTNUMBER
	.comm	_MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE,4,2 ; @MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE
	.no_dead_strip	_mt_compute_slot
.subsections_via_symbols
