	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_rx_coal
_get_rx_coal:                           ## @get_rx_coal
	.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
	movq	_SDMA_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rdlp
	movq	(%rbx), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_2
## %bb.1:
	movl	%eax, %edx
	shrl	$10, %edx
	andl	$32768, %edx                    ## imm = 0x8000
	shrl	$7, %eax
	andl	$32767, %eax                    ## imm = 0x7FFF
	orl	%edx, %eax
	jmp	LBB0_3
LBB0_2:
	shrl	$8, %eax
	andl	$16383, %eax                    ## imm = 0x3FFF
LBB0_3:
	imull	$64000000, %eax, %ebx           ## imm = 0x3D09000
	movl	(%rcx), %esi
	movl	%ebx, %edi
	callq	_do_div
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDMA_CONFIG,4,2                ## @SDMA_CONFIG
	.no_dead_strip	_get_rx_coal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rx_coal
_get_rx_coal:                           ; @get_rx_coal
	.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
Lloh0:
	adrp	x8, _SDMA_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDMA_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rdlp
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ubfx	w10, w0, #8, #14
	lsr	w11, w0, #10
	and	w11, w11, #0x8000
	bfxil	w11, w0, #7, #15
	cmp	x9, #0
	csel	w9, w10, w11, eq
	mov	w10, #36864
	movk	w10, #976, lsl #16
	mul	w19, w9, w10
	ldr	w1, [x8]
	mov	x0, x19
	bl	_do_div
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDMA_CONFIG,4,2                ; @SDMA_CONFIG
	.no_dead_strip	_get_rx_coal
.subsections_via_symbols
