	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_qp_priv_init              ## -- Begin function hfi1_qp_priv_init
	.p2align	4, 0x90
_hfi1_qp_priv_init:                     ## @hfi1_qp_priv_init
	.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	%rdx, %r12
	movq	%rsi, %r15
	movq	16(%rsi), %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_qp_to_rcd
	movq	%rax, 8(%rbx)
	leaq	148(%rbx), %r14
	leaq	152(%rbx), %rdi
	callq	_spin_lock_init
	movq	_opfn_send_conn_request@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_WORK
	leaq	144(%rbx), %rdi
	movq	_tid_rdma_trigger_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	$0, 136(%rbx)
	movq	_RXE_NUM_TID_FLOWS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 128(%rbx)
	movq	%rax, 120(%rbx)
	movq	_KERN_GENERATION_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movq	_WRITE_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TID_OP
	movl	%eax, 104(%rbx)
	movq	_HFI1_QP_WQE_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 96(%rbx)
	movq	%rax, 88(%rbx)
	movq	%rax, 80(%rbx)
	movq	_TID_RNR_NAK_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rbx)
	movq	%rax, 64(%rbx)
	movq	%rax, 56(%rbx)
	movq	%rax, 48(%rbx)
	movq	%rax, 40(%rbx)
	leaq	32(%rbx), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	28(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	24(%rbx), %rdi
	movq	_hfi1_tid_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	20(%rbx), %rdi
	movq	_hfi1_tid_retry_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	16(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r12), %rax
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.1:
	movq	_TID_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HFI1_CAP_IS_KSET
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	_TID_RDMA_MAX_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %edx
	callq	_kzalloc_node
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_rvt_get_swqe_ptr
	movq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_kzalloc_node
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hfi1_init_trdma_req
	movq	%r12, 8(%r14)
	movq	%r14, (%r12)
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_5
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rvt_max_atomic
	testl	%eax, %eax
	jle	LBB0_14
## %bb.8:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_kzalloc_node
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hfi1_init_trdma_req
	movq	8(%r15), %rax
	addq	%r14, %rax
	movq	%rax, (%rbx)
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_hfi1_kern_exp_rcv_alloc_flows
	testl	%eax, %eax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r15), %rax
	movq	%rbx, (%rax,%r14)
	incq	%r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rvt_max_atomic
	cltq
	addq	$8, %r14
	xorl	%r13d, %r13d
	cmpq	%rax, %r12
	jl	LBB0_9
	jmp	LBB0_14
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_opfn_send_conn_request,4,2     ## @opfn_send_conn_request
	.comm	_tid_rdma_trigger_resume,4,2    ## @tid_rdma_trigger_resume
	.comm	_RXE_NUM_TID_FLOWS,8,3          ## @RXE_NUM_TID_FLOWS
	.comm	_KERN_GENERATION_RESERVED,4,2   ## @KERN_GENERATION_RESERVED
	.comm	_WRITE_RESP,4,2                 ## @WRITE_RESP
	.comm	_HFI1_QP_WQE_INVALID,8,3        ## @HFI1_QP_WQE_INVALID
	.comm	_TID_RNR_NAK_INIT,4,2           ## @TID_RNR_NAK_INIT
	.comm	_hfi1_tid_timeout,4,2           ## @hfi1_tid_timeout
	.comm	_hfi1_tid_retry_timeout,4,2     ## @hfi1_tid_retry_timeout
	.comm	_IB_QPT_RC,8,3                  ## @IB_QPT_RC
	.comm	_TID_RDMA,4,2                   ## @TID_RDMA
	.comm	_TID_RDMA_MAX_PAGES,4,2         ## @TID_RDMA_MAX_PAGES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_qp_priv_init              ; -- Begin function hfi1_qp_priv_init
	.p2align	2
_hfi1_qp_priv_init:                     ; @hfi1_qp_priv_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1, #16]
	bl	_qp_to_rcd
	str	x0, [x23, #8]
	add	x22, x23, #148
	add	x0, x23, #152
	bl	_spin_lock_init
Lloh0:
	adrp	x8, _opfn_send_conn_request@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opfn_send_conn_request@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_INIT_WORK
	add	x0, x23, #144
Lloh3:
	adrp	x8, _tid_rdma_trigger_resume@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tid_rdma_trigger_resume@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	xzr, [x23, #136]
Lloh6:
	adrp	x8, _RXE_NUM_TID_FLOWS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXE_NUM_TID_FLOWS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _KERN_GENERATION_RESERVED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KERN_GENERATION_RESERVED@GOTPAGEOFF]
	stp	x8, x8, [x23, #120]
Lloh11:
	ldr	w8, [x9]
	str	w8, [x23, #112]
Lloh12:
	adrp	x8, _WRITE_RESP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WRITE_RESP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_TID_OP
	str	w0, [x23, #104]
Lloh15:
	adrp	x8, _HFI1_QP_WQE_INVALID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HFI1_QP_WQE_INVALID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x8, [x23, #88]
	str	x8, [x23, #80]
Lloh18:
	adrp	x9, _TID_RNR_NAK_INIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TID_RNR_NAK_INIT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	w9, [x23, #72]
	stp	x8, x8, [x23, #56]
	stp	x8, x8, [x23, #40]
	add	x0, x23, #32
	mov	w1, #0
	bl	_atomic_set
	add	x0, x23, #28
	mov	w1, #0
	bl	_atomic_set
	add	x0, x23, #24
Lloh21:
	adrp	x8, _hfi1_tid_timeout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _hfi1_tid_timeout@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x23, #20
Lloh24:
	adrp	x8, _hfi1_tid_retry_timeout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _hfi1_tid_retry_timeout@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x23, #16
	bl	_INIT_LIST_HEAD
	mov	w22, #0
	ldr	x8, [x21]
Lloh27:
	adrp	x9, _IB_QPT_RC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IB_QPT_RC@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.1:
Lloh30:
	adrp	x8, _TID_RDMA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TID_RDMA@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_HFI1_CAP_IS_KSET
	cbz	x0, LBB0_12
; %bb.2:
	ldr	x8, [x23, #8]
Lloh33:
	adrp	x9, _TID_RDMA_MAX_PAGES@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TID_RDMA_MAX_PAGES@GOTPAGEOFF]
	ldr	x24, [x8]
Lloh35:
	ldr	w0, [x9]
Lloh36:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh37:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x24]
	bl	_kzalloc_node
	str	x0, [x23]
	cbz	x0, LBB0_13
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	w21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_rvt_get_swqe_ptr
	mov	x22, x0
	ldr	w1, [x25]
	ldr	w2, [x24]
	mov	w0, #16
	bl	_kzalloc_node
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	bl	_hfi1_init_trdma_req
	str	x22, [x23, #8]
	str	x23, [x22]
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_7:
	mov	x0, x20
	bl	_rvt_max_atomic
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x23, #0
	mov	x26, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	ldr	w2, [x24]
	mov	w0, #16
	bl	_kzalloc_node
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_hfi1_init_trdma_req
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	str	x8, [x21]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_hfi1_kern_exp_rcv_alloc_flows
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #8]
	str	x21, [x8, x23]
	add	x26, x26, #1
	mov	x0, x20
	bl	_rvt_max_atomic
	add	x23, x23, #8
	cmp	x26, w0, sxtw
	b.lt	LBB0_9
	b	LBB0_14
LBB0_12:
	mov	w22, #0
	b	LBB0_14
LBB0_13:
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x21
	bl	_kfree
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_opfn_send_conn_request,4,2     ; @opfn_send_conn_request
	.comm	_tid_rdma_trigger_resume,4,2    ; @tid_rdma_trigger_resume
	.comm	_RXE_NUM_TID_FLOWS,8,3          ; @RXE_NUM_TID_FLOWS
	.comm	_KERN_GENERATION_RESERVED,4,2   ; @KERN_GENERATION_RESERVED
	.comm	_WRITE_RESP,4,2                 ; @WRITE_RESP
	.comm	_HFI1_QP_WQE_INVALID,8,3        ; @HFI1_QP_WQE_INVALID
	.comm	_TID_RNR_NAK_INIT,4,2           ; @TID_RNR_NAK_INIT
	.comm	_hfi1_tid_timeout,4,2           ; @hfi1_tid_timeout
	.comm	_hfi1_tid_retry_timeout,4,2     ; @hfi1_tid_retry_timeout
	.comm	_IB_QPT_RC,8,3                  ; @IB_QPT_RC
	.comm	_TID_RDMA,4,2                   ; @TID_RDMA
	.comm	_TID_RDMA_MAX_PAGES,4,2         ; @TID_RDMA_MAX_PAGES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
