	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hfi1_setup_eagerbufs
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hfi1_setup_eagerbufs
	.p2align	4, 0x90
_hfi1_setup_eagerbufs:                  ## @hfi1_setup_eagerbufs
	.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, %r12
	movq	104(%rdi), %rbx
	movq	_hfi1_max_mtu@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_roundup_pow_of_two
	movq	___GFP_RECLAIM@GOTPCREL(%rip), %rdx
	movq	___GFP_IO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rdx), %r15d
	movq	___GFP_COMP@GOTPCREL(%rip), %rdx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	imulq	%rax, %rcx
	cmpq	%rcx, 32(%r12)
	jae	LBB0_2
## %bb.1:
	movq	%rcx, 32(%r12)
LBB0_2:
	orl	(%rdx), %r15d
	movl	100(%r12), %edi
	movq	_MULTI_PKT_EGR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_HFI1_CAP_KGET_MASK
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r12)
LBB0_4:
	movq	32(%r12), %rdi
	cmpq	$1048576, %rdi                  ## imm = 0x100000
	ja	LBB0_7
## %bb.5:
	shrq	$3, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_rounddown_pow_of_two
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_max
	movq	%rax, 40(%r12)
	cmpq	$0, 32(%r12)
	je	LBB0_6
LBB0_7:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	48(%r12), %rax
	cmpq	56(%r12), %rax
	jae	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	40(%r12), %rsi
	leaq	(,%r15,8), %rax
	leaq	(%rax,%rax,2), %r13
	movq	72(%r12), %rdx
	addq	%r13, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_dma_alloc_coherent
	movq	72(%r12), %rdx
	movq	%rax, 16(%rdx,%r13)
	movq	40(%r12), %rcx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	100(%r12), %edi
	movl	(%rbx), %esi
	callq	_HFI1_CAP_KGET_MASK
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	40(%r12), %rax
	shrq	%rax
	testq	%r15, %r15
	jne	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, 40(%r12)
	movl	$0, %r15d
	cmpq	32(%r12), %r14
	jb	LBB0_8
	jmp	LBB0_21
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	(%r15,%r15,2), %r8
	movq	%rcx, 8(%rdx,%r8,8)
	movq	48(%r12), %rsi
	movq	80(%r12), %r9
	movq	%rsi, %rdi
	shlq	$4, %rdi
	movq	%rax, (%r9,%rdi)
	movq	(%rdx,%r8,8), %rax
	movq	%rax, 8(%r9,%rdi)
	incq	%rsi
	movq	%rsi, 48(%r12)
	addq	%rcx, %r14
	incq	%r15
	jmp	LBB0_11
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	$0, 48(%r12)
	xorl	%ecx, %ecx
	subq	56(%r12), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r9d
	movl	$8, %r11d
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r9), %rbx
	cmpq	$1, %rbx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	leaq	(%rcx,%rcx,2), %r13
	movq	72(%r12), %rdx
	movq	80(%r12), %r10
	movq	(%rdx,%r13,8), %rsi
	leaq	(%rsi,%rdi), %rbx
	movq	%rbx, (%r10,%r11)
	movq	16(%rdx,%r13,8), %r8
	addq	%rdi, %r8
	movq	%r8, -8(%r10,%r11)
	movq	%r9, 48(%r12)
	addq	8(%rdx,%r13,8), %rsi
	addq	%rax, %rbx
	addq	%rax, %rdi
	xorl	%edx, %edx
	cmpq	%rsi, %rbx
	sete	%dl
	movl	$0, %esi
	cmoveq	%rsi, %rdi
	addq	%rdx, %rcx
	incq	%r9
	addq	$16, %r11
	cmpq	%r15, %rcx
	jb	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, 40(%r12)
	movq	_MULTI_PKT_EGR@GOTPCREL(%rip), %rbx
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	32(%r12), %r14
	jb	LBB0_8
	jmp	LBB0_22
LBB0_14:
	movl	96(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_dd_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_28
LBB0_6:
	xorl	%r14d, %r14d
LBB0_21:
	xorl	%r15d, %r15d
LBB0_22:
	movq	%r15, 64(%r12)
	movq	%r14, 32(%r12)
	movq	_PROC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	96(%r12), %edx
	movl	48(%r12), %ecx
	movq	40(%r12), %r8
	shrq	$10, %r8
	shrq	$10, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_hfi1_cdbg
	movq	48(%r12), %rdi
	shrq	%rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_rounddown_pow_of_two
	movl	%eax, 88(%r12)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rsi
	movq	(%r12), %rbx
	imulq	%rsi, %rbx
	movl	48(%r12), %edi
	callq	_roundup
	subq	%rax, %rbx
	movq	_MAX_TID_PAIR_ENTRIES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r8
	addq	%r8, %r8
	cmpq	%r8, %rbx
	cmovbq	%rbx, %r8
	movq	%r8, 8(%r12)
	movq	24(%r12), %r9
	addq	%r9, %rax
	movq	%rax, 16(%r12)
	movl	(%r15), %edi
	movl	96(%r12), %edx
	movl	48(%r12), %ecx
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_hfi1_cdbg
	movl	40(%r12), %edi
	movq	_PT_EAGER@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-80(%rbp), %rdx
	callq	_hfi1_rcvbuf_validate
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	cmpq	$0, 48(%r12)
	movl	$0, %eax
	je	LBB0_33
## %bb.24:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rsi
	addq	%r15, %rsi
	movl	(%r13), %edx
	movq	80(%r12), %rax
	movq	(%rax,%rbx), %rcx
	movq	-80(%rbp), %r8
	movq	%r14, %rdi
	callq	_hfi1_put_tid
	xorl	%eax, %eax
	callq	_cond_resched
	incq	%r15
	addq	$16, %rbx
	cmpq	48(%r12), %r15
	jb	LBB0_25
## %bb.26:
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_27:
	movl	(%r15), %edi
	movl	40(%r12), %ecx
	movl	96(%r12), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_hfi1_cdbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_28:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpq	$0, 48(%r12)
	je	LBB0_33
## %bb.29:
	movq	%rax, %r13
	movq	72(%r12), %rax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rax,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	(%r14), %rdi
	movq	(%rax,%rbx), %rcx
	movq	8(%rax,%rbx), %rsi
	callq	_dma_free_coherent
	movq	72(%r12), %rax
	incq	%r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rbx)
	movq	$0, 16(%rax,%rbx)
	addq	$24, %rbx
	cmpq	48(%r12), %r15
	jb	LBB0_30
LBB0_32:
	movq	%r13, %rax
LBB0_33:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hfi1_max_mtu,4,2               ## @hfi1_max_mtu
	.comm	___GFP_RECLAIM,4,2              ## @__GFP_RECLAIM
	.comm	___GFP_IO,4,2                   ## @__GFP_IO
	.comm	___GFP_COMP,4,2                 ## @__GFP_COMP
	.comm	_MULTI_PKT_EGR,4,2              ## @MULTI_PKT_EGR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctxt%u: Failed to allocate eager buffers\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PROC,4,2                       ## @PROC
L_.str.1:                               ## @.str.1
	.asciz	"ctxt%u: Alloced %u rcv tid entries @ %uKB, total %uKB\n"

	.comm	_MAX_TID_PAIR_ENTRIES,4,2       ## @MAX_TID_PAIR_ENTRIES
L_.str.2:                               ## @.str.2
	.asciz	"ctxt%u: eager:%u, exp:%u, egrbase:%u, expbase:%u\n"

	.comm	_PT_EAGER,4,2                   ## @PT_EAGER
L_.str.3:                               ## @.str.3
	.asciz	"ctxt%u: current Eager buffer size is invalid %u\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_setup_eagerbufs           ; -- Begin function hfi1_setup_eagerbufs
	.p2align	2
_hfi1_setup_eagerbufs:                  ; @hfi1_setup_eagerbufs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	ldr	x20, [x0, #104]
Lloh0:
	adrp	x8, _hfi1_max_mtu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hfi1_max_mtu@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_roundup_pow_of_two
	mov	x21, x0
Lloh3:
	adrp	x8, ___GFP_RECLAIM@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___GFP_RECLAIM@GOTPAGEOFF]
Lloh5:
	adrp	x9, ___GFP_IO@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___GFP_IO@GOTPAGEOFF]
Lloh7:
	adrp	x10, ___GFP_COMP@GOTPAGE
Lloh8:
	ldr	x10, [x10, ___GFP_COMP@GOTPAGEOFF]
	ldr	x12, [x19, #32]
	ldr	x11, [x20, #8]
	mul	x11, x11, x0
	cmp	x12, x11
	b.hs	LBB0_2
; %bb.1:
	str	x11, [x19, #32]
LBB0_2:
	ldr	w22, [x8]
	ldr	w26, [x9]
	ldr	w27, [x10]
	ldr	w0, [x19, #100]
Lloh9:
	adrp	x23, _MULTI_PKT_EGR@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MULTI_PKT_EGR@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_HFI1_CAP_KGET_MASK
	cbnz	w0, LBB0_4
; %bb.3:
	str	x21, [x19, #40]
LBB0_4:
	ldr	x8, [x19, #32]
	cmp	x8, #256, lsl #12               ; =1048576
	b.hi	LBB0_6
; %bb.5:
	lsr	x0, x8, #3
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_rounddown_pow_of_two
	mov	x1, x0
	mov	x0, x21
	bl	_max
	str	x0, [x19, #40]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_19
LBB0_6:
	mov	x24, #0
	mov	x25, #0
	orr	w8, w26, w22
	orr	w22, w8, w27
	mov	w26, #24
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldp	x8, x9, [x19, #48]
	cmp	x8, x9
	b.hs	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x19, #40]
	ldr	x8, [x19, #72]
	add	x9, x25, x25, lsl #1
	lsl	x27, x9, #3
	add	x2, x8, x27
	mov	x3, x22
	bl	_dma_alloc_coherent
	ldr	x9, [x19, #72]
	add	x8, x9, x27
	str	x0, [x8, #16]
	ldr	x8, [x19, #40]
	cbnz	x0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x8, x21
	b.eq	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #100]
	ldr	w1, [x23]
	bl	_HFI1_CAP_KGET_MASK
	cbz	w0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #40]
	lsr	x8, x8, #1
	cbnz	x25, LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x8, [x19, #40]
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #32]
	cmp	x24, x8
	b.lo	LBB0_7
	b	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	madd	x9, x25, x26, x9
	str	x8, [x9, #8]
	ldr	x10, [x19, #80]
	ldr	x11, [x19, #48]
	add	x10, x10, x11, lsl #4
	ldr	x9, [x9]
	stp	x0, x9, [x10]
	add	x9, x11, #1
	str	x9, [x19, #48]
	add	x24, x8, x24
	add	x25, x25, #1
	b	LBB0_13
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x9, #0
	mov	x10, #0
	mov	x13, #0
	mov	x11, #0
	str	xzr, [x19, #48]
	ldr	x12, [x19, #56]
LBB0_16:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x12, x10
	b.eq	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldp	x14, x15, [x19, #72]
	madd	x14, x11, x26, x14
	add	x15, x15, x9
	ldr	x16, [x14, #16]
	add	x16, x16, x13
	ldp	x17, x14, [x14]
	add	x0, x17, x13
	add	x1, x0, x8
	stp	x16, x0, [x15]
	add	x10, x10, #1
	str	x10, [x19, #48]
	add	x13, x13, x8
	add	x14, x14, x17
	cmp	x1, x14
	cinc	x11, x11, eq
	csel	x13, xzr, x13, eq
	add	x9, x9, #16
	cmp	x11, x25
	b.lo	LBB0_16
	b	LBB0_12
LBB0_18:
	ldr	w2, [x19, #96]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dd_dev_err
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
	mov	x24, #0
	mov	x25, #0
LBB0_20:
	str	x25, [x19, #64]
	str	x24, [x19, #32]
Lloh15:
	adrp	x22, _PROC@GOTPAGE
Lloh16:
	ldr	x22, [x22, _PROC@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w2, [x19, #96]
	ldr	w3, [x19, #48]
	ldr	x8, [x19, #40]
	lsr	x8, x8, #10
	lsr	x9, x24, #10
	stp	x8, x9, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_hfi1_cdbg
	ldr	x8, [x19, #48]
	lsr	x0, x8, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_rounddown_pow_of_two
	str	w0, [x19, #88]
	ldr	x23, [x19]
	ldr	x21, [x20, #8]
	ldr	w0, [x19, #48]
	mov	x1, x21
	bl	_roundup
	neg	x8, x0
Lloh19:
	adrp	x9, _MAX_TID_PAIR_ENTRIES@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MAX_TID_PAIR_ENTRIES@GOTPAGEOFF]
	madd	x8, x21, x23, x8
Lloh21:
	ldrsw	x9, [x9]
	lsl	x9, x9, #1
	cmp	x8, x9
	csel	x8, x8, x9, lo
	ldr	x9, [x19, #24]
	add	x10, x9, x0
	stp	x8, x10, [x19, #8]
	ldr	w0, [x22]
	ldr	w2, [x19, #96]
	ldr	w3, [x19, #48]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_hfi1_cdbg
	ldr	w0, [x19, #40]
Lloh24:
	adrp	x21, _PT_EAGER@GOTPAGE
Lloh25:
	ldr	x21, [x21, _PT_EAGER@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #24
	bl	_hfi1_rcvbuf_validate
	cbz	w0, LBB0_25
; %bb.21:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_24
; %bb.22:
	mov	x22, #0
	mov	w23, #8
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x1, x22, x8
	ldr	w2, [x21]
	ldr	x8, [x19, #80]
	ldr	x3, [x8, x23]
	ldr	x4, [sp, #24]
	mov	x0, x20
	bl	_hfi1_put_tid
	bl	_cond_resched
	add	x22, x22, #1
	ldr	x8, [x19, #48]
	add	x23, x23, #16
	cmp	x22, x8
	b.lo	LBB0_23
LBB0_24:
	mov	w21, #0
	b	LBB0_30
LBB0_25:
	ldr	w0, [x22]
	ldr	w2, [x19, #96]
	ldr	w3, [x19, #40]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_hfi1_cdbg
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_30
; %bb.27:
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x19, #72]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	x2, [x8, #16]
	cbz	x2, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x0, [x20]
	ldp	x3, x1, [x8]
	bl	_dma_free_coherent
	ldr	x8, [x19, #72]
	add	x23, x23, #1
	add	x9, x8, x22
	stp	xzr, xzr, [x9, #8]
	str	xzr, [x9]
	ldr	x9, [x19, #48]
	add	x22, x22, #24
	cmp	x23, x9
	b.lo	LBB0_28
LBB0_30:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_hfi1_max_mtu,4,2               ; @hfi1_max_mtu
	.comm	___GFP_RECLAIM,4,2              ; @__GFP_RECLAIM
	.comm	___GFP_IO,4,2                   ; @__GFP_IO
	.comm	___GFP_COMP,4,2                 ; @__GFP_COMP
	.comm	_MULTI_PKT_EGR,4,2              ; @MULTI_PKT_EGR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctxt%u: Failed to allocate eager buffers\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PROC,4,2                       ; @PROC
l_.str.1:                               ; @.str.1
	.asciz	"ctxt%u: Alloced %u rcv tid entries @ %uKB, total %uKB\n"

	.comm	_MAX_TID_PAIR_ENTRIES,4,2       ; @MAX_TID_PAIR_ENTRIES
l_.str.2:                               ; @.str.2
	.asciz	"ctxt%u: eager:%u, exp:%u, egrbase:%u, expbase:%u\n"

	.comm	_PT_EAGER,4,2                   ; @PT_EAGER
l_.str.3:                               ; @.str.3
	.asciz	"ctxt%u: current Eager buffer size is invalid %u\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
