	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_uverbs_ex_modify_cq
_ib_uverbs_ex_modify_cq:                ## @ib_uverbs_ex_modify_cq
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-48(%rbp), %rsi
	movl	$32, %edx
	callq	_uverbs_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, -24(%rbp)
	jne	LBB0_3
## %bb.5:
	movq	_IB_CQ_MODERATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
## %bb.6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_UVERBS_OBJECT_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-32(%rbp), %edx
	movq	%r14, %rcx
	callq	_uobj_get_obj_read
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%rax, %r14
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %esi
	movq	%rax, %rdi
	callq	_rdma_set_cq_moderation
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_uobj_put_obj_read
	jmp	LBB0_9
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_CQ_MODERATE,8,3             ## @IB_CQ_MODERATE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_UVERBS_OBJECT_CQ,4,2           ## @UVERBS_OBJECT_CQ
	.no_dead_strip	_ib_uverbs_ex_modify_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_uverbs_ex_modify_cq
_ib_uverbs_ex_modify_cq:                ; @ib_uverbs_ex_modify_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x1, sp
	mov	w2, #32
	bl	_uverbs_request
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [sp]
	ldr	x9, [sp, #24]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.eq	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x9, _IB_CQ_MODERATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_CQ_MODERATE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
Lloh7:
	adrp	x8, _UVERBS_OBJECT_CQ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UVERBS_OBJECT_CQ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [sp, #16]
	mov	x3, x19
	bl	_uobj_get_obj_read
	cbz	x0, LBB0_2
; %bb.8:
	mov	x19, x0
	ldp	w2, w1, [sp, #8]
	bl	_rdma_set_cq_moderation
	mov	x20, x0
	mov	x0, x19
	bl	_uobj_put_obj_read
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_CQ_MODERATE,8,3             ; @IB_CQ_MODERATE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_UVERBS_OBJECT_CQ,4,2           ; @UVERBS_OBJECT_CQ
	.no_dead_strip	_ib_uverbs_ex_modify_cq
.subsections_via_symbols
