	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lang_zig_run
_lang_zig_run:                          ## @lang_zig_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	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:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	movl	$174, %esi
	movl	$1, %edx
	movq	%rax, %rcx
	callq	_fwrite
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_fputs
	leaq	L_.str.3(%rip), %rdi
	movl	$80, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	%rbx, %rdi
	callq	_fclose
	leaq	L_.str(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lang_zig_file
	movq	%rbx, %rdi
	callq	_r_file_rm
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_eprintf
LBB0_3:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_tmp.zig"

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

L_.str.2:                               ## @.str.2
	.asciz	"extern fn puts(&const u8) void;\nextern fn r_core_cmd_str(&u8, &const u8) &u8;\nextern fn r_core_new() &u8;\nextern fn r_core_free(&u8) void;\n\nexport fn entry(core: &u8) void {\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n}\npub fn r2cmd(core: &u8, cmd: u8) &u8 {\n  return r_core_cmd_str(core, cmd);\n}\n"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot open %s\n"

	.no_dead_strip	_lang_zig_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lang_zig_run
_lang_zig_run:                          ; @lang_zig_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:
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #174
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	mov	x0, x21
	mov	x1, x20
	bl	_fputs
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #80
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	mov	x0, x20
	bl	_fclose
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_lang_zig_file
	mov	x0, x20
	bl	_r_file_rm
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_eprintf
LBB0_3:
	mov	w0, #1
	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	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_tmp.zig"

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

l_.str.2:                               ; @.str.2
	.asciz	"extern fn puts(&const u8) void;\nextern fn r_core_cmd_str(&u8, &const u8) &u8;\nextern fn r_core_new() &u8;\nextern fn r_core_free(&u8) void;\n\nexport fn entry(core: &u8) void {\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n}\npub fn r2cmd(core: &u8, cmd: u8) &u8 {\n  return r_core_cmd_str(core, cmd);\n}\n"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot open %s\n"

	.no_dead_strip	_lang_zig_run
.subsections_via_symbols
