	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_ib_srq_event
_mlx4_ib_srq_event:                     ## @mlx4_ib_srq_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_to_mibsrq
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movl	16(%rax), %edx
	movl	%edx, -24(%rbp)
	movq	%rax, -32(%rbp)
	cmpl	$129, %r14d
	je	LBB0_6
## %bb.2:
	cmpl	$128, %r14d
	jne	LBB0_7
## %bb.3:
	movq	_IB_EVENT_SRQ_LIMIT_REACHED@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_6:
	movq	_IB_EVENT_SRQ_ERR@GOTPCREL(%rip), %rdx
LBB0_4:
	movl	(%rdx), %edx
	movl	%edx, -40(%rbp)
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	*%rcx
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_EVENT_SRQ_LIMIT_REACHED,4,2 ## @IB_EVENT_SRQ_LIMIT_REACHED
	.comm	_IB_EVENT_SRQ_ERR,4,2           ## @IB_EVENT_SRQ_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected event type %d on SRQ %06x\n"

	.no_dead_strip	_mlx4_ib_srq_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_ib_srq_event
_mlx4_ib_srq_event:                     ; @mlx4_ib_srq_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	bl	_to_mibsrq
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w9, [x0, #16]
	str	w9, [sp, #24]
	str	x0, [sp, #16]
	cmp	w19, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w19, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x9, _IB_EVENT_SRQ_LIMIT_REACHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_EVENT_SRQ_LIMIT_REACHED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x9, _IB_EVENT_SRQ_ERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_EVENT_SRQ_ERR@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	ldr	w1, [x0]
	add	x0, sp, #8
	blr	x8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	w2, [x20]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_pr_warn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_EVENT_SRQ_LIMIT_REACHED,4,2 ; @IB_EVENT_SRQ_LIMIT_REACHED
	.comm	_IB_EVENT_SRQ_ERR,4,2           ; @IB_EVENT_SRQ_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected event type %d on SRQ %06x\n"

	.no_dead_strip	_mlx4_ib_srq_event
.subsections_via_symbols
