	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parwrite                       ## -- Begin function parwrite
	.p2align	4, 0x90
_parwrite:                              ## @parwrite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bits8@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	movq	%rsi, %rax
	cmpq	$1, %rdx
	je	LBB0_5
## %bb.3:
	movq	%rdx, %r10
	andq	$-2, %r10
	movq	_partab@GOTPCREL(%rip), %r8
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %r9
	movzbl	(%rax), %ecx
	andl	$127, %ecx
	movzbl	(%r9,%rcx), %ecx
	movb	%cl, (%rax)
	movq	(%r8), %r9
	movzbl	1(%rax), %ecx
	andl	$127, %ecx
	movzbl	(%r9,%rcx), %ecx
	movb	%cl, 1(%rax)
	addq	$2, %rax
	addq	$-2, %r10
	jne	LBB0_4
LBB0_5:
	testb	$1, %dl
	je	LBB0_7
## %bb.6:
	movq	_partab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movzbl	(%rax), %ecx
	andl	$127, %ecx
	movb	(%r8,%rcx), %cl
	movb	%cl, (%rax)
LBB0_7:
	callq	_write
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	popq	%rbp
	retq
LBB0_8:
	callq	_parwrite.cold.1
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function parwrite.cold.1
_parwrite.cold.1:                       ## @parwrite.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB1_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB1_3
LBB1_2:
	leaq	L_.str(%rip), %rdi
	callq	_tipabort
LBB1_3:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bits8,8,3                      ## @bits8
	.comm	_partab,8,3                     ## @partab
	.comm	_errno,8,3                      ## @errno
	.comm	_EIO,8,3                        ## @EIO
	.comm	_ENXIO,8,3                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Lost carrier."

L_.str.1:                               ## @.str.1
	.asciz	"write"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parwrite                       ; -- Begin function parwrite
	.p2align	2
_parwrite:                              ; @parwrite
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _bits8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bits8@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x2, #0, #4, eq
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _partab@GOTPAGE
Lloh4:
	ldr	x8, [x8, _partab@GOTPAGEOFF]
	mov	x9, x2
	mov	x10, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldrb	w12, [x10]
	and	x12, x12, #0x7f
	ldrb	w11, [x11, x12]
	strb	w11, [x10], #1
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	bl	_write
	tbnz	x0, #63, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_parwrite.cold.1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function parwrite.cold.1
_parwrite.cold.1:                       ; @parwrite.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _EIO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _ENXIO@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ENXIO@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB1_2
; %bb.1:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tipabort
LBB1_2:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perror
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_bits8,8,3                      ; @bits8
	.comm	_partab,8,3                     ; @partab
	.comm	_errno,8,3                      ; @errno
	.comm	_EIO,8,3                        ; @EIO
	.comm	_ENXIO,8,3                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Lost carrier."

l_.str.1:                               ; @.str.1
	.asciz	"write"

.subsections_via_symbols
