	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_post_send                 ## -- Begin function iser_post_send
	.p2align	4, 0x90
_iser_post_send:                        ## @iser_post_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	movl	8(%rsi), %esi
	movq	_ISER_HEADERS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_sync_single_for_device
	movq	$0, -24(%rbp)
	movq	%rbx, -48(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	_IB_WR_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%r14, %rdi
	callq	_atomic_inc
	movl	4(%r14), %edi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_ib_post_send
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_iser_err
	movq	%r14, %rdi
	callq	_atomic_dec
LBB0_2:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISER_HEADERS_LEN,4,2           ## @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_IB_WR_SEND,4,2                 ## @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ib_post_send failed, ret:%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_post_send                 ; -- Begin function iser_post_send
	.p2align	2
_iser_post_send:                        ; @iser_post_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	ldr	w1, [x1, #8]
Lloh0:
	adrp	x8, _ISER_HEADERS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISER_HEADERS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_ib_dma_sync_single_for_device
	str	xzr, [sp, #40]
	str	x20, [sp, #16]
	ldr	d0, [x20]
	str	d0, [sp, #32]
Lloh6:
	adrp	x8, _IB_WR_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_WR_SEND@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IB_SEND_SIGNALED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_SEND_SIGNALED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	mov	x0, x19
	bl	_atomic_inc
	ldr	w0, [x19, #4]
	add	x1, sp, #16
	add	x2, sp, #8
	bl	_ib_post_send
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_iser_err
	mov	x0, x19
	bl	_atomic_dec
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ISER_HEADERS_LEN,4,2           ; @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_IB_WR_SEND,4,2                 ; @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib_post_send failed, ret:%d\n"

.subsections_via_symbols
