	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sysport_get_coalesce
_bcm_sysport_get_coalesce:              ## @bcm_sysport_get_coalesce
	.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	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_TDMA_DESC_RING_INTR_CONTROL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_tdma_readl
	movq	_RING_TIMEOUT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	sarl	%cl, %edx
	shll	$13, %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%rbx)
	movq	_RING_INTR_THRESH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	_RDMA_MBDONE_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rdma_readl
	movq	_RDMA_TIMEOUT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	sarl	%cl, %edx
	shll	$13, %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, 8(%rbx)
	movq	_RDMA_INTR_THRESH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_TIMEOUT_SHIFT,4,2         ## @RING_TIMEOUT_SHIFT
	.comm	_RING_INTR_THRESH_MASK,4,2      ## @RING_INTR_THRESH_MASK
	.comm	_RDMA_MBDONE_INTR,4,2           ## @RDMA_MBDONE_INTR
	.comm	_RDMA_TIMEOUT_SHIFT,4,2         ## @RDMA_TIMEOUT_SHIFT
	.comm	_RDMA_INTR_THRESH_MASK,4,2      ## @RDMA_INTR_THRESH_MASK
	.no_dead_strip	_bcm_sysport_get_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sysport_get_coalesce
_bcm_sysport_get_coalesce:              ; @bcm_sysport_get_coalesce
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	w0, #0
	bl	_TDMA_DESC_RING_INTR_CONTROL
	mov	x1, x0
	mov	x0, x20
	bl	_tdma_readl
Lloh0:
	adrp	x8, _RING_TIMEOUT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RING_TIMEOUT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w0, w8
	lsl	w8, w8, #13
	mov	w21, #19923
	movk	w21, #4194, lsl #16
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	w8, [x19]
Lloh3:
	adrp	x8, _RING_INTR_THRESH_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RING_INTR_THRESH_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19, #4]
Lloh6:
	adrp	x8, _RDMA_MBDONE_INTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_MBDONE_INTR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rdma_readl
Lloh9:
	adrp	x8, _RDMA_TIMEOUT_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RDMA_TIMEOUT_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	asr	w8, w0, w8
	lsl	w8, w8, #13
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
Lloh12:
	adrp	x9, _RDMA_INTR_THRESH_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RDMA_INTR_THRESH_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w0
	stp	w8, w9, [x19, #8]
	ldr	w8, [x20]
	str	w8, [x19, #16]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_TIMEOUT_SHIFT,4,2         ; @RING_TIMEOUT_SHIFT
	.comm	_RING_INTR_THRESH_MASK,4,2      ; @RING_INTR_THRESH_MASK
	.comm	_RDMA_MBDONE_INTR,4,2           ; @RDMA_MBDONE_INTR
	.comm	_RDMA_TIMEOUT_SHIFT,4,2         ; @RDMA_TIMEOUT_SHIFT
	.comm	_RDMA_INTR_THRESH_MASK,4,2      ; @RDMA_INTR_THRESH_MASK
	.no_dead_strip	_bcm_sysport_get_coalesce
.subsections_via_symbols
