	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_verbs_send_pio            ## -- Begin function hfi1_verbs_send_pio
	.p2align	4, 0x90
_hfi1_verbs_send_pio:                   ## @hfi1_verbs_send_pio
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	32(%rdi), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rax
	movq	16(%rsi), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r14d
	movl	4(%rax), %r13d
	movq	32(%rax), %r15
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	$0, 8(%rax)
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	leal	(,%r14,4), %edi
	movl	%r13d, %esi
	callq	_hfi1_get_16b_padding
                                        ## kill: def $eax killed $eax def $rax
	movq	_SIZE_OF_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,4), %edx
	movq	_SIZE_OF_LT@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movq	(%rbx), %rax
	leaq	20(%rax), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	jmp	LBB0_3
LBB0_2:
	leaq	16(%rax), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	$3, %esi
	xorl	%edx, %edx
LBB0_3:
	addl	%r13d, %esi
	movl	%esi, %ecx
	sarl	$2, %ecx
	movl	4(%r12), %edi
	andl	$-2, %edi
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	cmpl	$128, %edi
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	movl	%esi, -104(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.5:
	movq	_verbs_pio_complete@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
LBB0_6:
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	addl	%r14d, %ecx
	incl	%ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx), %r14d
	movq	24(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -108(%rbp)               ## 4-byte Spill
	je	LBB0_14
## %bb.7:
	movl	8(%r12), %edi
	callq	_dd_from_ibdev
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_sc_to_vlt
	movl	%eax, %r9d
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.8:
	movq	_PBC_PACKET_BYPASS@GOTPCREL(%rip), %rax
	movq	_PBC_INSERT_BYPASS_ICRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	jmp	LBB0_10
LBB0_9:
	movl	%r14d, %edi
	movl	%r9d, %ebx
	callq	_ib_is_sc5
	movl	%ebx, %r9d
	movl	%eax, %esi
	movq	_PBC_DC_INFO_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
LBB0_10:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	orl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	24(%r12), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r9d, %ecx
	callq	_create_pbc
	movl	%eax, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_hfi1_dbg_should_fault_tx
	movl	%eax, %edi
	callq	_unlikely
	movl	8(%rbx), %esi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_hfi1_fault_tx
	jmp	LBB0_13
LBB0_12:
	movl	%esi, %edi
	movl	%r14d, %esi
	callq	_update_hcrc
LBB0_13:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_14:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$128, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	addq	$4, %rdi
	callq	_iowait_pio_inc
LBB0_16:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_sc_buffer_alloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	cmpl	$128, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_verbs_pio_complete
LBB0_19:
	movq	%r12, %rdi
	callq	_IS_ERR
	movq	_PIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str(%rip), %rsi
	callq	_hfi1_cdbg
	movq	_IB_WC_GENERAL_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_22:
	cmpl	$3, -104(%rbp)                  ## 4-byte Folded Reload
	ja	LBB0_24
## %bb.23:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_pio_copy
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_21:
	leaq	L_.str.1(%rip), %rsi
	callq	_hfi1_cdbg
	movq	_RVT_S_WAIT_PIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_pio_wait
	testl	%eax, %eax
	jne	LBB0_39
	jmp	LBB0_38
LBB0_24:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	shll	$2, %ecx
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_seg_pio_copy_start
	testq	%r15, %r15
	je	LBB0_27
## %bb.25:
	testl	%r13d, %r13d
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r14
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_rvt_get_sge_length
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_rvt_update_sge
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_seg_pio_copy_mid
	subl	%ebx, %r13d
	jne	LBB0_26
LBB0_27:
	movl	-100(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_29
## %bb.28:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_seg_pio_copy_mid
LBB0_29:
	movq	%r12, %rdi
	callq	_seg_pio_copy_end
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_30:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_update_tx_opstats
	movl	8(%r12), %edi
	callq	_dd_from_ibdev
	movl	%eax, %r14d
	movq	(%r15), %rbx
	addq	$8, %rbx
	movl	-108(%rbp), %edi                ## 4-byte Reload
	callq	_ib_is_sc5
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_trace_pio_output_ibhdr
	movl	-112(%rbp), %ebx                ## 4-byte Reload
LBB0_31:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.32:
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_rvt_send_complete
	jmp	LBB0_37
LBB0_33:
	cmpl	$129, 4(%r12)
	jne	LBB0_37
## %bb.34:
	movq	_IB_WC_GENERAL_ERR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	(%r15), %rsi
	addq	$8, %rsi
	movq	%r12, %rdi
	callq	_hfi1_rc_verbs_aborted
LBB0_36:
	movq	(%r15), %rsi
	addq	$8, %rsi
	movq	%r12, %rdi
	callq	_hfi1_rc_send_complete
LBB0_37:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_unlock_irqrestore
LBB0_38:
	movq	(%r15), %rdi
	callq	_hfi1_put_txreq
	xorl	%eax, %eax
LBB0_39:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_SIZE_OF_CRC,4,2                ## @SIZE_OF_CRC
	.comm	_SIZE_OF_LT,4,2                 ## @SIZE_OF_LT
	.comm	_PBC_PACKET_BYPASS,4,2          ## @PBC_PACKET_BYPASS
	.comm	_PBC_INSERT_BYPASS_ICRC,4,2     ## @PBC_INSERT_BYPASS_ICRC
	.comm	_PBC_DC_INFO_SHIFT,4,2          ## @PBC_DC_INFO_SHIFT
	.comm	_PIO,4,2                        ## @PIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alloc failed. state not active, completing"

	.comm	_IB_WC_GENERAL_ERR,4,2          ## @IB_WC_GENERAL_ERR
L_.str.1:                               ## @.str.1
	.asciz	"alloc failed. state active, queuing"

	.comm	_RVT_S_WAIT_PIO,4,2             ## @RVT_S_WAIT_PIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_verbs_send_pio            ; -- Begin function hfi1_verbs_send_pio
	.p2align	2
_hfi1_verbs_send_pio:                   ; @hfi1_verbs_send_pio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x28, [x0, #32]
	ldr	x8, [x1]
	ldr	x23, [x8, #32]
	ldp	w22, w24, [x8]
	ldr	x9, [x1, #16]
	str	x9, [sp, #48]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x9, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x9]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	lsl	w0, w22, #2
	mov	x1, x24
	bl	_hfi1_get_16b_padding
Lloh3:
	adrp	x8, _SIZE_OF_CRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE_OF_CRC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SIZE_OF_LT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SIZE_OF_LT@GOTPAGEOFF]
	add	w8, w0, w8, lsl #2
Lloh8:
	ldr	w9, [x9]
	add	w9, w8, w9
	ldr	x8, [x19]
	add	x10, x8, #20
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
	add	x9, x8, #16
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	mov	w9, #3
LBB0_3:
	add	w9, w9, w24
	str	w22, [sp, #28]                  ; 4-byte Folded Spill
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	add	w9, w22, w9, asr #2
	add	w27, w9, #1
	ldr	w9, [x20, #4]
	and	w22, w9, #0xfffffffe
Lloh9:
	adrp	x9, _verbs_pio_complete@GOTPAGE
Lloh10:
	ldr	x9, [x9, _verbs_pio_complete@GOTPAGEOFF]
	cmp	w22, #128
	csel	x25, x9, xzr, eq
	str	x28, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w28, [x28]
	ldr	x8, [x8, #24]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	cmp	w21, #0
	cset	w0, eq
	bl	_likely
	str	w28, [sp, #32]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_11
; %bb.4:
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w0, [x20, #8]
	bl	_dd_from_ibdev
	mov	x1, x28
	bl	_sc_to_vlt
	mov	x26, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _PBC_PACKET_BYPASS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PBC_PACKET_BYPASS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _PBC_INSERT_BYPASS_ICRC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PBC_INSERT_BYPASS_ICRC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x28
	bl	_ib_is_sc5
Lloh17:
	adrp	x8, _PBC_DC_INFO_SHIFT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PBC_DC_INFO_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	lsl	w8, w0, w8
LBB0_7:
	orr	w1, w8, w21
	ldr	w2, [x20, #24]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x26
	mov	x4, x27
	bl	_create_pbc
	mov	x21, x0
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_hfi1_dbg_should_fault_tx
	bl	_unlikely
	ldr	w1, [x19, #8]
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x2, x21
	bl	_hfi1_fault_tx
	b	LBB0_10
LBB0_9:
	mov	x0, x1
	mov	x1, x21
	bl	_update_hcrc
LBB0_10:
	mov	x21, x0
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
LBB0_11:
	cmp	w22, #128
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x8, #4
	bl	_iowait_pio_inc
LBB0_13:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x25
	mov	x3, x20
	bl	_sc_buffer_alloc
	mov	x25, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_18
; %bb.14:
	cmp	w22, #128
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x20
	mov	w1, #0
	bl	_verbs_pio_complete
LBB0_16:
	mov	x0, x25
	bl	_IS_ERR
	mov	x8, x0
Lloh20:
	adrp	x9, _PIO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PIO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x9]
	cbz	x8, LBB0_20
; %bb.17:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_hfi1_cdbg
Lloh25:
	adrp	x8, _IB_WC_GENERAL_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IB_WC_GENERAL_ERR@GOTPAGEOFF]
Lloh27:
	ldr	w26, [x8]
	b	LBB0_28
LBB0_18:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.19:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x0, [x8]
	mov	x1, x25
	mov	x2, x21
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	bl	_pio_copy
	ldr	w23, [sp, #32]                  ; 4-byte Folded Reload
	b	LBB0_27
LBB0_20:
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_hfi1_cdbg
Lloh30:
	adrp	x8, _RVT_S_WAIT_PIO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RVT_S_WAIT_PIO@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x20
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x19
	bl	_pio_wait
	cbnz	w0, LBB0_36
	b	LBB0_35
LBB0_21:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	lsl	w3, w8, #2
	mov	x0, x25
	mov	x1, x21
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	bl	_seg_pio_copy_start
	cbz	x23, LBB0_24
; %bb.22:
	cbz	w24, LBB0_24
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x23]
	mov	x0, x23
	mov	x1, x24
	bl	_rvt_get_sge_length
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_rvt_update_sge
	mov	x0, x25
	mov	x1, x21
	mov	x2, x22
	bl	_seg_pio_copy_mid
	subs	w24, w24, w22
	b.ne	LBB0_23
LBB0_24:
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	ldr	w23, [sp, #32]                  ; 4-byte Folded Reload
	cbz	w2, LBB0_26
; %bb.25:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x1, [x8]
	mov	x0, x25
	bl	_seg_pio_copy_mid
LBB0_26:
	mov	x0, x25
	bl	_seg_pio_copy_end
LBB0_27:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x27
	bl	_update_tx_opstats
	ldr	w0, [x20, #8]
	bl	_dd_from_ibdev
	mov	x21, x0
	ldr	x8, [x19]
	add	x22, x8, #8
	mov	x0, x23
	bl	_ib_is_sc5
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_trace_pio_output_ibhdr
LBB0_28:
	mov	x0, x20
	mov	x1, #0
	bl	_spin_lock_irqsave
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_30
; %bb.29:
	mov	x0, x20
	mov	x2, x26
	bl	_rvt_send_complete
	b	LBB0_34
LBB0_30:
	ldr	w8, [x20, #4]
	cmp	w8, #129
	b.ne	LBB0_34
; %bb.31:
Lloh33:
	adrp	x8, _IB_WC_GENERAL_ERR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_WC_GENERAL_ERR@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w26, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_33
; %bb.32:
	ldr	x8, [x19]
	add	x1, x8, #8
	mov	x0, x20
	bl	_hfi1_rc_verbs_aborted
LBB0_33:
	ldr	x8, [x19]
	add	x1, x8, #8
	mov	x0, x20
	bl	_hfi1_rc_send_complete
LBB0_34:
	mov	x0, x20
	mov	x1, #0
	bl	_spin_unlock_irqrestore
LBB0_35:
	ldr	x0, [x19]
	bl	_hfi1_put_txreq
	mov	w0, #0
LBB0_36:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_SIZE_OF_CRC,4,2                ; @SIZE_OF_CRC
	.comm	_SIZE_OF_LT,4,2                 ; @SIZE_OF_LT
	.comm	_PBC_PACKET_BYPASS,4,2          ; @PBC_PACKET_BYPASS
	.comm	_PBC_INSERT_BYPASS_ICRC,4,2     ; @PBC_INSERT_BYPASS_ICRC
	.comm	_PBC_DC_INFO_SHIFT,4,2          ; @PBC_DC_INFO_SHIFT
	.comm	_PIO,4,2                        ; @PIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alloc failed. state not active, completing"

	.comm	_IB_WC_GENERAL_ERR,4,2          ; @IB_WC_GENERAL_ERR
l_.str.1:                               ; @.str.1
	.asciz	"alloc failed. state active, queuing"

	.comm	_RVT_S_WAIT_PIO,4,2             ; @RVT_S_WAIT_PIO
.subsections_via_symbols
