	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_qos_policy_destroy         ## -- Begin function osm_qos_policy_destroy
	.p2align	4, 0x90
_osm_qos_policy_destroy:                ## @osm_qos_policy_destroy
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	24(%rdi), %r15
	movq	%r15, %rdi
	callq	_cl_list_head
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_next
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_list_end
	cmpq	%rax, %rbx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_obj
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_osm_qos_policy_port_group_destroy
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_cl_list_remove_all
	movq	%r15, %rdi
	callq	_cl_list_destroy
	leaq	20(%r14), %r15
	movq	%r15, %rdi
	callq	_cl_list_head
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_next
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_list_end
	cmpq	%rax, %rbx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_obj
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	callq	_osm_qos_policy_vlarb_scope_destroy
	jmp	LBB0_10
LBB0_11:
	movq	%r15, %rdi
	callq	_cl_list_remove_all
	movq	%r15, %rdi
	callq	_cl_list_destroy
	leaq	16(%r14), %r15
	movq	%r15, %rdi
	callq	_cl_list_head
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_next
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_list_end
	cmpq	%rax, %rbx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_obj
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rdi
	callq	_osm_qos_policy_sl2vl_scope_destroy
	jmp	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	callq	_cl_list_remove_all
	movq	%r15, %rdi
	callq	_cl_list_destroy
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_cl_list_head
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_next
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_list_end
	cmpq	%rax, %rbx
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_obj
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rax, %rdi
	callq	_osm_qos_policy_qos_level_destroy
	jmp	LBB0_20
LBB0_21:
	movq	%r15, %rdi
	callq	_cl_list_remove_all
	movq	%r15, %rdi
	callq	_cl_list_destroy
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_cl_list_head
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_next
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_list_end
	cmpq	%rax, %rbx
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	callq	_cl_list_obj
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, %rdi
	callq	_osm_qos_policy_match_rule_destroy
	jmp	LBB0_25
LBB0_26:
	movq	%r15, %rdi
	callq	_cl_list_remove_all
	movq	%r15, %rdi
	callq	_cl_list_destroy
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	callq	_st_free_table
LBB0_28:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_29:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_qos_policy_destroy         ; -- Begin function osm_qos_policy_destroy
	.p2align	2
_osm_qos_policy_destroy:                ; @osm_qos_policy_destroy
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_29
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	add	x20, x0, #24
	mov	x0, x20
	bl	_cl_list_head
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_cl_list_next
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_cl_list_end
	cmp	x21, x0
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_cl_list_obj
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_osm_qos_policy_port_group_destroy
	b	LBB0_2
LBB0_6:
	mov	x0, x20
	bl	_cl_list_remove_all
	mov	x0, x20
	bl	_cl_list_destroy
	add	x20, x19, #20
	mov	x0, x20
	bl	_cl_list_head
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_cl_list_next
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_cl_list_end
	cmp	x21, x0
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_cl_list_obj
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_osm_qos_policy_vlarb_scope_destroy
	b	LBB0_7
LBB0_11:
	mov	x0, x20
	bl	_cl_list_remove_all
	mov	x0, x20
	bl	_cl_list_destroy
	add	x20, x19, #16
	mov	x0, x20
	bl	_cl_list_head
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_cl_list_next
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_cl_list_end
	cmp	x21, x0
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_cl_list_obj
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_osm_qos_policy_sl2vl_scope_destroy
	b	LBB0_12
LBB0_16:
	mov	x0, x20
	bl	_cl_list_remove_all
	mov	x0, x20
	bl	_cl_list_destroy
	add	x20, x19, #12
	mov	x0, x20
	bl	_cl_list_head
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_cl_list_next
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_cl_list_end
	cmp	x21, x0
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_cl_list_obj
	cbz	x0, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	bl	_osm_qos_policy_qos_level_destroy
	b	LBB0_17
LBB0_21:
	mov	x0, x20
	bl	_cl_list_remove_all
	mov	x0, x20
	bl	_cl_list_destroy
	add	x20, x19, #8
	mov	x0, x20
	bl	_cl_list_head
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x21
	bl	_cl_list_next
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	mov	x0, x20
	bl	_cl_list_end
	cmp	x21, x0
	b.eq	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x21
	bl	_cl_list_obj
	cbz	x0, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	bl	_osm_qos_policy_match_rule_destroy
	b	LBB0_22
LBB0_26:
	mov	x0, x20
	bl	_cl_list_remove_all
	mov	x0, x20
	bl	_cl_list_destroy
	ldr	x0, [x19]
	cbz	x0, LBB0_28
; %bb.27:
	bl	_st_free_table
LBB0_28:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
LBB0_29:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
