	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_get_new_int_gl
_hns3_get_new_int_gl:                   ## @hns3_get_new_int_gl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rdi), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.2:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_hns3_get_new_flow_lvl
	testl	%eax, %eax
	je	LBB0_14
## %bb.5:
	movl	16(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_14
## %bb.6:
	movq	8(%rbx), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	_HNS3_INT_GL_8K@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_3:
	movq	_HNS3_INT_GL_50K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movl	$130, 16(%rbx)
	jmp	LBB0_13
LBB0_8:
	movq	_HNS3_INT_GL_20K@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_7:
	movq	_HNS3_INT_GL_50K@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_9:
	movq	_HNS3_INT_GL_18K@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_14
## %bb.12:
	movq	%rcx, 8(%rbx)
LBB0_13:
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_HNS3_INT_GL_50K,8,3            ## @HNS3_INT_GL_50K
	.comm	_HNS3_INT_GL_20K,8,3            ## @HNS3_INT_GL_20K
	.comm	_HNS3_INT_GL_18K,8,3            ## @HNS3_INT_GL_18K
	.comm	_HNS3_INT_GL_8K,8,3             ## @HNS3_INT_GL_8K
	.no_dead_strip	_hns3_get_new_int_gl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_get_new_int_gl
_hns3_get_new_int_gl:                   ; @hns3_get_new_int_gl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_12
; %bb.1:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_hns3_get_new_flow_lvl
	cbz	w0, LBB0_15
; %bb.4:
	ldr	w8, [x19, #16]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_12
; %bb.5:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh2:
	adrp	x9, _HNS3_INT_GL_8K@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HNS3_INT_GL_8K@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh4:
	adrp	x8, _HNS3_INT_GL_50K@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HNS3_INT_GL_50K@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	w8, #130
	str	w8, [x19, #16]
	b	LBB0_14
LBB0_8:
Lloh7:
	adrp	x9, _HNS3_INT_GL_20K@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HNS3_INT_GL_20K@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh9:
	adrp	x9, _HNS3_INT_GL_50K@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HNS3_INT_GL_50K@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x9, _HNS3_INT_GL_18K@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HNS3_INT_GL_18K@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
LBB0_12:
	mov	w0, #0
	b	LBB0_15
LBB0_13:
	str	x9, [x19, #8]
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
                                        ; -- End function
	.comm	_HNS3_INT_GL_50K,8,3            ; @HNS3_INT_GL_50K
	.comm	_HNS3_INT_GL_20K,8,3            ; @HNS3_INT_GL_20K
	.comm	_HNS3_INT_GL_18K,8,3            ; @HNS3_INT_GL_18K
	.comm	_HNS3_INT_GL_8K,8,3             ; @HNS3_INT_GL_8K
	.no_dead_strip	_hns3_get_new_int_gl
.subsections_via_symbols
