	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_create_cq                 ## -- Begin function mlx5_create_cq
	.p2align	4, 0x90
_mlx5_create_cq:                        ## @mlx5_create_cq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, -32(%rbp)
	movl	%ecx, -28(%rbp)
	movq	_IBV_WC_STANDARD_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	%rdx, -16(%rbp)
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-32(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_create_cq
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_ibv_cq_ex_to_cq
	movq	%rax, %rbx
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_WC_STANDARD_FLAGS,4,2      ## @IBV_WC_STANDARD_FLAGS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_create_cq                 ; -- Begin function mlx5_create_cq
	.p2align	2
_mlx5_create_cq:                        ; @mlx5_create_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stp	w1, w3, [sp, #8]
Lloh0:
	adrp	x8, _IBV_WC_STANDARD_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_WC_STANDARD_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	x2, [sp, #24]
	cmp	w1, #0
	b.le	LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	w2, #0
	mov	x3, #0
	bl	_create_cq
	cbz	x0, LBB0_4
; %bb.2:
	bl	_ibv_cq_ex_to_cq
	b	LBB0_4
LBB0_3:
	mov	x0, #0
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_WC_STANDARD_FLAGS,4,2      ; @IBV_WC_STANDARD_FLAGS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
