	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_destroy_qp                  ## -- Begin function ib_destroy_qp
	.p2align	4, 0x90
_ib_destroy_qp:                         ## @ib_destroy_qp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$56, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	%rbx, 48(%rbx)
	je	LBB0_3
## %bb.15:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___ib_destroy_shared_qp         ## TAILCALL
LBB0_3:
	movq	40(%rbx), %r14
	movq	32(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %r13
	movq	16(%rbx), %r12
	movq	(%rbx), %rax
	movq	8(%rbx), %r15
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_atomic_dec
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_atomic_dec
LBB0_8:
	testq	%r13, %r13
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_atomic_dec
LBB0_10:
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_atomic_dec
LBB0_12:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_atomic_dec
	jmp	LBB0_14
	.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                  ; -- Begin function ib_destroy_qp
	.p2align	2
_ib_destroy_qp:                         ; @ib_destroy_qp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x0
	add	x0, x0, #56
	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	w0, w8
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x23, #48]
	cmp	x8, x23
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___ib_destroy_shared_qp
LBB0_5:
	ldp	x22, x24, [x23, #32]
	ldp	x20, x21, [x23, #16]
	ldp	x8, x19, [x23]
	ldr	x8, [x8]
	mov	x0, x23
	blr	x8
	cbnz	w0, LBB0_2
; %bb.6:
	cbz	x24, LBB0_8
; %bb.7:
	mov	x0, x24
	bl	_atomic_dec
LBB0_8:
	cbz	x22, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_atomic_dec
LBB0_10:
	cbz	x21, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_atomic_dec
LBB0_12:
	cbz	x20, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_atomic_dec
LBB0_14:
	cbz	x19, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_atomic_dec
LBB0_16:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
