	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_xmit_shift
_calc_xmit_shift:                       ## @calc_xmit_shift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CHCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sh_dmae_readl
	movq	_ts_shift@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_CHCR_TS_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_CHCR_TS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movl	(%rdx,%rax,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHCR,4,2                       ## @CHCR
	.comm	_ts_shift,8,3                   ## @ts_shift
	.comm	_CHCR_TS_MASK,8,3               ## @CHCR_TS_MASK
	.comm	_CHCR_TS_SHIFT,8,3              ## @CHCR_TS_SHIFT
	.no_dead_strip	_calc_xmit_shift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_xmit_shift
_calc_xmit_shift:                       ; @calc_xmit_shift
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _CHCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sh_dmae_readl
Lloh3:
	adrp	x8, _ts_shift@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ts_shift@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _CHCR_TS_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHCR_TS_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _CHCR_TS_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CHCR_TS_SHIFT@GOTPAGEOFF]
	and	x9, x9, x0
Lloh11:
	ldr	x10, [x10]
	lsr	x9, x9, x10
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.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	_CHCR,4,2                       ; @CHCR
	.comm	_ts_shift,8,3                   ; @ts_shift
	.comm	_CHCR_TS_MASK,8,3               ; @CHCR_TS_MASK
	.comm	_CHCR_TS_SHIFT,8,3              ; @CHCR_TS_SHIFT
	.no_dead_strip	_calc_xmit_shift
.subsections_via_symbols
