	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_test_interrupt            ## -- Begin function mlx4_test_interrupt
	.p2align	4, 0x90
_mlx4_test_interrupt:                   ## @mlx4_test_interrupt
	.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
	movq	%rbx, %rdi
	callq	_mlx4_cmd_use_polling
	movq	%rbx, %rdi
	callq	_get_async_ev_mask
	movl	%eax, %r12d
	movq	(%r14), %r13
	movl	%r15d, %edi
	callq	_MLX4_CQ_TO_EQ_VECTOR
	movl	(%r13,%rax,4), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_mlx4_MAP_EQ
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mlx4_warn
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx4_cmd_use_events
	movq	%rbx, %rdi
	callq	_mlx4_NOP
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_mlx4_cmd_use_polling
LBB0_3:
	movq	%rbx, %rdi
	callq	_get_async_ev_mask
	movq	(%r14), %rcx
	movq	_MLX4_EQ_ASYNC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_mlx4_MAP_EQ
	movq	%rbx, %rdi
	callq	_mlx4_cmd_use_events
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed mapping eq for interrupt test\n"

	.comm	_MLX4_EQ_ASYNC,8,3              ## @MLX4_EQ_ASYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_test_interrupt            ; -- Begin function mlx4_test_interrupt
	.p2align	2
_mlx4_test_interrupt:                   ; @mlx4_test_interrupt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	bl	_mlx4_priv
	mov	x20, x0
	mov	x0, x19
	bl	_mlx4_cmd_use_polling
	mov	x0, x19
	bl	_get_async_ev_mask
	mov	x22, x0
	ldr	x23, [x20]
	mov	x0, x21
	bl	_MLX4_CQ_TO_EQ_VECTOR
	ldr	w3, [x23, x0, lsl #2]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_mlx4_MAP_EQ
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx4_warn
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_mlx4_cmd_use_events
	mov	x0, x19
	bl	_mlx4_NOP
	mov	x21, x0
	mov	x0, x19
	bl	_mlx4_cmd_use_polling
LBB0_3:
	mov	x0, x19
	bl	_get_async_ev_mask
	mov	x1, x0
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MLX4_EQ_ASYNC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLX4_EQ_ASYNC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w3, [x8, x9, lsl #2]
	mov	x0, x19
	mov	w2, #0
	bl	_mlx4_MAP_EQ
	mov	x0, x19
	bl	_mlx4_cmd_use_events
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed mapping eq for interrupt test\n"

	.comm	_MLX4_EQ_ASYNC,8,3              ; @MLX4_EQ_ASYNC
.subsections_via_symbols
