	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_uverbs_resize_cq
_ib_uverbs_resize_cq:                   ## @ib_uverbs_resize_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$0, -32(%rbp)
	leaq	-40(%rbp), %rsi
	movl	$8, %edx
	callq	_uverbs_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_UVERBS_OBJECT_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %edx
	movq	%r15, %rcx
	callq	_uobj_get_obj_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %eax
	movl	%eax, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_uverbs_response
	movl	%eax, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_uobj_put_obj_read
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UVERBS_OBJECT_CQ,4,2           ## @UVERBS_OBJECT_CQ
	.no_dead_strip	_ib_uverbs_resize_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_resize_cq
_ib_uverbs_resize_cq:                   ; @ib_uverbs_resize_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	wzr, [sp]
	add	x1, sp, #8
	mov	w2, #8
	bl	_uverbs_request
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _UVERBS_OBJECT_CQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVERBS_OBJECT_CQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [sp, #12]
	mov	x3, x19
	bl	_uobj_get_obj_read
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w1, [sp, #8]
	mov	x2, x19
	blr	x8
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #4
	bl	_uverbs_response
	mov	x21, x0
LBB0_4:
	mov	x0, x20
	bl	_uobj_put_obj_read
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UVERBS_OBJECT_CQ,4,2           ; @UVERBS_OBJECT_CQ
	.no_dead_strip	_ib_uverbs_resize_cq
.subsections_via_symbols
