	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxge_rth_configure
_vxge_rth_configure:                    ## @vxge_rth_configure
	.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
	subq	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	___bzero
	leaq	-2096(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	___bzero
	movl	16(%r14), %r8d
	cmpl	$31, %r8d
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	jmp	LBB0_8
LBB0_2:
	movl	$1, %eax
	movl	$1, %ebx
	movl	%r8d, %ecx
	shll	%cl, %ebx
	movl	(%r14), %esi
	cmpl	$2, %ebx
	cmovll	%eax, %ebx
	jge	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_4:
	movl	%ebx, %edi
	andl	$2147483646, %edi               ## imm = 0x7FFFFFFE
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -1072(%rbp,%rcx,4)
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, -2096(%rbp,%rcx,4)
	leal	1(%rcx), %eax
	movl	%eax, -1068(%rbp,%rcx,4)
	cltd
	idivl	%esi
	movl	%edx, -2092(%rbp,%rcx,4)
	addq	$2, %rcx
	cmpq	%rdi, %rcx
	jne	LBB0_5
LBB0_6:
	testb	$1, %bl
	je	LBB0_8
## %bb.7:
	movl	%ecx, -1072(%rbp,%rcx,4)
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, -2096(%rbp,%rcx,4)
LBB0_8:
	movl	48(%r14), %edi
	leaq	-2096(%rbp), %rdx
	leaq	-1072(%rbp), %rcx
	callq	_vxge_hw_vpath_rts_rth_itable_set
	movl	%eax, %r13d
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_13
## %bb.9:
	movl	44(%r14), %eax
	movl	%eax, -2108(%rbp)
	movl	40(%r14), %eax
	movl	%eax, -2112(%rbp)
	movups	24(%r14), %xmm0
	movaps	%xmm0, -2128(%rbp)
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.10:
	xorl	%ebx, %ebx
	leaq	-2128(%rbp), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	4(%rax,%rbx,8), %edi
	movl	20(%r14), %esi
	movl	16(%r14), %ecx
	movq	%r15, %rdx
	callq	_vxge_hw_vpath_rts_rth_set
	movl	%eax, %r13d
	cmpl	(%r12), %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
	jmp	LBB0_16
LBB0_13:
	movq	_VXGE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	movq	_VXGE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	(%rax,%rbx,8), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_15:
	callq	_vxge_debug_init
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r13d, %eax
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.comm	_VXGE_ERR,4,2                   ## @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTH indirection table configuration failed for vpath:%d"

L_.str.1:                               ## @.str.1
	.asciz	"RTH configuration failed for vpath:%d"

	.no_dead_strip	_vxge_rth_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function vxge_rth_configure
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_vxge_rth_configure:                    ; @vxge_rth_configure
	.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
	sub	sp, sp, #2080
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x0, sp, #1048
	mov	w1, #1024
	bl	_bzero
	add	x0, sp, #24
	mov	w1, #1024
	bl	_bzero
	ldr	w4, [x19, #16]
	cmp	w4, #31
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x19]
	b	LBB0_9
LBB0_2:
	mov	w8, #1
	lsl	w8, w8, w4
	ldr	w1, [x19]
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.3:
	mov	x9, #0
	b	LBB0_7
LBB0_4:
	and	x9, x8, #0x7ffffff8
	dup.2s	v0, w1
	add	x10, sp, #24
	add	x10, x10, #16
	add	x11, sp, #1048
	add	x11, x11, #16
Lloh3:
	adrp	x12, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x12, lCPI0_0@PAGEOFF]
	movi.2s	v2, #2
	movi.2s	v3, #4
	movi.2s	v4, #6
	mov.s	w12, v0[1]
	mov.s	w13, v0[1]
	mov.s	w14, v0[1]
	mov.s	w15, v0[1]
	movi.2s	v5, #8
	mov	x16, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add.2s	v6, v1, v2
	add.2s	v7, v1, v3
	add.2s	v16, v1, v4
	mov.s	w17, v1[1]
	sdiv	w0, w17, w12
	msub	w17, w0, w12, w17
	fmov	w0, s0
	fmov	w2, s1
	sdiv	w3, w2, w0
	msub	w0, w3, w0, w2
	fmov	s17, w0
	mov.s	v17[1], w17
	mov.s	w17, v6[1]
	stp	d1, d6, [x11, #-16]
	sdiv	w0, w17, w13
	msub	w17, w0, w13, w17
	fmov	w0, s0
	fmov	w2, s6
	sdiv	w3, w2, w0
	msub	w0, w3, w0, w2
	fmov	s6, w0
	mov.s	v6[1], w17
	mov.s	w17, v7[1]
	sdiv	w0, w17, w14
	msub	w17, w0, w14, w17
	fmov	w0, s0
	fmov	w2, s7
	sdiv	w3, w2, w0
	msub	w0, w3, w0, w2
	fmov	s18, w0
	mov.s	v18[1], w17
	mov.s	w17, v16[1]
	stp	d7, d16, [x11], #32
	sdiv	w0, w17, w15
	msub	w17, w0, w15, w17
	fmov	w0, s0
	fmov	w2, s16
	sdiv	w3, w2, w0
	msub	w0, w3, w0, w2
	fmov	s7, w0
	mov.s	v7[1], w17
	stp	d17, d6, [x10, #-16]
	stp	d18, d7, [x10], #32
	add.2s	v1, v1, v5
	subs	x16, x16, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	add	x10, sp, #1048
	add	x11, sp, #24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	str	w9, [x10, x12]
	sdiv	w13, w9, w1
	msub	w13, w13, w1, w9
	str	w13, [x11, x12]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x19, #48]
	add	x2, sp, #24
	add	x3, sp, #1048
	bl	_vxge_hw_vpath_rts_rth_itable_set
	mov	x20, x0
Lloh5:
	adrp	x21, _VXGE_HW_OK@GOTPAGE
Lloh6:
	ldr	x21, [x21, _VXGE_HW_OK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.10:
	ldr	d0, [x19, #40]
	str	d0, [sp, #16]
	ldur	q0, [x19, #24]
	str	q0, [sp]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.11:
	mov	x22, #0
	mov	x23, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	ldp	w3, w1, [x19, #16]
	mov	x2, sp
	bl	_vxge_hw_vpath_rts_rth_set
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #8
	cmp	x23, x8
	b.lt	LBB0_12
	b	LBB0_17
LBB0_14:
Lloh7:
	adrp	x8, _VXGE_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VXGE_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x8, _VXGE_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VXGE_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x22]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_16:
	bl	_vxge_debug_init
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	add	sp, sp, #2080
	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
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.comm	_VXGE_ERR,4,2                   ; @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTH indirection table configuration failed for vpath:%d"

l_.str.1:                               ; @.str.1
	.asciz	"RTH configuration failed for vpath:%d"

	.no_dead_strip	_vxge_rth_configure
.subsections_via_symbols
