	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt_mpath_selectrte
_rt_mpath_selectrte:                    ## @rt_mpath_selectrte
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_rn_mpath_count
	movq	%rax, %rcx
	movq	_hashjitter@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%rcx, %rax
	orq	%r14, %rax
	shrq	$32, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rdi
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %edi
LBB0_3:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_abs
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_12
## %bb.5:
	movq	%rbx, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	subq	%rcx, %rax
	movq	(%rdx), %rcx
	movq	%rdx, %rbx
	cmpq	%rcx, %rax
	jge	LBB0_6
## %bb.9:
	movq	%rdx, %rbx
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hashjitter,8,3                 ## @hashjitter
	.no_dead_strip	_rt_mpath_selectrte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt_mpath_selectrte
_rt_mpath_selectrte:                    ; @rt_mpath_selectrte
	.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	x20, x1
	mov	x19, x0
	bl	_rn_mpath_count
Lloh0:
	adrp	x8, _hashjitter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hashjitter@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x20
	sdiv	x9, x8, x0
	msub	w0, w9, w0, w8
	bl	_abs
	cbz	x19, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	cmp	x0, x8
	b.lt	LBB0_8
; %bb.2:
	mov	x9, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x0, x8
	ldr	x8, [x9]
	cmp	x0, x8
	mov	x19, x9
	b.ge	LBB0_3
; %bb.6:
	mov	x19, x9
	b	LBB0_8
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hashjitter,8,3                 ; @hashjitter
	.no_dead_strip	_rt_mpath_selectrte
.subsections_via_symbols
