	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_set_ok_cqe_resp_wc
_qedr_set_ok_cqe_resp_wc:               ## @qedr_set_ok_cqe_resp_wc
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rsi)
	movl	8(%rdi), %edi
	callq	_le32_to_cpu
	movq	%rax, 24(%rbx)
	movl	(%r14), %eax
	movq	_QEDR_RESP_IMM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %rdi
	callq	_cpu_to_be32
	movq	%rax, 8(%rbx)
	movq	_IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movl	(%r14), %eax
	movq	_QEDR_RESP_RDMA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_IB_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
LBB0_3:
	movq	_QEDR_RESP_INV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	movq	_QEDR_RESP_INV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	movq	_IB_WC_WITH_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_QEDR_RESP_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_9
LBB0_4:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_QEDR_RESP_RDMA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_9
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_QEDR_RESP_IMM,4,2              ## @QEDR_RESP_IMM
	.comm	_IB_WC_WITH_IMM,4,2             ## @IB_WC_WITH_IMM
	.comm	_QEDR_RESP_RDMA,4,2             ## @QEDR_RESP_RDMA
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ## @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_QEDR_RESP_INV,4,2              ## @QEDR_RESP_INV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ## @IB_WC_WITH_INVALIDATE
	.no_dead_strip	_qedr_set_ok_cqe_resp_wc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_set_ok_cqe_resp_wc
_qedr_set_ok_cqe_resp_wc:               ; @qedr_set_ok_cqe_resp_wc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #32]
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	str	x0, [x19, #24]
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _QEDR_RESP_IMM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QEDR_RESP_IMM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	bl	_cpu_to_be32
	str	x0, [x19, #8]
Lloh6:
	adrp	x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _QEDR_RESP_RDMA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QEDR_RESP_RDMA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x9, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x19, #16]
LBB0_3:
Lloh15:
	adrp	x9, _QEDR_RESP_INV@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QEDR_RESP_INV@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh17:
	adrp	x9, _QEDR_RESP_INV@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QEDR_RESP_INV@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	str	x0, [x19, #8]
Lloh20:
	adrp	x8, _IB_WC_WITH_INVALIDATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IB_WC_WITH_INVALIDATE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x20]
LBB0_6:
Lloh23:
	adrp	x9, _QEDR_RESP_RDMA@GOTPAGE
Lloh24:
	ldr	x9, [x9, _QEDR_RESP_RDMA@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_QEDR_RESP_IMM,4,2              ; @QEDR_RESP_IMM
	.comm	_IB_WC_WITH_IMM,4,2             ; @IB_WC_WITH_IMM
	.comm	_QEDR_RESP_RDMA,4,2             ; @QEDR_RESP_RDMA
	.comm	_IB_WC_RECV_RDMA_WITH_IMM,4,2   ; @IB_WC_RECV_RDMA_WITH_IMM
	.comm	_QEDR_RESP_INV,4,2              ; @QEDR_RESP_INV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ; @IB_WC_WITH_INVALIDATE
	.no_dead_strip	_qedr_set_ok_cqe_resp_wc
.subsections_via_symbols
