	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srpt_qp_event
_srpt_qp_event:                         ## @srpt_qp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %esi
	movl	(%rbx), %r8d
	movl	16(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	(%r14), %esi
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_5
## %bb.2:
	cmpl	$0, 28(%rbx)
	je	LBB0_3
## %bb.6:
	movl	24(%rbx), %edi
	movl	$129, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_notify                    ## TAILCALL
LBB0_4:
	movl	16(%rbx), %r14d
	movq	8(%rbx), %rax
	movslq	(%rax), %r15
	movl	(%rbx), %edi
	callq	_get_ch_state_name
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_3:
	movl	20(%rbx), %edi
	movl	$129, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_cm_notify                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP event %d on ch=%p sess_name=%s state=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s-%d, state %s: received Last WQE event.\n"

L_.str.2:                               ## @.str.2
	.asciz	"received unrecognized IB QP event %d\n"

	.no_dead_strip	_srpt_qp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srpt_qp_event
_srpt_qp_event:                         ; @srpt_qp_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x0]
	ldr	w3, [x19, #16]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_pr_debug
	ldr	w1, [x20]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	w0, [x19, #24]
	mov	w1, #129
	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
	add	sp, sp, #64
	b	_rdma_notify
LBB0_4:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #8]
	ldrsw	x21, [x8]
	ldr	w0, [x19]
	bl	_get_ch_state_name
	mov	x3, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, 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
	add	sp, sp, #64
	b	_pr_debug
LBB0_5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	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
	add	sp, sp, #64
	b	_pr_err
LBB0_6:
	ldr	w0, [x19, #20]
	mov	w1, #129
	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
	add	sp, sp, #64
	b	_ib_cm_notify
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP event %d on ch=%p sess_name=%s state=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s-%d, state %s: received Last WQE event.\n"

l_.str.2:                               ; @.str.2
	.asciz	"received unrecognized IB QP event %d\n"

	.no_dead_strip	_srpt_qp_event
.subsections_via_symbols
