	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netem_change
_netem_change:                          ## @netem_change
	.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, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_qdisc_priv
	movq	%rax, %r12
	movq	_TCA_NETEM_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_nla_data
	movq	%r13, %rdi
	movq	%rax, %r13
	movl	(%r14), %esi
	movq	_netem_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdi, %r14
	movq	%r15, %rdx
	movl	$32, %r8d
	callq	_parse_attr
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	44(%r12), %edi
	movl	16(%r13), %esi
	callq	_fifo_set_limit
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	jmp	LBB0_16
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_3:
	movl	%eax, %ebx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	24(%r13), %eax
	movl	%eax, 40(%r12)
	movl	20(%r13), %eax
	movl	%eax, 36(%r12)
	movl	16(%r13), %eax
	movl	%eax, 32(%r12)
	movq	8(%r13), %rax
	movq	%rax, 8(%r12)
	movq	$0, 24(%r12)
	movl	4(%r13), %ecx
	movl	%ecx, 20(%r12)
	movl	(%r13), %ecx
	movl	%ecx, 16(%r12)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$-1, (%r12)
LBB0_8:
	movq	_TCA_NETEM_CORR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, %r15
	movq	(%r14,%rax,8), %rsi
	testq	%rsi, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_get_correlation
LBB0_10:
	movq	_TCA_NETEM_DELAY_DIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_get_dist_table
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
LBB0_12:
	movq	_TCA_NETEM_REORDER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_get_reorder
LBB0_14:
	movq	_TCA_NETEM_CORRUPT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rsi
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_get_corrupt
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_NETEM_MAX,4,2              ## @TCA_NETEM_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_netem_policy,4,2               ## @netem_policy
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netem: can't set fifo limit\n"

	.comm	_TCA_NETEM_CORR,8,3             ## @TCA_NETEM_CORR
	.comm	_TCA_NETEM_DELAY_DIST,8,3       ## @TCA_NETEM_DELAY_DIST
	.comm	_TCA_NETEM_REORDER,8,3          ## @TCA_NETEM_REORDER
	.comm	_TCA_NETEM_CORRUPT,8,3          ## @TCA_NETEM_CORRUPT
	.no_dead_strip	_netem_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netem_change
_netem_change:                          ; @netem_change
	.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
	sub	sp, sp, #16
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_qdisc_priv
	mov	x21, x0
Lloh3:
	adrp	x24, _TCA_NETEM_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCA_NETEM_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cbz	x22, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_nla_data
	mov	x23, x0
	ldr	w1, [x24]
Lloh7:
	adrp	x8, _netem_policy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _netem_policy@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	w4, #32
	bl	_parse_attr
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w0, [x21, #44]
	ldr	w1, [x23, #16]
	bl	_fifo_set_limit
	cbz	w0, LBB0_6
; %bb.3:
	mov	x22, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	b	LBB0_17
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_17
LBB0_5:
	mov	x22, x0
	b	LBB0_17
LBB0_6:
	ldr	w8, [x23, #24]
	str	w8, [x21, #40]
	ldr	d0, [x23, #16]
	str	d0, [x21, #32]
	ldr	x8, [x23, #8]
	str	x8, [x21, #8]
	str	xzr, [x21, #24]
	ldr	d0, [x23]
	str	d0, [x21, #16]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w8, #-1
	str	w8, [x21]
LBB0_8:
Lloh15:
	adrp	x8, _TCA_NETEM_CORR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TCA_NETEM_CORR@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_get_correlation
LBB0_10:
Lloh18:
	adrp	x8, _TCA_NETEM_DELAY_DIST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCA_NETEM_DELAY_DIST@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_get_dist_table
	mov	x22, x0
	cbnz	w0, LBB0_17
LBB0_12:
Lloh21:
	adrp	x8, _TCA_NETEM_REORDER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TCA_NETEM_REORDER@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_get_reorder
LBB0_14:
Lloh24:
	adrp	x8, _TCA_NETEM_CORRUPT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TCA_NETEM_CORRUPT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_get_corrupt
LBB0_16:
	mov	w22, #0
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	sub	sp, x29, #48
	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
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_NETEM_MAX,4,2              ; @TCA_NETEM_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_netem_policy,4,2               ; @netem_policy
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netem: can't set fifo limit\n"

	.comm	_TCA_NETEM_CORR,8,3             ; @TCA_NETEM_CORR
	.comm	_TCA_NETEM_DELAY_DIST,8,3       ; @TCA_NETEM_DELAY_DIST
	.comm	_TCA_NETEM_REORDER,8,3          ; @TCA_NETEM_REORDER
	.comm	_TCA_NETEM_CORRUPT,8,3          ; @TCA_NETEM_CORRUPT
	.no_dead_strip	_netem_change
.subsections_via_symbols
