	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qdisc_graft
_qdisc_graft:                           ## @qdisc_graft
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%rcx, %r9
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.31:
	movq	%rsi, %r14
	movq	8(%rsi), %rax
	movq	(%rax), %r12
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testq	%r12, %r12
	je	LBB0_37
## %bb.32:
	cmpq	$0, (%r12)
	je	LBB0_37
## %bb.33:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r14, %rdi
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %esi
	callq	*8(%r12)
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	movq	%rax, %r15
	leaq	16(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	*(%r12)
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*16(%r12)
	jmp	LBB0_36
LBB0_1:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %r15
	movl	(%rdi), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	_TCQ_F_INGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_5
LBB0_3:
	movb	$1, %r12b
	testq	%r13, %r13
	je	LBB0_6
## %bb.4:
	movq	_TCQ_F_INGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_6
LBB0_5:
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
LBB0_6:
	movq	_IFF_UP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, 4(%rdi)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_deactivate
LBB0_8:
	testq	%r13, %r13
	je	LBB0_10
## %bb.9:
	movq	8(%r13), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.23:
	movq	%r13, %rdi
	callq	*%rax
	movq	%r15, 16(%rbp)
	testb	%r12b, %r12b
	je	LBB0_28
## %bb.24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r14
	movq	8(%rax), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_notify_and_destroy
	jmp	LBB0_25
LBB0_10:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %rbx
	leaq	16(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r14d
	cmpl	%r14d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	testb	%r12b, %r12b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_netdev_get_tx_queue
	movq	%rax, %rdi
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rsi
	callq	_dev_graft_qdisc
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_inc
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	testb	%r12b, %r12b
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_qdisc_destroy
	jmp	LBB0_19
LBB0_20:
	movq	%r15, 16(%rbp)
	testb	%r12b, %r12b
	movq	_IFF_UP@GOTPCREL(%rip), %rbx
	je	LBB0_28
## %bb.21:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r14
	movq	8(%rax), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_notify_and_destroy
	testq	%r13, %r13
	je	LBB0_22
LBB0_25:
	movq	8(%r13), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_27
## %bb.26:
	leaq	16(%r13), %rdi
	callq	_atomic_inc
	jmp	LBB0_27
LBB0_28:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_notify_and_destroy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_35:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_36:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_37:
	testl	%ebx, %ebx
	jne	LBB0_39
## %bb.38:
	movq	16(%rbp), %rcx
	movq	%rdx, %rdi
	movq	%r9, %rsi
	movl	%r8d, %edx
	movq	%r13, %r8
	callq	_notify_and_destroy
	xorl	%ebx, %ebx
	jmp	LBB0_39
LBB0_22:
	movq	_noop_qdisc@GOTPCREL(%rip), %r13
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, (%r14)
LBB0_29:
	movl	(%rbx), %eax
	xorl	%ebx, %ebx
	testl	%eax, 4(%rdi)
	je	LBB0_39
## %bb.30:
	callq	_dev_activate
LBB0_39:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCQ_F_INGRESS,4,2              ## @TCQ_F_INGRESS
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_noop_qdisc,24,3                ## @noop_qdisc
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_qdisc_graft
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdisc_graft
_qdisc_graft:                           ; @qdisc_graft
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x5
	mov	x20, x4
	mov	x26, x3
	mov	x22, x2
	str	x6, [sp, #8]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x25, x1
	ldr	x8, [x1, #8]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	cbz	x21, LBB0_5
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x21, #8]
	mov	x0, x25
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_39
; %bb.4:
	mov	x24, x0
	ldr	x8, [x21]
	add	x3, sp, #8
	mov	x0, x25
	mov	x1, x24
	mov	x2, x19
	blr	x8
	mov	x23, x0
	ldr	x8, [x21, #16]
	mov	x0, x25
	mov	x1, x24
	blr	x8
LBB0_5:
	cbnz	w23, LBB0_38
LBB0_6:
	ldr	x3, [sp, #8]
	mov	x0, x22
	mov	x1, x26
	mov	x2, x20
	mov	x4, x19
	bl	_notify_and_destroy
	b	LBB0_38
LBB0_7:
	mov	x24, x6
	mov	x23, x0
	ldr	w28, [x0]
Lloh3:
	adrp	x8, _TCQ_F_INGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCQ_F_INGRESS@GOTPAGEOFF]
	str	x26, [sp]                       ; 8-byte Folded Spill
	cbz	x6, LBB0_9
; %bb.8:
	ldr	w9, [x24]
	ldr	w10, [x8]
	tst	w10, w9
	b.ne	LBB0_11
LBB0_9:
	cbz	x19, LBB0_12
; %bb.10:
	ldr	w9, [x19]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_12
LBB0_11:
	mov	w27, #0
	mov	w28, #1
	b	LBB0_13
LBB0_12:
	mov	w27, #1
LBB0_13:
	ldr	w8, [x23, #4]
Lloh5:
	adrp	x25, _IFF_UP@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IFF_UP@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x23
	bl	_dev_deactivate
LBB0_15:
	cbz	x19, LBB0_19
; %bb.16:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_19
; %bb.17:
	mov	x0, x19
	blr	x8
	str	x24, [sp, #8]
	cbz	w27, LBB0_34
; %bb.18:
	mov	x21, x23
	ldr	x3, [x21, #8]!
	mov	x0, x22
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x20
	mov	x4, x19
	bl	_notify_and_destroy
	b	LBB0_31
LBB0_19:
	cbz	w28, LBB0_29
; %bb.20:
	mov	w25, #0
	add	x21, x23, #16
	add	x26, x19, #16
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	w25, w25, #1
	cmp	w28, w25
	b.eq	LBB0_29
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	cbz	w27, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x23
	mov	x1, x25
	bl	_netdev_get_tx_queue
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x1, x19
	bl	_dev_graft_qdisc
	mov	x24, x0
	cbz	x19, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	cbz	w25, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x26
	bl	_atomic_inc
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	cbz	w27, LBB0_21
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x24
	bl	_qdisc_destroy
	b	LBB0_21
LBB0_29:
	str	x24, [sp, #8]
Lloh7:
	adrp	x25, _IFF_UP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _IFF_UP@GOTPAGEOFF]
	tbz	w27, #0, LBB0_34
; %bb.30:
	mov	x21, x23
	ldr	x3, [x21, #8]!
	mov	x0, x22
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x20
	mov	x4, x19
	bl	_notify_and_destroy
	cbz	x19, LBB0_40
LBB0_31:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_33
; %bb.32:
	add	x0, x19, #16
	bl	_atomic_inc
LBB0_33:
	str	x19, [x21]
	b	LBB0_35
LBB0_34:
	mov	x0, x22
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x24
	mov	x4, x19
	bl	_notify_and_destroy
LBB0_35:
	ldr	w8, [x23, #4]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.36:
	mov	x0, x23
	bl	_dev_activate
LBB0_37:
	mov	w23, #0
LBB0_38:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_39:
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w23, w8
	cbnz	w23, LBB0_38
	b	LBB0_6
LBB0_40:
Lloh12:
	adrp	x19, _noop_qdisc@GOTPAGE
Lloh13:
	ldr	x19, [x19, _noop_qdisc@GOTPAGEOFF]
	str	x19, [x21]
	b	LBB0_35
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TCQ_F_INGRESS,4,2              ; @TCQ_F_INGRESS
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_noop_qdisc,24,3                ; @noop_qdisc
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_qdisc_graft
.subsections_via_symbols
