	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_destroy_qp_user             ## -- Begin function ib_destroy_qp_user
	.p2align	4, 0x90
_ib_destroy_qp_user:                    ## @ib_destroy_qp_user
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	88(%rdi), %r12
	movq	96(%rdi), %r15
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	setg	%dil
	callq	_WARN_ON_ONCE
	leaq	80(%r13), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	%r13, 72(%r13)
	je	LBB0_3
## %bb.27:
	movq	%r13, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___ib_destroy_shared_qp         ## TAILCALL
LBB0_3:
	movq	64(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	56(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	48(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	40(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	32(%r13), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ib_destroy_qp_security_begin
LBB0_5:
	cmpl	$0, 20(%r13)
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_rdma_rw_cleanup_mrs
LBB0_7:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_rdma_counter_unbind_qp
	leaq	16(%r13), %rdi
	callq	_rdma_restrack_del
	movq	8(%r13), %rax
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.24:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_ib_destroy_qp_security_abort
	jmp	LBB0_26
LBB0_8:
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_rdma_put_gid_attr
LBB0_10:
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_rdma_put_gid_attr
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_atomic_dec
LBB0_14:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_atomic_dec
LBB0_16:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_atomic_dec
LBB0_18:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_atomic_dec
LBB0_20:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_atomic_dec
LBB0_22:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.23:
	callq	_ib_destroy_qp_security_end
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_destroy_qp_user             ; -- Begin function ib_destroy_qp_user
	.p2align	2
_ib_destroy_qp_user:                    ; @ib_destroy_qp_user
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x1
	mov	x28, x0
	ldp	x22, x24, [x0, #88]
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, gt
	bl	_WARN_ON_ONCE
	add	x0, x28, #80
	bl	_atomic_read
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_2:
	mov	x0, x27
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x28, #72]
	cmp	x8, x28
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x28
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	___ib_destroy_shared_qp
LBB0_5:
	ldp	x25, x26, [x28, #56]
	ldp	x21, x23, [x28, #40]
	ldp	x19, x20, [x28, #24]
	cbz	x19, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ib_destroy_qp_security_begin
LBB0_7:
	ldr	w8, [x28, #20]
	cbnz	w8, LBB0_9
; %bb.8:
	mov	x0, x28
	bl	_rdma_rw_cleanup_mrs
LBB0_9:
	mov	x0, x28
	mov	w1, #1
	bl	_rdma_counter_unbind_qp
	add	x0, x28, #16
	bl	_rdma_restrack_del
	ldr	x8, [x28, #8]
	ldr	x8, [x8]
	mov	x0, x28
	mov	x1, x27
	blr	x8
	cbz	w0, LBB0_12
; %bb.10:
	mov	x27, x0
	cbz	x19, LBB0_2
; %bb.11:
	mov	x0, x19
	bl	_ib_destroy_qp_security_abort
	b	LBB0_2
LBB0_12:
	cbz	x24, LBB0_14
; %bb.13:
	mov	x0, x24
	bl	_rdma_put_gid_attr
LBB0_14:
	cbz	x22, LBB0_16
; %bb.15:
	mov	x0, x22
	bl	_rdma_put_gid_attr
LBB0_16:
	cbz	x26, LBB0_18
; %bb.17:
	mov	x0, x26
	bl	_atomic_dec
LBB0_18:
	cbz	x25, LBB0_20
; %bb.19:
	mov	x0, x25
	bl	_atomic_dec
LBB0_20:
	cbz	x23, LBB0_22
; %bb.21:
	mov	x0, x23
	bl	_atomic_dec
LBB0_22:
	cbz	x21, LBB0_24
; %bb.23:
	mov	x0, x21
	bl	_atomic_dec
LBB0_24:
	cbz	x20, LBB0_26
; %bb.25:
	mov	x0, x20
	bl	_atomic_dec
LBB0_26:
	cbz	x19, LBB0_28
; %bb.27:
	mov	x0, x19
	bl	_ib_destroy_qp_security_end
LBB0_28:
	mov	w27, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
