	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_cmd_create_rss_qp
_mlx5_cmd_create_rss_qp:                ## @mlx5_cmd_create_rss_qp
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	$0, -60(%rbp)
	movl	$0, -40(%rbp)
	movl	(%rsi), %edx
	cmpl	$5, %edx
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_4
LBB0_2:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-60(%rbp), %r12
	movl	12(%rsi), %eax
	movl	%eax, -48(%rbp)
	movl	8(%rsi), %eax
	movl	%eax, -52(%rbp)
	movl	%edx, -64(%rbp)
	movl	4(%rsi), %esi
	xorl	%edi, %edi
	callq	_memcpy
	leaq	4(%r14), %rsi
	leaq	-40(%rbp), %rax
	movq	%r15, %rdi
	movl	$4, %edx
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	$4, %r9d
	pushq	$4
	pushq	$4
	pushq	%rax
	pushq	$20
	callq	_ibv_cmd_create_qp_ex2
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	$1, (%r14)
	xorl	%eax, %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_mlx5_cmd_create_rss_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_cmd_create_rss_qp
_mlx5_cmd_create_rss_qp:                ; @mlx5_cmd_create_rss_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	stur	xzr, [sp, #28]
	str	wzr, [sp, #16]
	ldr	w2, [x1]
	cmp	w2, #5
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	b	LBB0_4
LBB0_2:
	mov	x20, x1
	mov	x21, x0
	add	x8, sp, #24
	orr	x22, x8, #0x4
	ldr	d0, [x1, #8]
	stur	d0, [sp, #36]
	str	w2, [sp, #24]
	ldr	w1, [x1, #4]
	mov	w0, #0
	bl	_memcpy
	add	x1, x19, #4
	mov	x8, #17179869188
	str	x8, [sp]
	add	x7, sp, #16
	mov	x0, x21
	mov	w2, #4
	mov	x3, x20
	mov	x4, x22
	mov	w5, #4
	mov	w6, #20
	bl	_ibv_cmd_create_qp_ex2
	cbnz	w0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_mlx5_cmd_create_rss_qp
.subsections_via_symbols
