	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_RTS2RTS_QP_wrapper        ## -- Begin function mlx4_RTS2RTS_QP_wrapper
	.p2align	4, 0x90
_mlx4_RTS2RTS_QP_wrapper:               ## @mlx4_RTS2RTS_QP_wrapper
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	(%rcx), %r15
	addq	$32, %r15
	movq	%r15, %rdx
	callq	_adjust_qp_sched_queue
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_QP_TRANS_RTS2RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%r13d, %r8d
	callq	_verify_qp_parameters
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_update_pkey_index
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_update_gid
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_adjust_proxy_tun_qkey
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx4_GEN_QP_wrapper            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QP_TRANS_RTS2RTS,4,2           ## @QP_TRANS_RTS2RTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_RTS2RTS_QP_wrapper        ; -- Begin function mlx4_RTS2RTS_QP_wrapper
	.p2align	2
_mlx4_RTS2RTS_QP_wrapper:               ; @mlx4_RTS2RTS_QP_wrapper
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x3]
	add	x25, x8, #32
	mov	x2, x25
	bl	_adjust_qp_sched_queue
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _QP_TRANS_RTS2RTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QP_TRANS_RTS2RTS@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	mov	x4, x23
	bl	_verify_qp_parameters
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	bl	_update_pkey_index
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_update_gid
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	bl	_adjust_proxy_tun_qkey
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mlx4_GEN_QP_wrapper
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QP_TRANS_RTS2RTS,4,2           ; @QP_TRANS_RTS2RTS
.subsections_via_symbols
