	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns3_set_vector_coalesce_rl    ## -- Begin function hns3_set_vector_coalesce_rl
	.p2align	4, 0x90
_hns3_set_vector_coalesce_rl:           ## @hns3_set_vector_coalesce_rl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_hns3_rl_usec_to_reg
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	cmpl	$0, 12(%rbx)
	jne	LBB0_4
## %bb.2:
	cmpl	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_HNS3_INT_RL_ENABLE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %eax
LBB0_4:
	movq	_HNS3_VECTOR_RL_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS3_INT_RL_ENABLE_MASK,4,2    ## @HNS3_INT_RL_ENABLE_MASK
	.comm	_HNS3_VECTOR_RL_OFFSET,8,3      ## @HNS3_VECTOR_RL_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns3_set_vector_coalesce_rl    ; -- Begin function hns3_set_vector_coalesce_rl
	.p2align	2
_hns3_set_vector_coalesce_rl:           ; @hns3_set_vector_coalesce_rl
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_hns3_rl_usec_to_reg
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _HNS3_INT_RL_ENABLE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS3_INT_RL_ENABLE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_4:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _HNS3_VECTOR_RL_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HNS3_VECTOR_RL_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS3_INT_RL_ENABLE_MASK,4,2    ; @HNS3_INT_RL_ENABLE_MASK
	.comm	_HNS3_VECTOR_RL_OFFSET,8,3      ; @HNS3_VECTOR_RL_OFFSET
.subsections_via_symbols
