	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbq_set_overlimit
_cbq_set_overlimit:                     ## @cbq_set_overlimit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_4
## %bb.1:
	movq	_cbq_ovl_classic@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_cbq_ovl_rclassic@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_cbq_ovl_delay@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movl	8(%rsi), %eax
	movq	_TC_CBQ_MAXPRIO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_4
## %bb.3:
	decl	%eax
	cmpl	12(%rdi), %eax
	jle	LBB0_4
## %bb.5:
	movl	%eax, 8(%rdi)
	movq	_cbq_ovl_lowprio@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_cbq_ovl_drop@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	4(%rsi), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_cbq_ovl_classic,4,2            ## @cbq_ovl_classic
	.comm	_cbq_ovl_delay,4,2              ## @cbq_ovl_delay
	.comm	_TC_CBQ_MAXPRIO,4,2             ## @TC_CBQ_MAXPRIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cbq_ovl_lowprio,4,2            ## @cbq_ovl_lowprio
	.comm	_cbq_ovl_drop,4,2               ## @cbq_ovl_drop
	.comm	_cbq_ovl_rclassic,4,2           ## @cbq_ovl_rclassic
	.no_dead_strip	_cbq_set_overlimit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbq_set_overlimit
_cbq_set_overlimit:                     ; @cbq_set_overlimit
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, _cbq_ovl_classic@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cbq_ovl_classic@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x8]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x9, _cbq_ovl_rclassic@GOTPAGE
Lloh5:
	ldr	x9, [x9, _cbq_ovl_rclassic@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh6:
	adrp	x9, _cbq_ovl_delay@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cbq_ovl_delay@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x1, #8]
Lloh8:
	adrp	x9, _TC_CBQ_MAXPRIO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TC_CBQ_MAXPRIO@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.5:
	sub	w8, w8, #1
	ldr	w9, [x0, #12]
	cmp	w8, w9
	b.le	LBB0_7
; %bb.6:
	str	w8, [x0, #8]
Lloh11:
	adrp	x9, _cbq_ovl_lowprio@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cbq_ovl_lowprio@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_8:
Lloh16:
	adrp	x9, _cbq_ovl_drop@GOTPAGE
Lloh17:
	ldr	x9, [x9, _cbq_ovl_drop@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	ldr	w10, [x1, #4]
	stp	w10, w9, [x0]
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_cbq_ovl_classic,4,2            ; @cbq_ovl_classic
	.comm	_cbq_ovl_delay,4,2              ; @cbq_ovl_delay
	.comm	_TC_CBQ_MAXPRIO,4,2             ; @TC_CBQ_MAXPRIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cbq_ovl_lowprio,4,2            ; @cbq_ovl_lowprio
	.comm	_cbq_ovl_drop,4,2               ; @cbq_ovl_drop
	.comm	_cbq_ovl_rclassic,4,2           ; @cbq_ovl_rclassic
	.no_dead_strip	_cbq_set_overlimit
.subsections_via_symbols
