	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ValueForBSPEpairKey        ## -- Begin function AAS_ValueForBSPEpairKey
	.p2align	4, 0x90
_AAS_ValueForBSPEpairKey:               ## @AAS_ValueForBSPEpairKey
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r12d
	movb	$0, (%rdx)
	callq	_AAS_BSPEntityInRange
	movq	_qfalse@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_bspworld@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %esi
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	leaq	-1(%rbx), %rdx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movb	$0, -1(%r15,%rbx)
	movq	_qtrue@GOTPCREL(%rip), %r13
LBB0_5:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_bspworld,8,3                   ## @bspworld
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ValueForBSPEpairKey        ; -- Begin function AAS_ValueForBSPEpairKey
	.p2align	2
_AAS_ValueForBSPEpairKey:               ; @AAS_ValueForBSPEpairKey
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	strb	wzr, [x2]
	bl	_AAS_BSPEntityInRange
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _bspworld@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bspworld@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x23, [x8, w22, sxtw #3]
	cbz	x23, LBB0_5
; %bb.2:
Lloh3:
	adrp	x22, _qfalse@GOTPAGE
Lloh4:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #4]
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_3
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x22, _qfalse@GOTPAGE
Lloh6:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w1, [x23]
	sxtw	x8, w20
	sub	x20, x8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x19, x20]
Lloh7:
	adrp	x22, _qtrue@GOTPAGE
Lloh8:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_bspworld,8,3                   ; @bspworld
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
