	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atm_tc_graft
_atm_tc_graft:                          ## @atm_tc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_qdisc_priv
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_pr_debug
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_find_flow
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	movq	_noop_qdisc@GOTPCREL(%rip), %r15
LBB0_4:
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movq	%r15, (%r12)
	movq	(%r14), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_qdisc_reset
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atm_tc_graft(sch %p,[qdisc %p],flow %p,new %p,old %p)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_noop_qdisc,4,2                 ## @noop_qdisc
	.no_dead_strip	_atm_tc_graft
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atm_tc_graft
_atm_tc_graft:                          ; @atm_tc_graft
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	bl	_qdisc_priv
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	mov	x4, x21
	mov	x5, x19
	bl	_pr_debug
	mov	x0, x23
	mov	x1, x20
	bl	_find_flow
	cbz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _noop_qdisc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _noop_qdisc@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x8, x21, eq
	ldr	x9, [x20]
	str	x9, [x19]
	str	x8, [x20]
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_qdisc_reset
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atm_tc_graft(sch %p,[qdisc %p],flow %p,new %p,old %p)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_noop_qdisc,4,2                 ; @noop_qdisc
	.no_dead_strip	_atm_tc_graft
.subsections_via_symbols
