	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_make_ud_req                ## -- Begin function qib_make_ud_req
	.p2align	4, 0x90
_qib_make_ud_req:                       ## @qib_make_ud_req
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	44(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_ib_qib_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_QIB_PROCESS_NEXT_SEND_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.6:
	movslq	24(%rbx), %rsi
	cmpq	%rsi, 16(%rbx)
	je	LBB0_37
## %bb.7:
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_swqe_ptr
	movq	%rax, %r12
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %eax
	incl	%eax
	xorl	%ecx, %ecx
	cmpl	28(%rbx), %eax
	movl	68(%rbx), %edi
	cmovll	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	140(%rbx), %esi
	callq	_to_iport
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	movq	%rax, %r13
	movl	32(%r12), %edi
	callq	_to_iah
	movq	%rax, %rsi
	movl	(%rax), %eax
	movq	_QIB_MULTICAST_LID_BASE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jge	LBB0_8
## %bb.10:
	incl	8(%r14)
	movb	(%r13), %cl
	shrl	%cl, %eax
	shll	%cl, %eax
	xorl	%edi, %edi
	cmpl	4(%r13), %eax
	sete	%dil
	callq	_unlikely
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	movq	%r14, %r13
	je	LBB0_14
## %bb.11:
	leaq	136(%rbx), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jne	LBB0_36
## %bb.12:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_qib_ud_loopback
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_QIB_FLUSH_SEND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_37
## %bb.3:
	leaq	136(%rbx), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_4
LBB0_36:
	movq	_QIB_S_WAIT_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%rbx)
LBB0_37:
	movq	_QIB_S_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 48(%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_38
LBB0_8:
	movq	_QIB_PERMISSIVE_LID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.13:
	movq	%r14, %r13
	incl	8(%r14)
	jmp	LBB0_14
LBB0_9:
	movq	%r14, %r13
	incl	12(%r14)
LBB0_14:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rbx)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	%eax, %ecx
	negl	%ecx
	andl	$3, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r12d
	sarl	$2, %r12d
	movl	$7, 32(%rbx)
	movl	%eax, 36(%rbx)
	leaq	88(%rbx), %rcx
	movq	%rcx, 128(%rbx)
	movl	20(%rsi), %ecx
	movl	%ecx, 120(%rbx)
	movq	%r14, 112(%rbx)
	movq	48(%r14), %rcx
	movl	(%rcx), %edx
	movl	%edx, 104(%rbx)
	addq	$4, %rcx
	movq	%rcx, 96(%rbx)
	movl	40(%r14), %ecx
	movl	%ecx, 92(%rbx)
	movl	%eax, 88(%rbx)
	movq	_IB_AH_GRH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	80(%rbx), %r15
	testl	%eax, 4(%rsi)
	je	LBB0_16
## %bb.15:
	addq	$56, %r15
	movq	%rsi, %rdx
	addq	$16, %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$7, %ecx
	movl	%r12d, %r8d
	callq	_qib_make_grh
	movl	32(%rbx), %ecx
	leal	(%rcx,%rax), %edx
	movl	%edx, 32(%rbx)
	movq	80(%rbx), %r15
	addq	$32, %r15
	addl	%ecx, %eax
	incl	%eax
	movq	_QIB_LRH_GRH@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_16:
	addq	$8, %r15
	movq	_QIB_LRH_BTH@GOTPCREL(%rip), %rcx
	movl	$8, %eax
LBB0_17:
	movl	(%rcx), %ecx
	movq	8(%r14), %rdx
	movq	_IB_WR_SEND_WITH_IMM@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_18
## %bb.19:
	movl	%eax, 32(%rbx)
	movl	36(%r14), %eax
	movl	%eax, 8(%r15)
	movq	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_IB_OPCODE_UD_SEND_ONLY@GOTPCREL(%rip), %rax
LBB0_20:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movslq	8(%rdx), %rdx
	movl	%edx, %edi
	shll	$4, %edi
	orl	%ecx, %edi
	movq	56(%rbx), %rcx
	movq	_IB_QPT_SMI@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_22
## %bb.21:
	orl	$61440, %edi                    ## imm = 0xF000
	jmp	LBB0_23
LBB0_22:
	movq	(%r13), %rcx
	movl	(%rcx,%rdx,4), %ecx
	shll	$12, %ecx
	orl	%ecx, %edi
LBB0_23:
	movl	(%rax), %r14d
	callq	_cpu_to_be16
	movq	80(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	callq	_cpu_to_be16
	movq	80(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 8(%rcx)
	addl	32(%rbx), %r12d
	movq	_SIZE_OF_CRC@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_cpu_to_be16
	movq	80(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 16(%rcx)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movb	(%rcx), %cl
	movl	$-1, %edi
	shll	%cl, %edi
	notl	%edi
	andl	12(%r13), %edi
	orl	%eax, %edi
	callq	_cpu_to_be16
	jmp	LBB0_26
LBB0_25:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_26:
	movq	80(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, 24(%rcx)
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	andl	16(%rax), %r12d
	je	LBB0_28
## %bb.27:
	movq	_IB_BTH_SOLICITED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_28:
	shll	$24, %r14d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	shll	$20, %ecx
	movq	56(%rbx), %rax
	movq	_IB_QPT_SMI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_30
## %bb.29:
	movq	_QIB_DEFAULT_P_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_30:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	leaq	28(%r13), %rdx
	cmpq	(%rcx), %rax
	leaq	76(%rbx), %rax
	cmoveq	%rdx, %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_qib_get_pkey
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_31:
	orl	%ecx, %r14d
	orl	%r12d, %r14d
	orl	%eax, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_be32
	movq	16(%r15), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_QIB_PERMISSIVE_LID@GOTPCREL(%rip), %rdx
	addq	$20, %r13
	movq	%r13, %rcx
	cmpl	(%rdx), %eax
	je	LBB0_33
## %bb.32:
	movq	_QIB_MULTICAST_QPN@GOTPCREL(%rip), %rcx
LBB0_33:
	movq	_QIB_MULTICAST_LID_BASE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	cmovlq	%r13, %rcx
	movl	(%rcx), %edi
	callq	_cpu_to_be32
	movq	16(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	72(%rbx), %edi
	leal	1(%rdi), %eax
	movl	%eax, 72(%rbx)
	movq	_QIB_PSN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_be32
	movq	16(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edi
	testl	%edi, %edi
	jns	LBB0_35
## %bb.34:
	movl	40(%rbx), %edi
LBB0_35:
	callq	_cpu_to_be32
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movl	64(%rbx), %edi
	callq	_cpu_to_be32
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	$1, %ebx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_4:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_get_swqe_ptr
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
LBB0_5:
	callq	_qib_send_complete
	movl	$1, %ebx
LBB0_38:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ib_qib_state_ops,8,3           ## @ib_qib_state_ops
	.comm	_QIB_PROCESS_NEXT_SEND_OK,4,2   ## @QIB_PROCESS_NEXT_SEND_OK
	.comm	_QIB_FLUSH_SEND,4,2             ## @QIB_FLUSH_SEND
	.comm	_QIB_S_WAIT_DMA,4,2             ## @QIB_S_WAIT_DMA
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ## @IB_WC_WR_FLUSH_ERR
	.comm	_QIB_MULTICAST_LID_BASE,4,2     ## @QIB_MULTICAST_LID_BASE
	.comm	_QIB_PERMISSIVE_LID,4,2         ## @QIB_PERMISSIVE_LID
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_IB_AH_GRH,4,2                  ## @IB_AH_GRH
	.comm	_QIB_LRH_GRH,4,2                ## @QIB_LRH_GRH
	.comm	_QIB_LRH_BTH,4,2                ## @QIB_LRH_BTH
	.comm	_IB_WR_SEND_WITH_IMM,8,3        ## @IB_WR_SEND_WITH_IMM
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ## @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ## @IB_OPCODE_UD_SEND_ONLY
	.comm	_IB_QPT_SMI,8,3                 ## @IB_QPT_SMI
	.comm	_SIZE_OF_CRC,4,2                ## @SIZE_OF_CRC
	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.comm	_IB_BTH_SOLICITED,4,2           ## @IB_BTH_SOLICITED
	.comm	_QIB_DEFAULT_P_KEY,4,2          ## @QIB_DEFAULT_P_KEY
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_QIB_MULTICAST_QPN,4,2          ## @QIB_MULTICAST_QPN
	.comm	_QIB_PSN_MASK,4,2               ## @QIB_PSN_MASK
	.comm	_QIB_S_BUSY,4,2                 ## @QIB_S_BUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_make_ud_req                ; -- Begin function qib_make_ud_req
	.p2align	2
_qib_make_ud_req:                       ; @qib_make_ud_req
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	add	x19, x0, #44
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _ib_qib_state_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ib_qib_state_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _QIB_PROCESS_NEXT_SEND_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QIB_PROCESS_NEXT_SEND_OK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	ldrsw	x1, [x20, #24]
	ldr	x8, [x20, #16]
	cmp	x8, x1
	b.eq	LBB0_10
; %bb.2:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_swqe_ptr
	mov	x21, x0
	ldp	w8, w9, [x20, #24]
	add	w10, w8, #1
	cmp	w10, w9
	csinc	w25, wzr, w8, ge
	ldr	w0, [x20, #68]
	ldr	w1, [x20, #140]
	bl	_to_iport
	mov	x23, x0
	bl	_ppd_from_ibp
	mov	x24, x0
	ldr	w0, [x21, #32]
	bl	_to_iah
	mov	x22, x0
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _QIB_MULTICAST_LID_BASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QIB_MULTICAST_LID_BASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _QIB_PERMISSIVE_LID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QIB_PERMISSIVE_LID@GOTPAGEOFF]
	cmp	w8, w9
	b.ge	LBB0_11
; %bb.3:
	ldr	w9, [x23, #8]
	add	w9, w9, #1
	str	w9, [x23, #8]
	mov	w9, #-1
	ldp	w10, w11, [x24]
	lsl	w9, w9, w10
	and	w8, w9, w8
	cmp	w8, w11
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.4:
	add	x0, x20, #136
	bl	_atomic_read
	cbnz	x0, LBB0_9
; %bb.5:
	str	w25, [x20, #24]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	mov	x1, x21
	bl	_qib_ud_loopback
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	b	LBB0_33
LBB0_6:
Lloh14:
	adrp	x9, _QIB_FLUSH_SEND@GOTPAGE
Lloh15:
	ldr	x9, [x9, _QIB_FLUSH_SEND@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	ldp	x8, x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.8:
	add	x0, x20, #136
	bl	_atomic_read
	cbz	x0, LBB0_32
LBB0_9:
Lloh17:
	adrp	x8, _QIB_S_WAIT_DMA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QIB_S_WAIT_DMA@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x20, #48]
	orr	w8, w9, w8
	str	w8, [x20, #48]
LBB0_10:
	mov	w21, #0
Lloh20:
	adrp	x8, _QIB_S_BUSY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _QIB_S_BUSY@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x20, #48]
	bic	w8, w9, w8
	str	w8, [x20, #48]
	b	LBB0_35
LBB0_11:
	ldr	w9, [x10]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.12:
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
	b	LBB0_14
LBB0_13:
	ldr	w8, [x23, #12]
	add	w8, w8, #1
	str	w8, [x23, #12]
LBB0_14:
	str	w25, [x20, #24]
	ldr	w8, [x21]
	neg	w9, w8
	and	w27, w9, #0x3
	add	w9, w27, w8
	asr	w25, w9, #2
	mov	w9, #7
	stp	w9, w8, [x20, #32]
	ldr	w9, [x22, #20]
	str	w9, [x20, #120]
	ldr	x9, [x21, #48]
	ldr	w10, [x9], #4
	mov	x11, x20
	str	w8, [x11, #88]!
	str	x11, [x11, #40]
	str	x21, [x11, #24]
	str	w10, [x11, #16]
	str	x9, [x11, #8]
	ldr	w8, [x21, #40]
	str	w8, [x11, #4]
	ldr	w9, [x22, #4]
Lloh23:
	adrp	x8, _IB_AH_GRH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IB_AH_GRH@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x8]
	ldur	x8, [x11, #-8]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.15:
	add	x1, x8, #56
	add	x2, x22, #16
	mov	x0, x23
	mov	w3, #7
	mov	x4, x25
	bl	_qib_make_grh
	ldr	w8, [x20, #32]
	add	w8, w8, w0
	str	w8, [x20, #32]
	ldr	x9, [x20, #80]
	add	x28, x9, #32
	add	w8, w8, #1
Lloh26:
	adrp	x9, _QIB_LRH_GRH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _QIB_LRH_GRH@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	add	x28, x8, #8
Lloh28:
	adrp	x9, _QIB_LRH_BTH@GOTPAGE
Lloh29:
	ldr	x9, [x9, _QIB_LRH_BTH@GOTPAGEOFF]
	mov	w8, #8
LBB0_17:
	ldr	w9, [x9]
	ldr	x10, [x21, #8]
Lloh30:
	adrp	x11, _IB_WR_SEND_WITH_IMM@GOTPAGE
Lloh31:
	ldr	x11, [x11, _IB_WR_SEND_WITH_IMM@GOTPAGEOFF]
Lloh32:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_19
; %bb.18:
	str	w8, [x20, #32]
	ldr	w8, [x21, #36]
	str	w8, [x28, #8]
Lloh33:
	adrp	x8, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh35:
	adrp	x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGEOFF]
LBB0_20:
	ldrsw	x10, [x22, #8]
	orr	w9, w9, w10, lsl #4
	ldr	x11, [x20, #56]
Lloh37:
	adrp	x12, _IB_QPT_SMI@GOTPAGE
Lloh38:
	ldr	x12, [x12, _IB_QPT_SMI@GOTPAGEOFF]
Lloh39:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_22
; %bb.21:
	orr	w0, w9, #0xf000
	b	LBB0_23
LBB0_22:
	ldr	x11, [x23]
	ldr	w10, [x11, x10, lsl #2]
	orr	w0, w9, w10, lsl #12
LBB0_23:
	ldr	w26, [x8]
	bl	_cpu_to_be16
	ldr	x8, [x20, #80]
	ldr	x8, [x8]
	str	x0, [x8]
	ldr	w0, [x22]
	bl	_cpu_to_be16
	ldr	x8, [x20, #80]
	ldr	x8, [x8]
	str	x0, [x8, #8]
	ldr	w8, [x20, #32]
Lloh40:
	adrp	x9, _SIZE_OF_CRC@GOTPAGE
Lloh41:
	ldr	x9, [x9, _SIZE_OF_CRC@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	add	w8, w8, w25
	add	w0, w8, w9
	bl	_cpu_to_be16
	ldr	x8, [x20, #80]
	ldr	x8, [x8]
	str	x0, [x8, #16]
	ldr	w8, [x24, #4]
	cbz	w8, LBB0_25
; %bb.24:
	ldr	w9, [x22, #12]
	ldr	w10, [x24]
	mov	w11, #-1
	lsl	w10, w11, w10
	bic	w9, w9, w10
	orr	w0, w9, w8
	bl	_cpu_to_be16
	b	LBB0_26
LBB0_25:
Lloh43:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh45:
	ldr	x0, [x8]
LBB0_26:
	lsl	w24, w26, #24
	ldr	x8, [x20, #80]
	ldr	x8, [x8]
	str	x0, [x8, #24]
	ldr	w8, [x21, #16]
Lloh46:
	adrp	x9, _IB_SEND_SOLICITED@GOTPAGE
Lloh47:
	ldr	x9, [x9, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
Lloh49:
	adrp	x10, _IB_BTH_SOLICITED@GOTPAGE
Lloh50:
	ldr	x10, [x10, _IB_BTH_SOLICITED@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w25, wzr, w10, eq
	lsl	w26, w27, #20
	ldr	x8, [x20, #56]
Lloh52:
	adrp	x9, _IB_QPT_SMI@GOTPAGE
Lloh53:
	ldr	x9, [x9, _IB_QPT_SMI@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.27:
Lloh55:
	adrp	x8, _QIB_DEFAULT_P_KEY@GOTPAGE
Lloh56:
	ldr	x8, [x8, _QIB_DEFAULT_P_KEY@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	b	LBB0_29
LBB0_28:
Lloh58:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	add	x10, x21, #28
	add	x11, x20, #76
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	mov	x0, x23
	bl	_qib_get_pkey
LBB0_29:
	orr	w8, w24, w26
	orr	w8, w8, w25
	orr	w0, w8, w0
	bl	_cpu_to_be32
	ldr	x8, [x28, #16]
	str	x0, [x8]
	ldr	w8, [x22]
Lloh61:
	adrp	x9, _QIB_MULTICAST_LID_BASE@GOTPAGE
Lloh62:
	ldr	x9, [x9, _QIB_MULTICAST_LID_BASE@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
Lloh64:
	adrp	x10, _QIB_PERMISSIVE_LID@GOTPAGE
Lloh65:
	ldr	x10, [x10, _QIB_PERMISSIVE_LID@GOTPAGEOFF]
Lloh66:
	ldr	w10, [x10]
	cmp	w8, w10
	ccmp	w8, w9, #8, ne
	add	x8, x21, #20
Lloh67:
	adrp	x9, _QIB_MULTICAST_QPN@GOTPAGE
Lloh68:
	ldr	x9, [x9, _QIB_MULTICAST_QPN@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	x8, [x28, #16]
	str	x0, [x8, #8]
	ldr	w8, [x20, #72]
	add	w9, w8, #1
	str	w9, [x20, #72]
Lloh69:
	adrp	x9, _QIB_PSN_MASK@GOTPAGE
Lloh70:
	ldr	x9, [x9, _QIB_PSN_MASK@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_cpu_to_be32
	ldr	x8, [x28, #16]
	str	x0, [x8, #16]
	ldr	w0, [x21, #24]
	tbz	w0, #31, LBB0_31
; %bb.30:
	ldr	w0, [x20, #40]
LBB0_31:
	bl	_cpu_to_be32
	ldr	x8, [x28]
	str	x0, [x8]
	ldr	w0, [x20, #64]
	bl	_cpu_to_be32
	ldr	x8, [x28]
	str	x0, [x8, #8]
	b	LBB0_34
LBB0_32:
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_get_swqe_ptr
	mov	x1, x0
Lloh72:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x20
LBB0_33:
	bl	_qib_send_complete
LBB0_34:
	mov	w21, #1
LBB0_35:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_ib_qib_state_ops,8,3           ; @ib_qib_state_ops
	.comm	_QIB_PROCESS_NEXT_SEND_OK,4,2   ; @QIB_PROCESS_NEXT_SEND_OK
	.comm	_QIB_FLUSH_SEND,4,2             ; @QIB_FLUSH_SEND
	.comm	_QIB_S_WAIT_DMA,4,2             ; @QIB_S_WAIT_DMA
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ; @IB_WC_WR_FLUSH_ERR
	.comm	_QIB_MULTICAST_LID_BASE,4,2     ; @QIB_MULTICAST_LID_BASE
	.comm	_QIB_PERMISSIVE_LID,4,2         ; @QIB_PERMISSIVE_LID
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_IB_AH_GRH,4,2                  ; @IB_AH_GRH
	.comm	_QIB_LRH_GRH,4,2                ; @QIB_LRH_GRH
	.comm	_QIB_LRH_BTH,4,2                ; @QIB_LRH_BTH
	.comm	_IB_WR_SEND_WITH_IMM,8,3        ; @IB_WR_SEND_WITH_IMM
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ; @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ; @IB_OPCODE_UD_SEND_ONLY
	.comm	_IB_QPT_SMI,8,3                 ; @IB_QPT_SMI
	.comm	_SIZE_OF_CRC,4,2                ; @SIZE_OF_CRC
	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.comm	_IB_BTH_SOLICITED,4,2           ; @IB_BTH_SOLICITED
	.comm	_QIB_DEFAULT_P_KEY,4,2          ; @QIB_DEFAULT_P_KEY
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_QIB_MULTICAST_QPN,4,2          ; @QIB_MULTICAST_QPN
	.comm	_QIB_PSN_MASK,4,2               ; @QIB_PSN_MASK
	.comm	_QIB_S_BUSY,4,2                 ; @QIB_S_BUSY
.subsections_via_symbols
