	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfsc_init_qdisc
_hfsc_init_qdisc:                       ## @hfsc_init_qdisc
	.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, %r14
	callq	_qdisc_priv
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_nla_len
	cmpl	$3, %eax
	ja	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_nla_data
	movl	(%rax), %eax
	movl	%eax, 72(%r13)
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_qdisc_class_hash_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	_RB_ROOT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 64(%r13)
	leaq	56(%r13), %rdi
	callq	_INIT_LIST_HEAD
	movl	(%r14), %eax
	leaq	12(%r13), %r12
	movl	%eax, 12(%r13)
	movl	$1, 8(%r13)
	movq	%r13, 48(%r13)
	movq	%r14, %rdi
	callq	_qdisc_dev
	movl	(%r14), %ecx
	movl	4(%r14), %esi
	movq	_pfifo_qdisc_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %edi
	callq	_qdisc_create_dflt
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_noop_qdisc@GOTPCREL(%rip), %rax
LBB0_6:
	movq	%rax, 40(%r13)
	movq	%r13, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%rbx), %rax
	movq	%rax, 24(%r13)
	movq	%rax, 16(%r13)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qdisc_class_hash_insert
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qdisc_class_hash_grow
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qdisc_watchdog_init
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RB_ROOT,8,3                    ## @RB_ROOT
	.comm	_pfifo_qdisc_ops,4,2            ## @pfifo_qdisc_ops
	.comm	_noop_qdisc,4,2                 ## @noop_qdisc
	.no_dead_strip	_hfsc_init_qdisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfsc_init_qdisc
_hfsc_init_qdisc:                       ; @hfsc_init_qdisc
	.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	x21, x1
	mov	x19, x0
	bl	_qdisc_priv
	cbz	x21, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_nla_len
	cmp	w0, #3
	b.hi	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_nla_data
	ldr	w8, [x0]
	str	w8, [x20, #72]
	add	x21, x20, #4
	mov	x0, x21
	bl	_qdisc_class_hash_init
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh3:
	adrp	x23, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RB_ROOT@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [x20, #64]
	add	x0, x20, #56
	bl	_INIT_LIST_HEAD
	ldr	w8, [x19]
	mov	x22, x20
	str	w8, [x22, #12]!
	mov	w8, #1
	str	w8, [x20, #8]
	str	x20, [x20, #48]
	mov	x0, x19
	bl	_qdisc_dev
	ldp	w3, w1, [x19]
Lloh5:
	adrp	x2, _pfifo_qdisc_ops@GOTPAGE
Lloh6:
	ldr	x2, [x2, _pfifo_qdisc_ops@GOTPAGEOFF]
	bl	_qdisc_create_dflt
Lloh7:
	adrp	x8, _noop_qdisc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _noop_qdisc@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [x20, #40]
	add	x0, x20, #32
	bl	_INIT_LIST_HEAD
	ldr	x8, [x23]
	stp	x8, x8, [x20, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_qdisc_class_hash_insert
	mov	x0, x19
	mov	x1, x21
	bl	_qdisc_class_hash_grow
	mov	x0, x20
	mov	x1, x19
	bl	_qdisc_watchdog_init
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RB_ROOT,8,3                    ; @RB_ROOT
	.comm	_pfifo_qdisc_ops,4,2            ; @pfifo_qdisc_ops
	.comm	_noop_qdisc,4,2                 ; @noop_qdisc
	.no_dead_strip	_hfsc_init_qdisc
.subsections_via_symbols
