	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dscc4_do_tx
_dscc4_do_tx:                           ## @dscc4_do_tx
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	decl	%eax
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movslq	%edx, %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	movq	%rdi, 16(%rbx)
	movq	_CH0LTDA@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	addq	8(%rbx), %rax
	movslq	4(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	callq	_writel
	movq	(%r14), %rax
	addq	8(%rbx), %rax
	movslq	4(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_readl                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_CH0LTDA,8,3                    ## @CH0LTDA
	.no_dead_strip	_dscc4_do_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dscc4_do_tx
_dscc4_do_tx:                           ; @dscc4_do_tx
	.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
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TX_RING_SIZE@GOTPAGEOFF]
	ldp	w10, w11, [x0]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	sub	w10, w10, #1
Lloh2:
	ldr	w9, [x9]
	sdiv	w12, w10, w9
	msub	w9, w12, w9, w10
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x20, _CH0LTDA@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CH0LTDA@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x0, [x19, #16]
	add	x1, x8, x11, lsl #2
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x8, x9, x8
	ldrsw	x9, [x19, #4]
	add	x0, x8, x9, lsl #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_readl
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_CH0LTDA,8,3                    ; @CH0LTDA
	.no_dead_strip	_dscc4_do_tx
.subsections_via_symbols
