	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_intr_coal_val
_dma_intr_coal_val:                     ## @dma_intr_coal_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RSXX_INTR_COAL_DISABLED@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_INTR_COAL_LATENCY_UNITS_NS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rdx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_5
LBB0_3:
	movl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movq	_INTR_COAL_COUNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rsi
	movq	_INTR_COAL_COUNT_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rsi
	movq	_INTR_COAL_LATENCY_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	orq	%rsi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_COAL_LATENCY_UNITS_NS,8,3 ## @INTR_COAL_LATENCY_UNITS_NS
	.comm	_RSXX_INTR_COAL_DISABLED,8,3    ## @RSXX_INTR_COAL_DISABLED
	.comm	_INTR_COAL_COUNT_SHIFT,8,3      ## @INTR_COAL_COUNT_SHIFT
	.comm	_INTR_COAL_COUNT_MASK,8,3       ## @INTR_COAL_COUNT_MASK
	.comm	_INTR_COAL_LATENCY_MASK,8,3     ## @INTR_COAL_LATENCY_MASK
	.no_dead_strip	_dma_intr_coal_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_intr_coal_val
_dma_intr_coal_val:                     ; @dma_intr_coal_val
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RSXX_INTR_COAL_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSXX_INTR_COAL_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _INTR_COAL_LATENCY_UNITS_NS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTR_COAL_LATENCY_UNITS_NS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _INTR_COAL_COUNT_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INTR_COAL_COUNT_SHIFT@GOTPAGEOFF]
	sdiv	x8, x2, x8
Lloh8:
	ldr	x9, [x9]
	lsl	x9, x1, x9
Lloh9:
	adrp	x10, _INTR_COAL_COUNT_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _INTR_COAL_COUNT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	and	x9, x9, x10
Lloh12:
	adrp	x10, _INTR_COAL_LATENCY_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _INTR_COAL_LATENCY_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	and	x8, x10, x8
	orr	x0, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_COAL_LATENCY_UNITS_NS,8,3 ; @INTR_COAL_LATENCY_UNITS_NS
	.comm	_RSXX_INTR_COAL_DISABLED,8,3    ; @RSXX_INTR_COAL_DISABLED
	.comm	_INTR_COAL_COUNT_SHIFT,8,3      ; @INTR_COAL_COUNT_SHIFT
	.comm	_INTR_COAL_COUNT_MASK,8,3       ; @INTR_COAL_COUNT_MASK
	.comm	_INTR_COAL_LATENCY_MASK,8,3     ; @INTR_COAL_LATENCY_MASK
	.no_dead_strip	_dma_intr_coal_val
.subsections_via_symbols
