	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sched_queue
_sched_queue:                           ## @sched_queue
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	cmpl	$3, %edi
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	(%rsi), %rdi
	leaq	-32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_str_to_number
	cmpb	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	-32(%rbp), %rax
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
LBB0_4:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, -56(%rbp)
	movq	8(%rbx), %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_str_to_number
	cmpb	$0, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	-32(%rbp), %rax
	cmpq	$-2, %rax
	jle	LBB0_12
## %bb.13:
	movl	%eax, -64(%rbp)
	jmp	LBB0_14
LBB0_9:
	movl	$-1, -64(%rbp)
LBB0_14:
	movq	16(%rbx), %r14
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.16:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_str_to_number
	cmpb	$0, (%rax)
	jne	LBB0_18
## %bb.17:
	movq	-32(%rbp), %r15
	cmpq	$-2, %r15
	jle	LBB0_18
LBB0_19:
	movl	%r15d, -60(%rbp)
	movq	_CHELSIO_T4_SCHED_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_doit
	jmp	LBB0_20
LBB0_12:
	movq	8(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_5
LBB0_18:
	movq	16(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UCHAR_MAX,8,3                  ## @UCHAR_MAX
L_.str.1:                               ## @.str.1
	.asciz	"invalid port id \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"all"

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

L_.str.4:                               ## @.str.4
	.asciz	"invalid queue \"%s\""

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

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

L_.str.7:                               ## @.str.7
	.asciz	"invalid class \"%s\""

	.comm	_CHELSIO_T4_SCHED_QUEUE,4,2     ## @CHELSIO_T4_SCHED_QUEUE
	.no_dead_strip	_sched_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sched_queue
_sched_queue:                           ; @sched_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	cmp	w0, #3
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x0, [x1]
	add	x1, sp, #16
	mov	x2, #0
	bl	_str_to_number
	ldrb	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x8, [sp, #16]
Lloh0:
	adrp	x9, _UCHAR_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UCHAR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_7
LBB0_3:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_warnx
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	str	x8, [sp, #32]
	ldr	x20, [x19, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.8:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.9:
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, #0
	bl	_str_to_number
	ldrb	w9, [x0]
	ldr	x8, [sp, #16]
	cmp	w9, #0
	ccmn	x8, #2, #4, eq
	b.gt	LBB0_12
; %bb.10:
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_11:
	mov	w8, #-1
	str	w8, [sp, #24]
	b	LBB0_13
LBB0_12:
	str	w8, [sp, #24]
LBB0_13:
	ldr	x20, [x19, #16]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.14:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.15:
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, #0
	bl	_str_to_number
	ldrb	w8, [x0]
	cbnz	w8, LBB0_17
; %bb.16:
	ldr	x8, [sp, #16]
	cmn	x8, #2
	b.gt	LBB0_19
LBB0_17:
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.7@PAGE
Lloh21:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_18:
	mov	w8, #-1
LBB0_19:
	str	w8, [sp, #28]
Lloh22:
	adrp	x8, _CHELSIO_T4_SCHED_QUEUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHELSIO_T4_SCHED_QUEUE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_doit
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UCHAR_MAX,8,3                  ; @UCHAR_MAX
l_.str.1:                               ; @.str.1
	.asciz	"invalid port id \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"all"

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

l_.str.4:                               ; @.str.4
	.asciz	"invalid queue \"%s\""

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

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

l_.str.7:                               ; @.str.7
	.asciz	"invalid class \"%s\""

	.comm	_CHELSIO_T4_SCHED_QUEUE,4,2     ; @CHELSIO_T4_SCHED_QUEUE
	.no_dead_strip	_sched_queue
.subsections_via_symbols
