	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multiq_tune
_multiq_tune:                           ## @multiq_tune
	.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	%rsi, %rbx
	movq	%rdi, %r13
	callq	_qdisc_priv
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_qdisc_dev
	movq	%rax, %rdi
	callq	_netif_is_multiqueue
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_nla_len
	cmpl	$3, %eax
	ja	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_5:
	movq	%rbx, %rdi
	callq	_nla_data
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_qdisc_dev
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r13, %rdi
	callq	_sch_tree_lock
	movslq	(%rbx), %rbx
	movl	%ebx, (%r12)
	movl	4(%r12), %eax
	cmpl	%eax, %ebx
	jge	LBB0_10
## %bb.6:
	movq	_noop_qdisc@GOTPCREL(%rip), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %r14
	cmpq	%r15, %r14
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, (%rcx,%rbx,8)
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	_qdisc_tree_decrease_qlen
	movq	%r14, %rdi
	callq	_qdisc_destroy
	movl	4(%r12), %eax
	jmp	LBB0_9
LBB0_10:
	movq	%r13, %rdi
	callq	_sch_tree_unlock
	cmpl	$0, (%r12)
	jle	LBB0_20
## %bb.11:
	xorl	%ebx, %ebx
	movq	_noop_qdisc@GOTPCREL(%rip), %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	%rbx, %r14
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movslq	(%r12), %rax
	movq	%r14, %rbx
	cmpq	%rax, %r14
	jge	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	cmpq	%r15, (%rax,%rbx,8)
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	callq	_qdisc_dev
	movq	%rax, %r15
	movl	4(%r13), %edi
	movl	8(%r13), %r12d
	leaq	1(%rbx), %r14
	movl	%r14d, %esi
	callq	_TC_H_MAKE
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	_pfifo_qdisc_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %ecx
	callq	_qdisc_create_dflt
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r15
	movq	%r13, %r12
	movq	%r13, %rdi
	callq	_sch_tree_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r15, (%rax,%rbx,8)
	movq	_noop_qdisc@GOTPCREL(%rip), %r15
	cmpq	%r15, %r13
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %esi
	movq	%r13, %rdi
	callq	_qdisc_tree_decrease_qlen
	movq	%r13, %rdi
	callq	_qdisc_destroy
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %r13
	movq	%r12, %rdi
	callq	_sch_tree_unlock
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	_noop_qdisc@GOTPCREL(%rip), %r15
	jmp	LBB0_19
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_noop_qdisc,12,2                ## @noop_qdisc
	.comm	_pfifo_qdisc_ops,4,2            ## @pfifo_qdisc_ops
	.no_dead_strip	_multiq_tune
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multiq_tune
_multiq_tune:                           ; @multiq_tune
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_qdisc_priv
	mov	x20, x0
	mov	x0, x19
	bl	_qdisc_dev
	bl	_netif_is_multiqueue
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_nla_len
	cmp	w0, #3
	b.hi	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_5:
	mov	x0, x21
	bl	_nla_data
	mov	x21, x0
	mov	x0, x19
	bl	_qdisc_dev
	ldr	w8, [x0]
	str	w8, [x21]
	mov	x0, x19
	bl	_sch_tree_lock
	ldrsw	x22, [x21]
	str	w22, [x20]
	ldr	w8, [x20, #4]
Lloh4:
	adrp	x25, _noop_qdisc@GOTPAGE
Lloh5:
	ldr	x25, [x25, _noop_qdisc@GOTPAGEOFF]
	cmp	w22, w8
	b.lt	LBB0_9
LBB0_6:
	mov	x0, x19
	bl	_sch_tree_unlock
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.7:
	mov	x26, #0
Lloh6:
	adrp	x21, _pfifo_qdisc_ops@GOTPAGE
Lloh7:
	ldr	x21, [x21, _pfifo_qdisc_ops@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_6
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x21, [x9, x22, lsl #3]
	cmp	x21, x25
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x25, [x9, x22, lsl #3]
	ldr	w1, [x21]
	mov	x0, x21
	bl	_qdisc_tree_decrease_qlen
	mov	x0, x21
	bl	_qdisc_destroy
	ldr	w8, [x20, #4]
	b	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x26, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x8, [x20]
	mov	x26, x22
	cmp	x22, x8
	b.ge	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x8, x25
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_qdisc_dev
	mov	x23, x0
	ldp	w0, w24, [x19, #4]
	add	x22, x26, #1
	mov	x1, x22
	bl	_TC_H_MAKE
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_qdisc_create_dflt
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x0
	mov	x0, x19
	bl	_sch_tree_lock
	ldr	x8, [x20, #8]
	lsl	x9, x26, #3
	ldr	x23, [x8, x9]
	str	x24, [x8, x9]
	cmp	x23, x25
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x23]
	mov	x0, x23
	bl	_qdisc_tree_decrease_qlen
	mov	x0, x23
	bl	_qdisc_destroy
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_sch_tree_unlock
	b	LBB0_12
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_noop_qdisc,12,2                ; @noop_qdisc
	.comm	_pfifo_qdisc_ops,4,2            ; @pfifo_qdisc_ops
	.no_dead_strip	_multiq_tune
.subsections_via_symbols
