	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_OpponentName_HandleKey
_UI_OpponentName_HandleKey:             ## @UI_OpponentName_HandleKey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_K_MOUSE1@GOTPCREL(%rip), %rcx
	movq	_K_MOUSE2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, (%rcx)
	je	LBB0_5
## %bb.1:
	cmpl	%edx, %eax
	je	LBB0_5
## %bb.2:
	movq	_K_ENTER@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_K_KP_ENTER@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	cmpl	%edx, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_UI_PriorOpponent
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_UI_NextOpponent
LBB0_8:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K_MOUSE1,4,2                   ## @K_MOUSE1
	.comm	_K_MOUSE2,4,2                   ## @K_MOUSE2
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ## @K_KP_ENTER
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.no_dead_strip	_UI_OpponentName_HandleKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_OpponentName_HandleKey
_UI_OpponentName_HandleKey:             ; @UI_OpponentName_HandleKey
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _K_MOUSE1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _K_MOUSE1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _K_MOUSE2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _K_MOUSE2@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _K_ENTER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _K_ENTER@GOTPAGEOFF]
Lloh8:
	adrp	x11, _K_KP_ENTER@GOTPAGE
Lloh9:
	ldr	x11, [x11, _K_KP_ENTER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w11, [x11]
	cmp	w10, w2
	ccmp	w8, w2, #4, ne
	ccmp	w9, w2, #4, ne
	ccmp	w11, w2, #4, ne
	b.ne	LBB0_3
; %bb.1:
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.2:
	bl	_UI_PriorOpponent
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _qfalse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	bl	_UI_NextOpponent
LBB0_5:
Lloh14:
	adrp	x8, _qtrue@GOTPAGE
Lloh15:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_K_MOUSE1,4,2                   ; @K_MOUSE1
	.comm	_K_MOUSE2,4,2                   ; @K_MOUSE2
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ; @K_KP_ENTER
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.no_dead_strip	_UI_OpponentName_HandleKey
.subsections_via_symbols
