	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5dv_get_cq
_mlx5dv_get_cq:                         ## @mlx5dv_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_to_mcq
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_to_mctx
	movq	$0, 32(%rbx)
	movl	32(%r15), %ecx
	movl	%ecx, 24(%rbx)
	movq	24(%r15), %rcx
	incq	%rcx
	movq	%rcx, 16(%rbx)
	movl	16(%r15), %ecx
	movl	%ecx, 12(%rbx)
	movq	8(%r15), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	4(%r15), %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_MLX5_CQ_FLAGS_DV_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_CQ_FLAGS_DV_OWNED,4,2     ## @MLX5_CQ_FLAGS_DV_OWNED
	.no_dead_strip	_mlx5dv_get_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5dv_get_cq
_mlx5dv_get_cq:                         ; @mlx5dv_get_cq
	.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	x19, x1
	mov	x20, x0
	bl	_to_mcq
	mov	x21, x0
	ldr	w0, [x20]
	bl	_to_mctx
	str	xzr, [x19, #32]
	ldr	w8, [x21, #32]
	str	w8, [x19, #24]
	ldr	x8, [x21, #24]
	add	x8, x8, #1
	str	x8, [x19, #16]
	ldr	w8, [x21, #16]
	ldr	x9, [x21, #8]
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	ldr	w8, [x0]
	ldp	w10, w9, [x21]
	stp	w8, w9, [x19]
Lloh0:
	adrp	x8, _MLX5_CQ_FLAGS_DV_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_CQ_FLAGS_DV_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x21]
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_CQ_FLAGS_DV_OWNED,4,2     ; @MLX5_CQ_FLAGS_DV_OWNED
	.no_dead_strip	_mlx5dv_get_cq
.subsections_via_symbols
