	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_req_handler
_ipoib_cm_req_handler:                  ## @ipoib_cm_req_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movq	%r13, %rdi
	callq	_ipoib_priv
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_ipoib_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, 32(%rax)
	movq	%r12, 24(%rax)
	movq	%rax, (%r12)
	movq	_IPOIB_CM_RX_LIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %r15
	addq	$12, %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ipoib_cm_create_rx_qp
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_15
LBB0_4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_prandom_u32
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movl	8(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	callq	_ipoib_cm_modify_rx_qp
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_5
LBB0_13:
	movl	8(%rbx), %edi
	callq	_ib_destroy_qp
LBB0_14:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_15:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r13, %rdi
	callq	_ipoib_cm_has_srq
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movl	12(%r14), %edi
	leaq	8(%r14), %rsi
	movq	_IPOIB_CM_RX_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_queue_delayed_work
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	(%rbx), %rax
	movq	_IPOIB_CM_RX_LIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_list_move
LBB0_9:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movl	8(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_ipoib_cm_send_rep
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	movl	8(%rbx), %edi
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ipoib_cm_err_attr@GOTPCREL(%rip), %rsi
	callq	_ib_modify_qp
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	jmp	LBB0_15
LBB0_6:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ipoib_cm_nonsrq_init_rx
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_7
LBB0_10:
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"REQ arrived\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IPOIB_CM_RX_LIVE,8,3           ## @IPOIB_CM_RX_LIVE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IPOIB_CM_RX_DELAY,4,2          ## @IPOIB_CM_RX_DELAY
L_.str.1:                               ## @.str.1
	.asciz	"failed to send REP: %d\n"

	.comm	_ipoib_cm_err_attr,4,2          ## @ipoib_cm_err_attr
	.comm	_IB_QP_STATE,4,2                ## @IB_QP_STATE
L_.str.2:                               ## @.str.2
	.asciz	"unable to move qp to error state\n"

	.no_dead_strip	_ipoib_cm_req_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_req_handler
_ipoib_cm_req_handler:                  ; @ipoib_cm_req_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0]
	mov	x0, x23
	bl	_ipoib_priv
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ipoib_dbg
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x23, [x0, #32]
	str	x0, [x22]
Lloh5:
	adrp	x27, _IPOIB_CM_RX_LIVE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _IPOIB_CM_RX_LIVE@GOTPAGEOFF]
	ldr	x8, [x27]
	str	x8, [x0]
Lloh7:
	adrp	x28, _jiffies@GOTPAGE
Lloh8:
	ldr	x28, [x28, _jiffies@GOTPAGEOFF]
	ldr	x8, [x28]
	stp	x8, x22, [x0, #16]
	add	x24, x0, #12
	mov	x0, x24
	bl	_INIT_LIST_HEAD
	mov	x0, x23
	mov	x1, x20
	bl	_ipoib_cm_create_rx_qp
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x26, x0
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_7
LBB0_4:
	bl	_prandom_u32
	and	w25, w0, #0xffffff
	ldr	w2, [x20, #8]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x25
	bl	_ipoib_cm_modify_rx_qp
	mov	x26, x0
	cbz	w0, LBB0_8
LBB0_5:
	ldr	w0, [x20, #8]
	bl	_ib_destroy_qp
LBB0_6:
	mov	x0, x20
	bl	_kfree
LBB0_7:
	mov	x0, x26
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	mov	x0, x23
	bl	_ipoib_cm_has_srq
	cbz	w0, LBB0_15
LBB0_9:
	mov	x0, x19
	bl	_spin_lock_irq
	ldr	w0, [x19, #12]
	add	x1, x19, #8
Lloh12:
	adrp	x8, _IPOIB_CM_RX_DELAY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPOIB_CM_RX_DELAY@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_queue_delayed_work
	ldr	x8, [x28]
	str	x8, [x20, #16]
	ldr	x8, [x20]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	add	x1, x19, #4
	mov	x0, x24
	bl	_list_move
LBB0_11:
	mov	x0, x19
	bl	_spin_unlock_irq
	ldr	w2, [x20, #8]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	mov	x4, x25
	bl	_ipoib_cm_send_rep
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_14
; %bb.12:
	str	x0, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	ldr	w0, [x20, #8]
Lloh17:
	adrp	x8, _IB_QP_STATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_QP_STATE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x1, _ipoib_cm_err_attr@GOTPAGE
Lloh21:
	ldr	x1, [x1, _ipoib_cm_err_attr@GOTPAGEOFF]
	bl	_ib_modify_qp
	cbz	x0, LBB0_14
; %bb.13:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	mov	w26, #0
	b	LBB0_7
LBB0_14:
	mov	w26, #0
	b	LBB0_7
LBB0_15:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_ipoib_cm_nonsrq_init_rx
	mov	x26, x0
	cbnz	w0, LBB0_5
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"REQ arrived\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IPOIB_CM_RX_LIVE,8,3           ; @IPOIB_CM_RX_LIVE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IPOIB_CM_RX_DELAY,4,2          ; @IPOIB_CM_RX_DELAY
l_.str.1:                               ; @.str.1
	.asciz	"failed to send REP: %d\n"

	.comm	_ipoib_cm_err_attr,4,2          ; @ipoib_cm_err_attr
	.comm	_IB_QP_STATE,4,2                ; @IB_QP_STATE
l_.str.2:                               ; @.str.2
	.asciz	"unable to move qp to error state\n"

	.no_dead_strip	_ipoib_cm_req_handler
.subsections_via_symbols
