	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lang_cpipe_run
_lang_cpipe_run:                        ## @lang_cpipe_run
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_r_sandbox_fopen
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	callq	_eprintf
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.3(%rip), %rdi
	movl	$113, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_fwrite
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fputs
	leaq	L_.str.4(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_fwrite
	xorl	%edi, %edi
	callq	_fclose
	leaq	L_.str(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lang_cpipe_file
	movq	%rbx, %rdi
	callq	_r_file_rm
	movl	$1, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".tmp.c"

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

L_.str.2:                               ## @.str.2
	.asciz	"Cannot open .tmp.c\n"

L_.str.3:                               ## @.str.3
	.asciz	"#include <r_socket.h>\n\n#define R2P(x,y...) r2pipe_cmdf(r2p,x,##y)\nint main() {\n  R2Pipe *r2p = r2pipe_open(NULL);"

L_.str.4:                               ## @.str.4
	.asciz	"\n}\n"

	.no_dead_strip	_lang_cpipe_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lang_cpipe_run
_lang_cpipe_run:                        ; @lang_cpipe_run
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_r_sandbox_fopen
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintf
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w20, #1
	mov	w1, #113
	mov	w2, #1
	mov	x3, #0
	bl	_fwrite
	mov	x0, x21
	mov	x1, #0
	bl	_fputs
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, #0
	bl	_fwrite
	mov	x0, #0
	bl	_fclose
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_lang_cpipe_file
	mov	x0, x21
	bl	_r_file_rm
LBB0_3:
	mov	x0, x20
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".tmp.c"

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

l_.str.2:                               ; @.str.2
	.asciz	"Cannot open .tmp.c\n"

l_.str.3:                               ; @.str.3
	.asciz	"#include <r_socket.h>\n\n#define R2P(x,y...) r2pipe_cmdf(r2p,x,##y)\nint main() {\n  R2Pipe *r2p = r2pipe_open(NULL);"

l_.str.4:                               ; @.str.4
	.asciz	"\n}\n"

	.no_dead_strip	_lang_cpipe_run
.subsections_via_symbols
