	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_return_cnp_16B                 ## -- Begin function return_cnp_16B
	.p2align	4, 0x90
_return_cnp_16B:                        ## @return_cnp_16B
	.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	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	24(%rbp), %r15
	movl	16(%rbp), %esi
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qp_to_send_context
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ppd_from_ibp
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_HFI1_PKT_TYPE_16B@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	$28, %edi
	xorl	%esi, %esi
	callq	_hfi1_get_16b_padding
	movl	%eax, %r14d
	movq	_SIZE_OF_LT@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	sarl	$2, %r14d
	movq	_SIZE_OF_CRC@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	testq	%r15, %r15
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	16(%r15), %eax
	leaq	-128(%rbp), %r12
	movl	%eax, -104(%rbp)
	movq	_LRH_16B_DWORDS@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	subl	(%rax), %ecx
	leal	28(,%rcx,4), %edi
	callq	_cpu_to_be16
	movl	%eax, -108(%rbp)
	movl	$255, -120(%rbp)
	movl	8(%r15), %eax
	movl	%eax, -116(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -112(%rbp)
	movl	$12, %r15d
	movq	_OPA_16B_L4_IB_GLOBAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	-136(%rbp), %r12
	movl	$7, %r15d
	movq	_OPA_16B_L4_IB_LOCAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_IB_OPCODE_CNP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shll	$24, %ebx
	leal	(,%r15,4), %edi
	xorl	%esi, %esi
	callq	_hfi1_get_16b_padding
	shll	$20, %eax
	orl	%eax, %ebx
	orl	$65536, %ebx                    ## imm = 0x10000
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be32
	movq	(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r12), %rax
	movq	$0, 16(%rax)
	leal	(%r15,%r14), %ecx
	sarl	%ecx
	subq	$8, %rsp
	leaq	-136(%rbp), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	$1, %r9d
	movl	16(%rbp), %r13d
	pushq	%r13
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	callq	_hfi1_make_16b_hdr
	addq	$32, %rsp
	leal	(%r15,%r14), %r12d
	addl	$2, %r12d
	movq	_PBC_PACKET_BYPASS@GOTPCREL(%rip), %rax
	movq	_PBC_INSERT_BYPASS_ICRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	movl	%r13d, %esi
	callq	_sc_to_vlt
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	movl	%r12d, %r8d
	callq	_create_pbc
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movl	%eax, %r14d
	movl	%r12d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_sc_buffer_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	leaq	-136(%rbp), %r12
	movq	%r12, %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_trace_pio_output_ibhdr
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	*(%rdi)
LBB0_6:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFI1_PKT_TYPE_16B,4,2          ## @HFI1_PKT_TYPE_16B
	.comm	_SIZE_OF_LT,4,2                 ## @SIZE_OF_LT
	.comm	_SIZE_OF_CRC,4,2                ## @SIZE_OF_CRC
	.comm	_LRH_16B_DWORDS,4,2             ## @LRH_16B_DWORDS
	.comm	_OPA_16B_L4_IB_GLOBAL,4,2       ## @OPA_16B_L4_IB_GLOBAL
	.comm	_OPA_16B_L4_IB_LOCAL,4,2        ## @OPA_16B_L4_IB_LOCAL
	.comm	_IB_OPCODE_CNP,4,2              ## @IB_OPCODE_CNP
	.comm	_PBC_PACKET_BYPASS,4,2          ## @PBC_PACKET_BYPASS
	.comm	_PBC_INSERT_BYPASS_ICRC,4,2     ## @PBC_INSERT_BYPASS_ICRC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_return_cnp_16B                 ; -- Begin function return_cnp_16B
	.p2align	2
_return_cnp_16B:                        ; @return_cnp_16B
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x23, x7
	mov	x19, x6
	mov	x27, x5
	mov	x26, x4
	mov	x21, x3
	mov	x22, x2
	mov	x28, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x6
	bl	_qp_to_send_context
	mov	x25, x0
	mov	x0, x20
	bl	_ppd_from_ibp
	mov	x20, x0
Lloh0:
	adrp	x8, _HFI1_PKT_TYPE_16B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFI1_PKT_TYPE_16B@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	mov	w0, #28
	mov	w1, #0
	bl	_hfi1_get_16b_padding
Lloh3:
	adrp	x8, _SIZE_OF_LT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE_OF_LT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, w0
Lloh6:
	adrp	x9, _SIZE_OF_CRC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SIZE_OF_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w24, w9, w8, asr #2
	stp	x20, x25, [sp, #16]             ; 16-byte Folded Spill
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	mov	x20, x26
	cbz	x23, LBB0_2
; %bb.1:
	ldr	w8, [x23, #16]
	add	x9, sp, #32
	add	x25, x9, #8
	str	w8, [sp, #64]
Lloh9:
	adrp	x8, _LRH_16B_DWORDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LRH_16B_DWORDS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w8, w24, w8
	lsl	w8, w8, #2
	add	w0, w8, #28
	bl	_cpu_to_be16
	str	w0, [sp, #60]
	mov	w8, #255
	str	w8, [sp, #48]
	ldur	d0, [x23, #4]
	rev64.2s	v0, v0
	stur	d0, [sp, #52]
	mov	w23, #12
Lloh12:
	adrp	x8, _OPA_16B_L4_IB_GLOBAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OPA_16B_L4_IB_GLOBAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	w23, #7
Lloh14:
	adrp	x8, _OPA_16B_L4_IB_LOCAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OPA_16B_L4_IB_LOCAL@GOTPAGEOFF]
	add	x25, sp, #32
LBB0_3:
	ldr	w28, [x8]
Lloh16:
	adrp	x8, _IB_OPCODE_CNP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_OPCODE_CNP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	lsl	w26, w8, #24
	lsl	w0, w23, #2
	mov	w1, #0
	bl	_hfi1_get_16b_padding
	orr	w8, w26, w0, lsl #20
	orr	w0, w8, #0x10000
	bl	_cpu_to_be32
	ldr	x8, [x25]
	str	x0, [x8]
	mov	x0, x22
	bl	_cpu_to_be32
	ldr	x8, [x25]
	str	x0, [x8, #8]
	ldr	x8, [x25]
	str	xzr, [x8, #16]
	add	w24, w23, w24
	asr	w3, w24, #1
	str	w19, [sp]
	add	x0, sp, #32
	mov	x1, x20
	mov	x2, x27
	mov	x4, x21
	mov	w5, #1
	mov	w6, #0
	mov	x7, x28
	bl	_hfi1_make_16b_hdr
	add	w24, w24, #2
Lloh19:
	adrp	x8, _PBC_PACKET_BYPASS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PBC_PACKET_BYPASS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _PBC_INSERT_BYPASS_ICRC@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PBC_INSERT_BYPASS_ICRC@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w25, w9, w8
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x0, [x20]
	mov	x1, x19
	bl	_sc_to_vlt
	mov	x3, x0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x25
	mov	x4, x24
	bl	_create_pbc
	mov	x22, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x24
	mov	x2, #0
	mov	x3, #0
	bl	_sc_buffer_alloc
	mov	x21, x0
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x20]
	add	x1, sp, #32
	mov	x2, x19
	bl	_trace_pio_output_ibhdr
	ldr	x0, [x20]
	ldr	x8, [x0]
	add	x3, sp, #32
	mov	x1, x21
	mov	x2, x22
	mov	x4, x23
	blr	x8
LBB0_6:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HFI1_PKT_TYPE_16B,4,2          ; @HFI1_PKT_TYPE_16B
	.comm	_SIZE_OF_LT,4,2                 ; @SIZE_OF_LT
	.comm	_SIZE_OF_CRC,4,2                ; @SIZE_OF_CRC
	.comm	_LRH_16B_DWORDS,4,2             ; @LRH_16B_DWORDS
	.comm	_OPA_16B_L4_IB_GLOBAL,4,2       ; @OPA_16B_L4_IB_GLOBAL
	.comm	_OPA_16B_L4_IB_LOCAL,4,2        ; @OPA_16B_L4_IB_LOCAL
	.comm	_IB_OPCODE_CNP,4,2              ; @IB_OPCODE_CNP
	.comm	_PBC_PACKET_BYPASS,4,2          ; @PBC_PACKET_BYPASS
	.comm	_PBC_INSERT_BYPASS_ICRC,4,2     ; @PBC_INSERT_BYPASS_ICRC
.subsections_via_symbols
