	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_bandwidth
_read_bandwidth:                        ## @read_bandwidth
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	cmpl	$-1, (%rsi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
LBB0_2:
	movb	(%r12), %al
	addb	$-97, %al
	cmpb	$25, %al
	ja	LBB0_8
## %bb.3:
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_5:
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_warn
LBB0_7:
	decl	%ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movl	$0, (%r15)
	jmp	LBB0_23
LBB0_8:
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, %r12d
	movq	-40(%rbp), %rbx
	movb	(%rbx), %al
	leal	-71(%rax), %ecx
	cmpb	$38, %cl
	ja	LBB0_15
## %bb.9:
	movzbl	%cl, %ecx
	movabsq	$4294967297, %rdx               ## imm = 0x100000001
	btq	%rcx, %rdx
	jb	LBB0_13
## %bb.10:
	movabsq	$68719476752, %rdx              ## imm = 0x1000000010
	btq	%rcx, %rdx
	jb	LBB0_24
## %bb.11:
	movabsq	$274877907008, %rdx             ## imm = 0x4000000040
	btq	%rcx, %rdx
	jae	LBB0_15
## %bb.12:
	incq	%rbx
	movq	%rbx, -40(%rbp)
	movl	$1000000, %eax                  ## imm = 0xF4240
	jmp	LBB0_14
LBB0_13:
	incq	%rbx
	movq	%rbx, -40(%rbp)
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	jmp	LBB0_14
LBB0_24:
	incq	%rbx
	movl	$1000, %eax                     ## imm = 0x3E8
LBB0_14:
	imull	%eax, %r12d
	movb	(%rbx), %al
LBB0_15:
	cmpb	$66, %al
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	__substrcmp2
	testq	%rax, %rax
	jne	LBB0_18
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	callq	__substrcmp2
	testq	%rax, %rax
	jne	LBB0_19
LBB0_18:
	shll	$3, %r12d
LBB0_19:
	testl	%r12d, %r12d
	jns	LBB0_21
## %bb.20:
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_errx
LBB0_21:
	movl	%r12d, (%r15)
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	movb	$0, (%r14)
LBB0_23:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"duplicate token, override bandwidth value!"

L_.str.1:                               ## @.str.1
	.asciz	"no if support"

	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
L_.str.2:                               ## @.str.2
	.asciz	"interface name truncated"

L_.str.3:                               ## @.str.3
	.asciz	"Bi"

L_.str.4:                               ## @.str.4
	.asciz	"Bit/s"

L_.str.5:                               ## @.str.5
	.asciz	"by"

L_.str.6:                               ## @.str.6
	.asciz	"bytes"

	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
L_.str.7:                               ## @.str.7
	.asciz	"bandwidth too large"

	.no_dead_strip	_read_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_bandwidth
_read_bandwidth:                        ; @read_bandwidth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x1]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_2:
	ldrb	w8, [x21]
	sub	w8, w8, #97
	cmp	w8, #25
	b.hi	LBB0_8
; %bb.3:
	cbnz	x20, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_5:
Lloh4:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w22
	b.gt	LBB0_7
; %bb.6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
LBB0_7:
	sub	w2, w22, #1
	mov	x0, x20
	mov	x1, x21
	bl	_strlcpy
	str	wzr, [x19]
	b	LBB0_22
LBB0_8:
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #0
	bl	_strtoul
	mov	x21, x0
	ldr	x22, [sp, #8]
	ldrb	w8, [x22]
	sub	w9, w8, #71
	cmp	w9, #38
	b.hi	LBB0_16
; %bb.9:
	mov	w10, #1
	lsl	x10, x10, x9
	tst	x10, #0x100000001
	b.ne	LBB0_13
; %bb.10:
	mov	w10, #1
	lsl	x10, x10, x9
	tst	x10, #0x1000000010
	b.ne	LBB0_14
; %bb.11:
	mov	w10, #1
	lsl	x9, x10, x9
	tst	x9, #0x4000000040
	b.eq	LBB0_16
; %bb.12:
	add	x22, x22, #1
	str	x22, [sp, #8]
	mov	w8, #16960
	movk	w8, #15, lsl #16
	b	LBB0_15
LBB0_13:
	add	x22, x22, #1
	str	x22, [sp, #8]
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	b	LBB0_15
LBB0_14:
	add	x22, x22, #1
	mov	w8, #1000
LBB0_15:
	mul	w21, w21, w8
	ldrb	w8, [x22]
LBB0_16:
	cmp	w8, #66
	b.ne	LBB0_18
; %bb.17:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	__substrcmp2
	cbnz	x0, LBB0_23
LBB0_18:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh15:
	adrp	x2, l_.str.6@PAGE
Lloh16:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	__substrcmp2
	cbz	x0, LBB0_23
; %bb.19:
	tbnz	w21, #31, LBB0_24
LBB0_20:
	str	w21, [x19]
	cbz	x20, LBB0_22
LBB0_21:
	strb	wzr, [x20]
LBB0_22:
	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
	add	sp, sp, #64
	ret
LBB0_23:
	lsl	w21, w21, #3
	tbz	w21, #31, LBB0_20
LBB0_24:
Lloh17:
	adrp	x8, _EX_DATAERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EX_DATAERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	str	w21, [x19]
	cbnz	x20, LBB0_21
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"duplicate token, override bandwidth value!"

l_.str.1:                               ; @.str.1
	.asciz	"no if support"

	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
l_.str.2:                               ; @.str.2
	.asciz	"interface name truncated"

l_.str.3:                               ; @.str.3
	.asciz	"Bi"

l_.str.4:                               ; @.str.4
	.asciz	"Bit/s"

l_.str.5:                               ; @.str.5
	.asciz	"by"

l_.str.6:                               ; @.str.6
	.asciz	"bytes"

	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
l_.str.7:                               ; @.str.7
	.asciz	"bandwidth too large"

	.no_dead_strip	_read_bandwidth
.subsections_via_symbols
