	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_release_eq                ## -- Begin function mlx4_release_eq
	.p2align	4, 0x90
_mlx4_release_eq:                       ## @mlx4_release_eq
	.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	%esi, %r15d
	movq	%rdi, %rbx
	callq	_mlx4_priv
	movq	%rax, %r14
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	subl	%r15d, %edi
	shrl	$31, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	notl	%ebx
	addl	%r15d, %ebx
	movq	%r14, %r12
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	(%r14), %rax
	movl	$1, %r13d
	movl	%ebx, %ecx
	shlq	%cl, %r13
	btq	%rbx, %rax
	jae	LBB0_3
## %bb.2:
	movq	16(%r14), %rax
	movslq	%r15d, %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	(%rax,%rcx,4), %edi
	callq	_free_irq
	notq	%r13
	andq	%r13, (%r14)
LBB0_3:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_4:
	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_release_eq                ; -- Begin function mlx4_release_eq
	.p2align	2
_mlx4_release_eq:                       ; @mlx4_release_eq
	.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	x20, x1
	mov	x21, x0
	bl	_mlx4_priv
	mov	x19, x0
	ldr	w21, [x21]
	sub	w8, w21, w20
	lsr	w0, w8, #31
	bl	_likely
	cbz	x0, LBB0_4
; %bb.1:
	mvn	w8, w21
	add	w22, w8, w20
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [x19]
	mov	w9, #1
	lsl	x22, x9, x22
	tst	x8, x22
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	add	x1, x8, w20, sxtw #2
	ldr	w0, [x1]
	bl	_free_irq
	ldr	x8, [x19]
	bic	x8, x8, x22
	str	x8, [x19]
LBB0_3:
	mov	x0, x21
	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	_mutex_unlock
LBB0_4:
	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
