	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VOICEBOX_SKCTLPutByte          ## -- Begin function VOICEBOX_SKCTLPutByte
	.p2align	4, 0x90
_VOICEBOX_SKCTLPutByte:                 ## @VOICEBOX_SKCTLPutByte
	.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	_VOICEBOX_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.1:
	movq	_VOICEBOX_ii@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_12
## %bb.2:
	movq	_PIA_PACTL@GOTPCREL(%rip), %rax
	testb	$8, (%rax)
	jne	LBB0_12
## %bb.3:
	movl	%edi, %ebx
	cmpl	$247, _VOICEBOX_SKCTLPutByte.prev_prev_byte(%rip)
	movl	_VOICEBOX_SKCTLPutByte.prev_byte(%rip), %eax
	jne	LBB0_11
## %bb.4:
	cmpl	$3, %eax
	jne	LBB0_11
## %bb.5:
	movl	$3, %eax
	cmpl	$255, %ebx
	je	LBB0_8
## %bb.6:
	cmpl	$3, %ebx
	jne	LBB0_11
## %bb.7:
	movl	_VOICEBOX_SKCTLPutByte.voice_box_bit(%rip), %edx
	jmp	LBB0_9
LBB0_8:
	movl	_VOICEBOX_SKCTLPutByte.voice_box_bit(%rip), %edx
	movb	$7, %cl
	subb	%dl, %cl
	movl	$1, %esi
	shll	%cl, %esi
	addl	%esi, _VOICEBOX_SKCTLPutByte.voice_box_byte(%rip)
LBB0_9:
	leal	1(%rdx), %ecx
	movl	%ecx, _VOICEBOX_SKCTLPutByte.voice_box_bit(%rip)
	cmpl	$7, %edx
	jl	LBB0_11
## %bb.10:
	movl	$0, _VOICEBOX_SKCTLPutByte.voice_box_bit(%rip)
	movl	_VOICEBOX_SKCTLPutByte.voice_box_byte(%rip), %edi
	callq	_VOTRAXSND_PutByte
	movl	$0, _VOICEBOX_SKCTLPutByte.voice_box_byte(%rip)
	movl	_VOICEBOX_SKCTLPutByte.prev_byte(%rip), %eax
LBB0_11:
	movl	%eax, _VOICEBOX_SKCTLPutByte.prev_prev_byte(%rip)
	movl	%ebx, _VOICEBOX_SKCTLPutByte.prev_byte(%rip)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.prev_byte,4,2 ## @VOICEBOX_SKCTLPutByte.prev_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.prev_prev_byte,4,2 ## @VOICEBOX_SKCTLPutByte.prev_prev_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.voice_box_byte,4,2 ## @VOICEBOX_SKCTLPutByte.voice_box_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.voice_box_bit,4,2 ## @VOICEBOX_SKCTLPutByte.voice_box_bit
	.comm	_VOICEBOX_enabled,4,2           ## @VOICEBOX_enabled
	.comm	_VOICEBOX_ii,8,3                ## @VOICEBOX_ii
	.comm	_PIA_PACTL,4,2                  ## @PIA_PACTL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VOICEBOX_SKCTLPutByte          ; -- Begin function VOICEBOX_SKCTLPutByte
	.p2align	2
_VOICEBOX_SKCTLPutByte:                 ; @VOICEBOX_SKCTLPutByte
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _VOICEBOX_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOICEBOX_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VOICEBOX_ii@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VOICEBOX_ii@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_11
; %bb.1:
Lloh6:
	adrp	x8, _PIA_PACTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PIA_PACTL@GOTPAGEOFF]
	ldrb	w8, [x8]
	tbnz	w8, #3, LBB0_11
; %bb.2:
	mov	x19, x0
	adrp	x20, _VOICEBOX_SKCTLPutByte.prev_prev_byte@PAGE
	ldr	w9, [x20, _VOICEBOX_SKCTLPutByte.prev_prev_byte@PAGEOFF]
	adrp	x21, _VOICEBOX_SKCTLPutByte.prev_byte@PAGE
	ldr	w8, [x21, _VOICEBOX_SKCTLPutByte.prev_byte@PAGEOFF]
	cmp	w9, #247
	ccmp	w8, #3, #0, eq
	b.ne	LBB0_10
; %bb.3:
	adrp	x8, _VOICEBOX_SKCTLPutByte.voice_box_bit@PAGE
	cmp	w19, #255
	b.eq	LBB0_6
; %bb.4:
	cmp	w19, #3
	b.ne	LBB0_9
; %bb.5:
	ldr	w9, [x8, _VOICEBOX_SKCTLPutByte.voice_box_bit@PAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w9, [x8, _VOICEBOX_SKCTLPutByte.voice_box_bit@PAGEOFF]
	mov	w10, #7
	sub	w10, w10, w9
	mov	w11, #1
	lsl	w10, w11, w10
	adrp	x11, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGE
	ldr	w12, [x11, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGEOFF]
	add	w10, w10, w12
	str	w10, [x11, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGEOFF]
LBB0_7:
	add	w10, w9, #1
	str	w10, [x8, _VOICEBOX_SKCTLPutByte.voice_box_bit@PAGEOFF]
	cmp	w9, #7
	b.lt	LBB0_9
; %bb.8:
	str	wzr, [x8, _VOICEBOX_SKCTLPutByte.voice_box_bit@PAGEOFF]
	adrp	x22, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGE
	ldr	w0, [x22, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGEOFF]
	bl	_VOTRAXSND_PutByte
	str	wzr, [x22, _VOICEBOX_SKCTLPutByte.voice_box_byte@PAGEOFF]
	ldr	w8, [x21, _VOICEBOX_SKCTLPutByte.prev_byte@PAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	w8, #3
LBB0_10:
	str	w8, [x20, _VOICEBOX_SKCTLPutByte.prev_prev_byte@PAGEOFF]
	str	w19, [x21, _VOICEBOX_SKCTLPutByte.prev_byte@PAGEOFF]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.prev_byte,4,2 ; @VOICEBOX_SKCTLPutByte.prev_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.prev_prev_byte,4,2 ; @VOICEBOX_SKCTLPutByte.prev_prev_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.voice_box_byte,4,2 ; @VOICEBOX_SKCTLPutByte.voice_box_byte
.zerofill __DATA,__bss,_VOICEBOX_SKCTLPutByte.voice_box_bit,4,2 ; @VOICEBOX_SKCTLPutByte.voice_box_bit
	.comm	_VOICEBOX_enabled,4,2           ; @VOICEBOX_enabled
	.comm	_VOICEBOX_ii,8,3                ; @VOICEBOX_ii
	.comm	_PIA_PACTL,4,2                  ; @PIA_PACTL
.subsections_via_symbols
