	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SYSKEY_SelectNextPrevLink
_SYSKEY_SelectNextPrevLink:             ## @SYSKEY_SelectNextPrevLink
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rsi
	callq	_SYSLINK_GetFocusLink
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	callq	_SYSLINK_GetPrevLink
	jmp	LBB0_5
LBB0_4:
	callq	_SYSLINK_GetNextLink
LBB0_5:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SYSLINK_SetFocusLink
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	cmpq	%r14, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_SYSLINK_RepaintLink
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SYSLINK_RepaintLink
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_SYSKEY_SelectNextPrevLink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SYSKEY_SelectNextPrevLink
_SYSKEY_SelectNextPrevLink:             ; @SYSKEY_SelectNextPrevLink
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #12
	bl	_SYSLINK_GetFocusLink
	cbz	x0, LBB0_9
; %bb.2:
	mov	x1, x0
	mov	x0, x19
	cbz	x20, LBB0_8
; %bb.3:
	bl	_SYSLINK_GetPrevLink
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_SYSLINK_SetFocusLink
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, x0
	cmp	x0, x20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_SYSLINK_RepaintLink
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_SYSLINK_RepaintLink
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	bl	_SYSLINK_GetNextLink
	mov	x20, x0
	cbnz	x0, LBB0_4
LBB0_9:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_SYSKEY_SelectNextPrevLink
.subsections_via_symbols
