	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtip_process_legacy
_mtip_process_legacy:                   ## @mtip_process_legacy
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	16(%rbx), %r14
	movq	_MTIP_TAG_INTERNAL@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	_MTIP_PF_IC_ACTIVE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_readl
	movq	(%r12), %rsi
	btl	%esi, %eax
	jae	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	shlq	$4, %r15
	movq	8(%r14,%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%r14,%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTIP_TAG_INTERNAL,8,3          ## @MTIP_TAG_INTERNAL
	.comm	_MTIP_PF_IC_ACTIVE_BIT,4,2      ## @MTIP_PF_IC_ACTIVE_BIT
	.no_dead_strip	_mtip_process_legacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtip_process_legacy
_mtip_process_legacy:                   ; @mtip_process_legacy
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x22, _MTIP_TAG_INTERNAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MTIP_TAG_INTERNAL@GOTPAGEOFF]
	ldr	x20, [x19, #16]
	ldr	x21, [x22]
Lloh2:
	adrp	x8, _MTIP_PF_IC_ACTIVE_BIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MTIP_PF_IC_ACTIVE_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cmp	x0, #0
	ccmp	x20, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_readl
	ldr	x1, [x22]
	lsr	w8, w0, w1
	tbz	w8, #0, LBB0_3
LBB0_2:
	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
LBB0_3:
	add	x8, x20, x21, lsl #4
	ldr	x4, [x8, #8]
	cbz	x4, LBB0_2
; %bb.4:
	lsl	x8, x21, #4
	ldr	w2, [x20, x8]
	mov	x0, x19
	mov	w3, #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
	br	x4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MTIP_TAG_INTERNAL,8,3          ; @MTIP_TAG_INTERNAL
	.comm	_MTIP_PF_IC_ACTIVE_BIT,4,2      ; @MTIP_PF_IC_ACTIVE_BIT
	.no_dead_strip	_mtip_process_legacy
.subsections_via_symbols
