	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mqprio_init
_mqprio_init:                           ## @mqprio_init
	.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	%rsi, %rbx
	movq	%rdi, %r13
	callq	_qdisc_dev
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_qdisc_priv
	movq	%rax, %r15
	movq	_TC_MAX_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TC_QOPT_MAX_QUEUE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	_TC_BITMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TC_QOPT_BITMASK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	(%r13), %rax
	movq	_TC_H_ROOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	callq	_netif_is_multiqueue
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_nla_len
	cmpl	$31, %eax
	jbe	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	_nla_data
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_mqprio_parse_opt
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:
	cmpl	$0, (%r14)
	jle	LBB0_13
## %bb.10:
	xorl	%r12d, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_netdev_get_tx_queue
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	12(%r13), %edi
	callq	_TC_H_MAJ
	movq	%r15, %r14
	movl	%eax, %r15d
	leaq	1(%r12), %rbx
	movl	%ebx, %edi
	callq	_TC_H_MIN
	movl	%r15d, %edi
	movq	%r14, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_TC_H_MAKE
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	_pfifo_fast_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %ecx
	callq	_qdisc_create_dflt
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_TCQ_F_CAN_BYPASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%r12,8)
	movslq	(%r14), %rax
	movq	%rbx, %r12
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_13:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_netdev_set_num_tc
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movl	(%rax,%rbx,4), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_set_tc_queue
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	movq	_TC_BITMASK@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	js	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_set_prio_tc_map
	leaq	1(%rbx), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_18
LBB0_19:
	movq	_TCQ_F_MQROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_mqprio_destroy
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_TC_MAX_QUEUE,8,3               ## @TC_MAX_QUEUE
	.comm	_TC_QOPT_MAX_QUEUE,8,3          ## @TC_QOPT_MAX_QUEUE
	.comm	_TC_BITMASK,4,2                 ## @TC_BITMASK
	.comm	_TC_QOPT_BITMASK,4,2            ## @TC_QOPT_BITMASK
	.comm	_TC_H_ROOT,8,3                  ## @TC_H_ROOT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pfifo_fast_ops,4,2             ## @pfifo_fast_ops
	.comm	_TCQ_F_CAN_BYPASS,4,2           ## @TCQ_F_CAN_BYPASS
	.comm	_TCQ_F_MQROOT,4,2               ## @TCQ_F_MQROOT
	.no_dead_strip	_mqprio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mqprio_init
_mqprio_init:                           ; @mqprio_init
	.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	x21, x1
	mov	x19, x0
	bl	_qdisc_dev
	mov	x20, x0
	mov	x0, x19
	bl	_qdisc_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _TC_MAX_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TC_MAX_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TC_QOPT_MAX_QUEUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TC_QOPT_MAX_QUEUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUILD_BUG_ON
Lloh6:
	adrp	x28, _TC_BITMASK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _TC_BITMASK@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh8:
	adrp	x9, _TC_QOPT_BITMASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TC_QOPT_BITMASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _TC_H_ROOT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TC_H_ROOT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_netif_is_multiqueue
	cbz	w0, LBB0_6
; %bb.2:
	cbz	x21, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_nla_len
	cmp	w0, #31
	b.ls	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_nla_data
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mqprio_parse_opt
	cbz	x0, LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	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_9:
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x22]
	cbz	x0, LBB0_21
; %bb.10:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.11:
	mov	x24, #0
Lloh21:
	adrp	x23, _pfifo_fast_ops@GOTPAGE
Lloh22:
	ldr	x23, [x23, _pfifo_fast_ops@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_netdev_get_tx_queue
	mov	x26, x0
	ldr	w0, [x19, #12]
	bl	_TC_H_MAJ
	mov	x27, x0
	add	x25, x24, #1
	mov	x0, x25
	bl	_TC_H_MIN
	mov	x1, x0
	mov	x0, x27
	bl	_TC_H_MAKE
	mov	x3, x0
	mov	x0, x20
	mov	x1, x26
	mov	x2, x23
	bl	_qdisc_create_dflt
	cbz	x0, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh23:
	adrp	x8, _TCQ_F_CAN_BYPASS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TCQ_F_CAN_BYPASS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	ldr	x8, [x22]
	str	x0, [x8, x24, lsl #3]
	ldrsw	x8, [x20]
	mov	x24, x25
	cmp	x25, x8
	b.lt	LBB0_12
LBB0_14:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_netdev_set_num_tc
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x22, #2
	ldp	x10, x9, [x21, #16]
	ldr	w2, [x9, x8]
	ldr	w3, [x10, x8]
	mov	x0, x20
	mov	x1, x22
	bl	_netdev_set_tc_queue
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_16
LBB0_17:
	ldr	w8, [x28]
	tbnz	w8, #31, LBB0_20
; %bb.18:
	mov	x22, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x20
	mov	x1, x22
	bl	_netdev_set_prio_tc_map
	add	x8, x22, #1
	ldrsw	x9, [x28]
	cmp	x22, x9
	mov	x22, x8
	b.lt	LBB0_19
LBB0_20:
	mov	w20, #0
Lloh26:
	adrp	x8, _TCQ_F_MQROOT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TCQ_F_MQROOT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_21:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x19
	bl	_mqprio_destroy
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_TC_MAX_QUEUE,8,3               ; @TC_MAX_QUEUE
	.comm	_TC_QOPT_MAX_QUEUE,8,3          ; @TC_QOPT_MAX_QUEUE
	.comm	_TC_BITMASK,4,2                 ; @TC_BITMASK
	.comm	_TC_QOPT_BITMASK,4,2            ; @TC_QOPT_BITMASK
	.comm	_TC_H_ROOT,8,3                  ; @TC_H_ROOT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pfifo_fast_ops,4,2             ; @pfifo_fast_ops
	.comm	_TCQ_F_CAN_BYPASS,4,2           ; @TCQ_F_CAN_BYPASS
	.comm	_TCQ_F_MQROOT,4,2               ; @TCQ_F_MQROOT
	.no_dead_strip	_mqprio_init
.subsections_via_symbols
