	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_cmd_create_cq
_mlx4_cmd_create_cq:                    ## @mlx4_cmd_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	$0, -48(%rbp)
	movdqu	8(%rdx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqa	%xmm0, -80(%rbp)
	movl	8(%rsi), %ebx
	movl	(%rsi), %r13d
	movl	4(%rsi), %r15d
	leaq	4(%rdx), %rdi
	callq	_ibv_cq_ex_to_cq
	leaq	-44(%rbp), %r10
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	leaq	-64(%rbp), %r9
	pushq	$8
	pushq	%r10
	pushq	$24
	callq	_ibv_cmd_create_cq
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-48(%rbp), %ecx
	movl	%ecx, (%r12)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlx4_cmd_create_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_cmd_create_cq
_mlx4_cmd_create_cq:                    ; @mlx4_cmd_create_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x2
	mov	x20, x0
	add	x8, sp, #16
	add	x21, x8, #16
	str	xzr, [sp, #32]
	str	xzr, [sp, #8]
	ldur	q0, [x2, #8]
	ext.16b	v0, v0, v0, #8
	str	q0, [sp, #16]
	ldp	w23, w22, [x1, #4]
	ldr	w24, [x1]
	add	x0, x2, #4
	bl	_ibv_cq_ex_to_cq
	mov	x4, x0
	add	x8, sp, #8
	orr	x7, x8, #0x4
	mov	w8, #8
	str	w8, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x5, x21
	mov	w6, #24
	bl	_ibv_cmd_create_cq
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlx4_cmd_create_cq
.subsections_via_symbols
