	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_rcb_get_coalesce_usecs     ## -- Begin function hns_rcb_get_coalesce_usecs
	.p2align	4, 0x90
_hns_rcb_get_coalesce_usecs:            ## @hns_rcb_get_coalesce_usecs
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_AE_IS_VER1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RCB_CFG_OVERTIME_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_dsaf_read_dev
	movq	_HNS_RCB_CLK_FREQ_MHZ@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_RCB_PORT_CFG_OVERTIME_REG@GOTPCREL(%rip), %rax
	shll	$2, %r14d
	movslq	%r14d, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dsaf_read_dev                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCB_CFG_OVERTIME_REG,8,3       ## @RCB_CFG_OVERTIME_REG
	.comm	_HNS_RCB_CLK_FREQ_MHZ,4,2       ## @HNS_RCB_CLK_FREQ_MHZ
	.comm	_RCB_PORT_CFG_OVERTIME_REG,8,3  ## @RCB_PORT_CFG_OVERTIME_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_rcb_get_coalesce_usecs     ; -- Begin function hns_rcb_get_coalesce_usecs
	.p2align	2
_hns_rcb_get_coalesce_usecs:            ; @hns_rcb_get_coalesce_usecs
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_AE_IS_VER1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RCB_CFG_OVERTIME_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCB_CFG_OVERTIME_REG@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_dsaf_read_dev
Lloh3:
	adrp	x8, _HNS_RCB_CLK_FREQ_MHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_RCB_CLK_FREQ_MHZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sdiv	w0, w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _RCB_PORT_CFG_OVERTIME_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCB_PORT_CFG_OVERTIME_REG@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	lsl	w9, w20, #2
	add	x1, x8, w9, sxtw
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dsaf_read_dev
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RCB_CFG_OVERTIME_REG,8,3       ; @RCB_CFG_OVERTIME_REG
	.comm	_HNS_RCB_CLK_FREQ_MHZ,4,2       ; @HNS_RCB_CLK_FREQ_MHZ
	.comm	_RCB_PORT_CFG_OVERTIME_REG,8,3  ; @RCB_PORT_CFG_OVERTIME_REG
.subsections_via_symbols
