	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_process_routed_req
_cm_process_routed_req:                 ## @cm_process_routed_req
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_cm_req_get_primary_subnet_local
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, (%rbx)
	jne	LBB0_3
## %bb.2:
	movl	8(%r14), %edi
	callq	_cpu_to_be16
	movq	%rax, (%rbx)
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_primary_sl
	movq	(%r15), %rax
LBB0_3:
	cmpq	%rax, 8(%rbx)
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	callq	_cpu_to_be16
	movq	%rax, 8(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_cm_req_get_alt_subnet_local
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, 16(%rbx)
	jne	LBB0_8
## %bb.7:
	movl	8(%r14), %edi
	callq	_cpu_to_be16
	movq	%rax, 16(%rbx)
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_alt_sl
	movq	(%r15), %rax
LBB0_8:
	cmpq	%rax, 24(%rbx)
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	callq	_cpu_to_be16
	movq	%rax, 24(%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.no_dead_strip	_cm_process_routed_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_process_routed_req
_cm_process_routed_req:                 ; @cm_process_routed_req
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_cm_req_get_primary_subnet_local
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x9, [x19]
Lloh0:
	adrp	x21, _IB_LID_PERMISSIVE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IB_LID_PERMISSIVE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_cpu_to_be16
	str	x0, [x19]
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_cm_req_set_primary_sl
	ldr	x8, [x21]
LBB0_3:
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x20]
	bl	_cpu_to_be16
	str	x0, [x19, #8]
LBB0_5:
	mov	x0, x19
	bl	_cm_req_get_alt_subnet_local
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x21, _IB_LID_PERMISSIVE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IB_LID_PERMISSIVE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x20, #8]
	bl	_cpu_to_be16
	str	x0, [x19, #16]
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_cm_req_set_alt_sl
	ldr	x8, [x21]
LBB0_8:
	ldr	x9, [x19, #24]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x20]
	bl	_cpu_to_be16
	str	x0, [x19, #24]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.no_dead_strip	_cm_process_routed_req
.subsections_via_symbols
