	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tavor_set_eq_ci
_tavor_set_eq_ci:                       ## @tavor_set_eq_ci
	.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	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_wmb
	movq	_MTHCA_EQ_DB_SET_CI@GOTPCREL(%rip), %rax
	movl	(%r12), %r13d
	movl	4(%r12), %ebx
	orl	(%rax), %r13d
	decl	%ebx
	andl	%r14d, %ebx
	movq	_MTHCA_EQ_DOORBELL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	8(%r15), %r14
	movq	%r15, %rdi
	callq	_MTHCA_GET_DOORBELL_LOCK
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mthca_write64                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTHCA_EQ_DB_SET_CI,4,2         ## @MTHCA_EQ_DB_SET_CI
	.comm	_MTHCA_EQ_DOORBELL,8,3          ## @MTHCA_EQ_DOORBELL
	.no_dead_strip	_tavor_set_eq_ci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tavor_set_eq_ci
_tavor_set_eq_ci:                       ; @tavor_set_eq_ci
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_wmb
Lloh0:
	adrp	x8, _MTHCA_EQ_DB_SET_CI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTHCA_EQ_DB_SET_CI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x20]
	orr	w20, w9, w8
	sub	w8, w10, #1
	and	w19, w8, w19
	ldr	x8, [x21, #8]
Lloh3:
	adrp	x9, _MTHCA_EQ_DOORBELL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MTHCA_EQ_DOORBELL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x22, x9, x8
	mov	x0, x21
	bl	_MTHCA_GET_DOORBELL_LOCK
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	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	_mthca_write64
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MTHCA_EQ_DB_SET_CI,4,2         ; @MTHCA_EQ_DB_SET_CI
	.comm	_MTHCA_EQ_DOORBELL,8,3          ; @MTHCA_EQ_DOORBELL
	.no_dead_strip	_tavor_set_eq_ci
.subsections_via_symbols
