	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_textconv
_run_textconv:                          ## @run_textconv
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movups	(%rax), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	(%rdx), %esi
	callq	_prepare_temp_file
	movq	%rbx, -64(%rbp)
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -48(%rbp)
	movl	$1, -96(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	$-1, -80(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	-80(%rbp), %esi
	leaq	-72(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_strbuf_read
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_error
	testl	%eax, %eax
	setne	%r15b
LBB0_4:
	movl	-80(%rbp), %edi
	callq	_close
	leaq	-96(%rbp), %rdi
	callq	_finish_command
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	testb	%r15b, %r15b
	jne	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	callq	_remove_tempfile
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strbuf_detach
	movq	%rax, %rbx
	jmp	LBB0_8
LBB0_6:
	leaq	-72(%rbp), %rdi
	callq	_strbuf_release
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_remove_tempfile
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,24,3        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading from textconv command '%s'"

	.no_dead_strip	_run_textconv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_textconv
_run_textconv:                          ; @run_textconv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x3
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w1, [x2]
	bl	_prepare_temp_file
	str	x20, [sp, #48]
	ldrsw	x8, [x0]
	stp	x8, xzr, [sp, #56]
	mov	w8, #1
	str	w8, [sp, #16]
	add	x8, sp, #48
	str	x8, [sp, #24]
	mov	w8, #-1
	str	w8, [sp, #32]
	add	x0, sp, #16
	bl	_start_command
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	w1, [sp, #32]
	add	x0, sp, #8
	mov	w2, #0
	bl	_strbuf_read
	mov	w21, #0
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_error
	cmp	w0, #0
	cset	w21, ne
LBB0_3:
	ldr	w0, [sp, #32]
	bl	_close
	add	x0, sp, #16
	bl	_finish_command
	cbnz	x0, LBB0_6
; %bb.4:
	cbnz	w21, LBB0_6
; %bb.5:
	bl	_remove_tempfile
	add	x0, sp, #8
	mov	x1, x19
	bl	_strbuf_detach
	b	LBB0_8
LBB0_6:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_7:
	bl	_remove_tempfile
	mov	x0, #0
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,24,3        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading from textconv command '%s'"

	.no_dead_strip	_run_textconv
.subsections_via_symbols
