	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_disarm_senderrbufs       ## -- Begin function ipath_disarm_senderrbufs
	.p2align	4, 0x90
_ipath_disarm_senderrbufs:              ## @ipath_disarm_senderrbufs
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	4(%rdi), %r13d
	addl	(%rdi), %r13d
	movq	16(%rdi), %rax
	movq	(%rax), %rsi
	callq	_ipath_read_kreg64
	movq	%rax, %r14
	movq	%rax, -80(%rbp)
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%r12, %rdi
	callq	_ipath_read_kreg64
	movq	%rax, %r15
	movq	%rax, -72(%rbp)
	cmpl	$129, %r13d
	jl	LBB0_6
## %bb.1:
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	addq	$2, %rsi
	movq	%r12, %rdi
	callq	_ipath_read_kreg64
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	cmpl	$192, %r13d
	jbe	LBB0_8
## %bb.2:
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	addq	$3, %rsi
	movq	%r12, %rdi
	callq	_ipath_read_kreg64
	movq	%rax, %rdx
	movq	%rax, -56(%rbp)
	jmp	LBB0_3
LBB0_6:
	movq	$0, -56(%rbp)
	movq	%r14, %rax
	orq	%r15, %rax
	je	LBB0_22
## %bb.7:
	xorl	%edx, %edx
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_10
LBB0_8:
	movq	$0, -56(%rbp)
	xorl	%edx, %edx
LBB0_3:
	movq	%r14, %rax
	orq	%r15, %rax
	je	LBB0_4
## %bb.9:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_4:
	movq	%rbx, %rax
	orq	%rdx, %rax
	je	LBB0_22
## %bb.5:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_10:
	movq	_ipath_debug@GOTPCREL(%rip), %rcx
	movq	___IPATH_PKTDBG@GOTPCREL(%rip), %rbx
	movq	___IPATH_DBG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%rbx), %edi
	testl	%edi, (%rcx)
	je	LBB0_16
## %bb.11:
	movq	8(%r12), %rax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_16
## %bb.12:
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	___IPATH_DBG_WHICH
	movl	(%rbx), %eax
	movq	_ipath_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	cmpl	$129, %r13d
	jl	LBB0_15
## %bb.14:
	leaq	L_.str.1(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printk
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_16:
	testl	%r13d, %r13d
	jle	LBB0_21
## %bb.17:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_21
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_ipath_disarm_piobufs
	jmp	LBB0_18
LBB0_21:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$3, %rax
	movq	%rax, 8(%r12)
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ipath_debug,4,2                ## @ipath_debug
	.comm	___IPATH_PKTDBG,4,2             ## @__IPATH_PKTDBG
	.comm	___IPATH_DBG,4,2                ## @__IPATH_DBG
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SendbufErrs %lx %lx"

L_.str.1:                               ## @.str.1
	.asciz	" %lx %lx "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_disarm_senderrbufs       ; -- Begin function ipath_disarm_senderrbufs
	.p2align	2
_ipath_disarm_senderrbufs:              ; @ipath_disarm_senderrbufs
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldp	w8, w9, [x0]
	add	w24, w9, w8
	ldr	x8, [x0, #16]
	ldr	x1, [x8]
	bl	_ipath_read_kreg64
	mov	x20, x0
	str	x0, [sp, #24]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	x0, x19
	bl	_ipath_read_kreg64
	mov	x22, x0
	str	x0, [sp, #32]
	cmp	w24, #129
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x1, x8, #2
	mov	x0, x19
	bl	_ipath_read_kreg64
	mov	x21, x0
	str	x0, [sp, #40]
	cmp	w24, #192
	b.ls	LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x1, x8, #3
	mov	x0, x19
	bl	_ipath_read_kreg64
	mov	x23, x0
	str	x0, [sp, #48]
	orr	x8, x20, x22
	cbz	x8, LBB0_6
	b	LBB0_8
LBB0_3:
	str	xzr, [sp, #48]
	orr	x8, x20, x22
	cbz	x8, LBB0_20
; %bb.4:
	mov	x23, #0
                                        ; implicit-def: $x21
	b	LBB0_8
LBB0_5:
	mov	x23, #0
	str	xzr, [sp, #48]
	orr	x8, x20, x22
	cbnz	x8, LBB0_8
LBB0_6:
	orr	x8, x21, x23
	cbz	x8, LBB0_20
; %bb.7:
	mov	x22, #0
	mov	x20, #0
LBB0_8:
Lloh3:
	adrp	x26, _ipath_debug@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ipath_debug@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh5:
	adrp	x27, ___IPATH_PKTDBG@GOTPAGE
Lloh6:
	ldr	x27, [x27, ___IPATH_PKTDBG@GOTPAGEOFF]
Lloh7:
	adrp	x9, ___IPATH_DBG@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___IPATH_DBG@GOTPAGEOFF]
	ldr	w10, [x27]
Lloh9:
	ldr	w9, [x9]
	orr	w0, w9, w10
Lloh10:
	adrp	x25, _jiffies@GOTPAGE
Lloh11:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	tst	w0, w8
	b.eq	LBB0_14
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.le	LBB0_14
; %bb.10:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	___IPATH_DBG_WHICH
	ldr	w8, [x26]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
	cmp	w24, #129
	b.lt	LBB0_13
; %bb.12:
	stp	x21, x23, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
LBB0_13:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
LBB0_14:
	cmp	w24, #1
	b.lt	LBB0_19
; %bb.15:
	mov	w20, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w20, w20, #1
	cmp	w24, w20
	b.eq	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	mov	x0, x20
	bl	_test_bit
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_ipath_disarm_piobufs
	b	LBB0_16
LBB0_19:
	ldr	x8, [x25]
	add	x8, x8, #3
	str	x8, [x19, #8]
LBB0_20:
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	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
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ipath_debug,4,2                ; @ipath_debug
	.comm	___IPATH_PKTDBG,4,2             ; @__IPATH_PKTDBG
	.comm	___IPATH_DBG,4,2                ; @__IPATH_DBG
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SendbufErrs %lx %lx"

l_.str.1:                               ; @.str.1
	.asciz	" %lx %lx "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

.subsections_via_symbols
