	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pluto_write_tscr
_pluto_write_tscr:                      ## @pluto_write_tscr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TSCR_ADEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%esi, %eax
	movq	_TS_DMA_PACKETS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	orl	%eax, %edx
	movq	_REG_TSCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_pluto_writereg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TSCR_ADEF,4,2                  ## @TSCR_ADEF
	.comm	_TS_DMA_PACKETS,4,2             ## @TS_DMA_PACKETS
	.comm	_REG_TSCR,4,2                   ## @REG_TSCR
	.no_dead_strip	_pluto_write_tscr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pluto_write_tscr
_pluto_write_tscr:                      ; @pluto_write_tscr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TSCR_ADEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TSCR_ADEF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w1, w8
Lloh3:
	adrp	x9, _TS_DMA_PACKETS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TS_DMA_PACKETS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	orr	w2, w8, w9, asr #1
Lloh6:
	adrp	x8, _REG_TSCR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_TSCR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_pluto_writereg
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSCR_ADEF,4,2                  ; @TSCR_ADEF
	.comm	_TS_DMA_PACKETS,4,2             ; @TS_DMA_PACKETS
	.comm	_REG_TSCR,4,2                   ; @REG_TSCR
	.no_dead_strip	_pluto_write_tscr
.subsections_via_symbols
