	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdma_request
_rdma_request:                          ## @rdma_request
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	8(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	(%r12), %edi
	addl	$4, %edi
	movl	(%rbx), %esi
	callq	_kmalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%rax, %rcx
	addq	$4, %rcx
	movq	%rcx, (%rax)
	movl	(%r12), %ecx
	movl	%ecx, 8(%rax)
LBB0_5:
	movq	%rax, 32(%r13)
	leaq	44(%r14), %rbx
	movq	%rbx, %rdi
	callq	_atomic_inc_return
	cmpq	(%r14), %rax
	jle	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	callq	_atomic_dec
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_post_recv
	testl	%eax, %eax
	movl	$0, %r12d
	je	LBB0_9
## %bb.7:
	movl	%eax, %ebx
	movq	32(%r13), %rdi
	callq	_kfree
	movl	%ebx, %r12d
	jmp	LBB0_15
LBB0_9:
	movq	$0, 8(%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	%rax, %rbx
	movq	%r15, 16(%rax)
	movq	24(%r14), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_map_single
	movl	%eax, 24(%rbx)
	movq	24(%r14), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	movl	24(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	40(%r14), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_IB_WC_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, -96(%rbp)
	movq	_IB_WR_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	$1, -88(%rbp)
	leaq	36(%r14), %rdi
	callq	_down_interruptible
	testq	%rax, %rax
	je	LBB0_12
LBB0_13:
	movq	_P9_DEBUG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_P9_DPRINTK
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_19
LBB0_14:
	movq	$0, 32(%r13)
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r13, %rdi
	callq	_kfree
LBB0_16:
	leaq	16(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_P9_RDMA_CLOSING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%r14)
	jge	LBB0_18
## %bb.17:
	movq	%rax, 8(%r14)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	24(%r14), %rdi
	callq	_rdma_disconnect
	jmp	LBB0_19
LBB0_18:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_19:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	32(%r14), %edi
	leaq	-96(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	callq	_ib_post_send
	movl	%eax, %r12d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_IB_WC_SEND,4,2                 ## @IB_WC_SEND
	.comm	_IB_WR_SEND,4,2                 ## @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.comm	_P9_DEBUG_ERROR,4,2             ## @P9_DEBUG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EIO\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_P9_RDMA_CLOSING,8,3            ## @P9_RDMA_CLOSING
	.no_dead_strip	_rdma_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdma_request
_rdma_request:                          ; @rdma_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #40
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	add	w0, w8, #4
	ldr	w1, [x24]
	bl	_kmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.3:
	add	x8, x0, #4
	str	x8, [x0]
	ldr	w8, [x20]
	str	w8, [x0, #8]
LBB0_4:
	str	x0, [x21, #32]
	add	x22, x23, #44
	mov	x0, x22
	bl	_atomic_inc_return
	ldr	x8, [x23]
	cmp	x0, x8
	b.le	LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_atomic_dec
	b	LBB0_9
LBB0_6:
	mov	w20, #0
	b	LBB0_15
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_post_recv
	cbz	w0, LBB0_9
; %bb.8:
	mov	x20, x0
	ldr	x0, [x21, #32]
	bl	_kfree
	b	LBB0_14
LBB0_9:
	str	xzr, [x19, #8]
	ldr	w1, [x24]
	mov	w0, #40
	bl	_kmalloc
	mov	x20, x0
	cbz	x0, LBB0_15
; %bb.10:
	str	x19, [x20, #16]
	ldr	x8, [x23, #24]
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldp	w2, w1, [x8]
Lloh2:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_ib_dma_map_single
	mov	x1, x0
	str	w0, [x20, #24]
	ldr	x8, [x23, #24]
	ldr	w0, [x8]
	bl	_ib_dma_mapping_error
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x20, #24]
	str	w8, [sp, #8]
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w9, [x23, #40]
	stp	w9, w8, [sp]
	str	xzr, [sp, #56]
Lloh5:
	adrp	x8, _IB_WC_SEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_WC_SEND@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #12]
Lloh8:
	adrp	x8, _IB_WR_SEND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_WR_SEND@GOTPAGEOFF]
	str	x20, [sp, #24]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IB_SEND_SIGNALED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_SEND_SIGNALED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #48]
	mov	x8, sp
	str	x8, [sp, #40]
	mov	w8, #1
	str	w8, [sp, #32]
	add	x0, x23, #36
	bl	_down_interruptible
	cbz	x0, LBB0_19
LBB0_12:
Lloh14:
	adrp	x8, _P9_DEBUG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P9_DEBUG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_P9_DPRINTK
Lloh19:
	adrp	x8, _EIO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_13:
	mov	w20, #0
	str	xzr, [x21, #32]
LBB0_14:
	mov	x0, x21
	bl	_kfree
LBB0_15:
	add	x19, x23, #16
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x9, [x23, #8]
Lloh22:
	adrp	x8, _P9_RDMA_CLOSING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _P9_RDMA_CLOSING@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_17
; %bb.16:
	str	x8, [x23, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x0, [x23, #24]
	bl	_rdma_disconnect
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_18:
	mov	x0, x20
	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
	add	sp, sp, #128
	ret
LBB0_19:
	ldr	w0, [x23, #32]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_ib_post_send
	mov	x20, x0
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_IB_WC_SEND,4,2                 ; @IB_WC_SEND
	.comm	_IB_WR_SEND,4,2                 ; @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.comm	_P9_DEBUG_ERROR,4,2             ; @P9_DEBUG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EIO\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_P9_RDMA_CLOSING,8,3            ; @P9_RDMA_CLOSING
	.no_dead_strip	_rdma_request
.subsections_via_symbols
