	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_congestion_control_destroy ## -- Begin function osm_congestion_control_destroy
	.p2align	4, 0x90
_osm_congestion_control_destroy:        ## @osm_congestion_control_destroy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	(%rdi), %edi
	callq	_OSM_LOG_ENTER
	movq	_OSM_THREAD_STATE_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	leaq	4(%r13), %r14
	movq	%r14, %rdi
	callq	_cl_event_signal
	leaq	12(%r13), %r15
	movq	%r15, %rdi
	callq	_cl_event_signal
	leaq	28(%r13), %rdi
	callq	_cl_thread_destroy
	leaq	16(%r13), %r12
	movq	%r12, %rdi
	callq	_cl_spinlock_acquire
	leaq	24(%r13), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_cl_is_qlist_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_cl_qlist_remove_head
	movl	20(%r13), %edi
	movq	%rax, %rsi
	callq	_osm_mad_pool_put
	jmp	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_cl_spinlock_release
	movq	%r12, %rdi
	callq	_cl_spinlock_destroy
	movq	%r15, %rdi
	callq	_cl_event_destroy
	leaq	8(%r13), %rdi
	callq	_cl_event_destroy
	movq	%r14, %rdi
	callq	_cl_event_destroy
	movl	(%r13), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG_EXIT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_THREAD_STATE_EXIT,4,2      ## @OSM_THREAD_STATE_EXIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_congestion_control_destroy ; -- Begin function osm_congestion_control_destroy
	.p2align	2
_osm_congestion_control_destroy:        ; @osm_congestion_control_destroy
	.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	x19, x0
	ldr	w0, [x0]
	bl	_OSM_LOG_ENTER
Lloh0:
	adrp	x8, _OSM_THREAD_STATE_EXIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_THREAD_STATE_EXIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	add	x20, x19, #4
	mov	x0, x20
	bl	_cl_event_signal
	add	x21, x19, #12
	mov	x0, x21
	bl	_cl_event_signal
	add	x0, x19, #28
	bl	_cl_thread_destroy
	add	x22, x19, #16
	mov	x0, x22
	bl	_cl_spinlock_acquire
	add	x23, x19, #24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_cl_is_qlist_empty
	cbnz	w0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_cl_qlist_remove_head
	mov	x1, x0
	ldr	w0, [x19, #20]
	bl	_osm_mad_pool_put
	b	LBB0_1
LBB0_3:
	mov	x0, x22
	bl	_cl_spinlock_release
	mov	x0, x22
	bl	_cl_spinlock_destroy
	mov	x0, x21
	bl	_cl_event_destroy
	add	x0, x19, #8
	bl	_cl_event_destroy
	mov	x0, x20
	bl	_cl_event_destroy
	ldr	w0, [x19]
	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	_OSM_LOG_EXIT
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_THREAD_STATE_EXIT,4,2      ; @OSM_THREAD_STATE_EXIT
.subsections_via_symbols
