	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function replacement_quality
_replacement_quality:                   ## @replacement_quality
	.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
	movl	%edi, %ebx
	callq	_REG_P
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_REGNO
	movq	%rax, %rdi
	callq	_REG_LIVE_LENGTH
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	movq	_regno_src_regno@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%ebx, %edi
	callq	_REGNO
	movl	(%r14,%rax,4), %eax
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setl	%dl
	movl	$2, %r14d
	subl	%edx, %r14d
	jmp	LBB0_5
LBB0_3:
	movl	$3, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_regno_src_regno,8,3            ## @regno_src_regno
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ## @FIRST_PSEUDO_REGISTER
	.no_dead_strip	_replacement_quality
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function replacement_quality
_replacement_quality:                   ; @replacement_quality
	.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
	mov	x19, x0
	bl	_REG_P
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_REGNO
	bl	_REG_LIVE_LENGTH
	tbnz	x0, #63, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _regno_src_regno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regno_src_regno@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_REGNO
	ldr	w8, [x20, x0, lsl #2]
	tbnz	w8, #31, LBB0_5
; %bb.3:
Lloh3:
	adrp	x9, _FIRST_PSEUDO_REGISTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FIRST_PSEUDO_REGISTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #1
	cinc	w0, w8, ge
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #3
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_regno_src_regno,8,3            ; @regno_src_regno
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ; @FIRST_PSEUDO_REGISTER
	.no_dead_strip	_replacement_quality
.subsections_via_symbols
