	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plc_send_bits
_plc_send_bits:                         ## @plc_send_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	(%rsi), %r14d
	callq	_SK_UNUSED
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.2:
	movq	8(%rbx), %r8
	movslq	16(%rbx), %r9
	movl	%r15d, %esi
	leaq	-1(%rsi), %rcx
	movl	%esi, %r10d
	andl	$3, %r10d
	cmpq	$3, %rcx
	jae	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	movl	%esi, %edi
	andl	$-4, %edi
	leaq	(%r8,%r9,4), %rcx
	addq	$-4, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %eax
	shll	$2, %edx
	addl	%eax, %eax
	orl	%edx, %eax
	orl	-4(%rcx,%rsi,4), %eax
	movl	-8(%rcx,%rsi,4), %ebx
	shll	$2, %eax
	addl	%ebx, %ebx
	orl	%eax, %ebx
	orl	-12(%rcx,%rsi,4), %ebx
	addq	$-4, %rsi
	movl	%ebx, %edx
	addq	$-4, %rdi
	jne	LBB0_5
LBB0_6:
	testq	%r10, %r10
	je	LBB0_9
## %bb.7:
	addq	%r9, %rsi
	leaq	(%r8,%rsi,4), %rcx
	addq	$-4, %rcx
	negq	%r10
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addl	%ebx, %ebx
	orl	(%rcx,%rdx,4), %ebx
	decq	%rdx
	cmpq	%rdx, %r10
	jne	LBB0_8
LBB0_9:
	movq	_PL_STATUS_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_PLC
	movl	%eax, %edi
	callq	_inpw
	movl	%eax, %ecx
	movq	_PL_PCM_SIGNAL@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	testl	%ecx, (%rdx)
	jne	LBB0_11
## %bb.10:
	decl	%r15d
	movq	_PL_VECTOR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_PLC
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_outpw
	movq	_PL_XMIT_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_PLC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_outpw
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL_STATUS_B,4,2                ## @PL_STATUS_B
	.comm	_PL_PCM_SIGNAL,4,2              ## @PL_PCM_SIGNAL
	.comm	_PL_VECTOR_LEN,4,2              ## @PL_VECTOR_LEN
	.comm	_PL_XMIT_VECTOR,4,2             ## @PL_XMIT_VECTOR
	.comm	_debug,4,2                      ## @debug
	.no_dead_strip	_plc_send_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plc_send_bits
_plc_send_bits:                         ; @plc_send_bits
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x1
	ldr	w19, [x1]
	bl	_SK_UNUSED
	mov	w20, #0
	subs	w21, w22, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x23, #8]
	ldrsw	x10, [x23, #16]
	mov	w8, w22
	add	x9, x9, x10, lsl #2
	sub	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x8, lsl #2]
	orr	w20, w10, w20, lsl #1
	subs	x8, x8, #1
	b.hi	LBB0_2
LBB0_3:
Lloh0:
	adrp	x8, _PL_STATUS_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL_STATUS_B@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PLC
	bl	_inpw
Lloh3:
	adrp	x8, _PL_PCM_SIGNAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PL_PCM_SIGNAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _PL_VECTOR_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PL_VECTOR_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PLC
	mov	x1, x21
	bl	_outpw
Lloh9:
	adrp	x8, _PL_XMIT_VECTOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PL_XMIT_VECTOR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PLC
	mov	x1, x20
	bl	_outpw
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PL_STATUS_B,4,2                ; @PL_STATUS_B
	.comm	_PL_PCM_SIGNAL,4,2              ; @PL_PCM_SIGNAL
	.comm	_PL_VECTOR_LEN,4,2              ; @PL_VECTOR_LEN
	.comm	_PL_XMIT_VECTOR,4,2             ; @PL_XMIT_VECTOR
	.comm	_debug,4,2                      ; @debug
	.no_dead_strip	_plc_send_bits
.subsections_via_symbols
