	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtcon_sock_tx
_pci_vtcon_sock_tx:                     ## @pci_vtcon_sock_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %edi
	cmpl	$-1, %edi
	je	LBB0_7
## %bb.1:
	movl	%ecx, %r15d
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	(%rdx), %edx
	movl	4(%r12), %esi
	callq	_stream_write
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	movl	%r15d, %r15d
	decq	%r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r15
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movl	8(%r12,%rbx,8), %edx
	movl	12(%r12,%rbx,8), %esi
	callq	_stream_write
	incq	%rbx
	testl	%eax, %eax
	jg	LBB0_4
LBB0_6:
	movl	8(%r14), %edi
	callq	_mevent_delete_close
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	movq	%rax, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pci_vtcon_sock_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtcon_sock_tx
_pci_vtcon_sock_tx:                     ; @pci_vtcon_sock_tx
	.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
	ldr	w0, [x1]
	cmn	w0, #1
	ccmp	w3, #1, #8, ne
	b.lt	LBB0_6
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	ldp	w2, w1, [x2]
	bl	_stream_write
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w21, w21
	add	x8, x20, #12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	x21, x21, #1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x8, #8
	ldr	w0, [x19]
	ldp	w2, w1, [x8, #-4]
	bl	_stream_write
	mov	x8, x20
	cmp	w0, #0
	b.gt	LBB0_3
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_mevent_delete_close
	movi	d0, #0x000000ffffffff
	str	d0, [x19]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pci_vtcon_sock_tx
.subsections_via_symbols
