	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_cmd_event                 ## -- Begin function mlx4_cmd_event
	.p2align	4, 0x90
_mlx4_cmd_event:                        ## @mlx4_cmd_event
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	callq	_mlx4_priv
	movq	8(%rax), %r13
	movq	(%rax), %rax
	andq	%r12, %rax
	leaq	(%rax,%rax,2), %rbx
	cmpq	%r12, (%r13,%rbx,8)
	jne	LBB0_1
## %bb.2:
	movl	%r15d, 20(%r13,%rbx,8)
	movl	%r15d, %edi
	callq	_mlx4_status_to_errno
	movl	%eax, 16(%r13,%rbx,8)
	movl	%r14d, 12(%r13,%rbx,8)
	leaq	8(,%rbx,8), %rdi
	addq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_cmd_event                 ; -- Begin function mlx4_cmd_event
	.p2align	2
_mlx4_cmd_event:                        ; @mlx4_cmd_event
	.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, x3
	mov	x20, x2
	mov	x21, x1
	bl	_mlx4_priv
	ldp	x9, x8, [x0]
	and	x9, x9, x21
	mov	w10, #24
	mul	x10, x9, x10
	ldr	x10, [x8, x10]
	cmp	x10, x21
	b.ne	LBB0_2
; %bb.1:
	mov	w10, #24
	madd	x21, x9, x10, x8
	str	w20, [x21, #20]
	mov	x0, x20
	bl	_mlx4_status_to_errno
	stp	w19, w0, [x21, #12]
	add	x0, x21, #8
	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
	b	_complete
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
