	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncRepGetSyncStandbys         ## -- Begin function SyncRepGetSyncStandbys
	.p2align	4, 0x90
_SyncRepGetSyncStandbys:                ## @SyncRepGetSyncStandbys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_SyncRepLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockHeldByMe
	movl	%eax, %edi
	callq	_Assert
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	$0, (%rbx)
LBB0_2:
	movq	_SyncRepConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	movq	_SYNC_REP_PRIORITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SyncRepGetSyncStandbysPriority ## TAILCALL
LBB0_5:
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SyncRepGetSyncStandbysQuorum   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SyncRepLock,4,2                ## @SyncRepLock
	.comm	_SyncRepConfig,8,3              ## @SyncRepConfig
	.comm	_NIL,8,3                        ## @NIL
	.comm	_SYNC_REP_PRIORITY,8,3          ## @SYNC_REP_PRIORITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncRepGetSyncStandbys         ; -- Begin function SyncRepGetSyncStandbys
	.p2align	2
_SyncRepGetSyncStandbys:                ; @SyncRepGetSyncStandbys
	.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
Lloh0:
	adrp	x8, _SyncRepLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SyncRepLock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LWLockHeldByMe
	bl	_Assert
	cbz	x19, LBB0_2
; %bb.1:
	str	wzr, [x19]
LBB0_2:
Lloh3:
	adrp	x8, _SyncRepConfig@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SyncRepConfig@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _SYNC_REP_PRIORITY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYNC_REP_PRIORITY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SyncRepGetSyncStandbysPriority
LBB0_5:
Lloh9:
	adrp	x8, _NIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SyncRepGetSyncStandbysQuorum
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SyncRepLock,4,2                ; @SyncRepLock
	.comm	_SyncRepConfig,8,3              ; @SyncRepConfig
	.comm	_NIL,8,3                        ; @NIL
	.comm	_SYNC_REP_PRIORITY,8,3          ; @SYNC_REP_PRIORITY
.subsections_via_symbols
