	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_update_new_int_gl
_hns3_update_new_int_gl:                ## @hns3_update_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	(%rdi), %rbx
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	cmpq	$0, 32(%r14)
	je	LBB0_4
## %bb.2:
	leaq	24(%r14), %rdi
	callq	_hns3_get_new_int_gl
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	24(%r14), %esi
	movq	%r14, %rdi
	callq	_hns3_set_vector_coalesce_rx_gl
LBB0_4:
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.5:
	leaq	8(%r14), %rdi
	callq	_hns3_get_new_int_gl
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_hns3_set_vector_coalesce_tx_gl
LBB0_7:
	movq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_hns3_update_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_update_new_int_gl
_hns3_update_new_int_gl:                ; @hns3_update_new_int_gl
	.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
	mov	x19, x0
	mov	x20, x0
	ldr	x23, [x20], #8
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x21, [x22]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	add	x1, x0, x23
	mov	x0, x21
	bl	_time_before
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.2:
	add	x0, x19, #24
	bl	_hns3_get_new_int_gl
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w1, [x19, #24]
	mov	x0, x19
	bl	_hns3_set_vector_coalesce_rx_gl
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_hns3_get_new_int_gl
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_hns3_set_vector_coalesce_tx_gl
LBB0_7:
	ldr	x8, [x22]
	str	x8, [x19]
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_hns3_update_new_int_gl
.subsections_via_symbols
