	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_file
_compile_file:                          ## @compile_file
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_2:
	movq	_g_argv@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %r12
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	_g_dtp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_g_cflags@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_argc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %r8
	movq	%r14, %rsi
	callq	_dtrace_program_fcompile
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_dfatal
LBB0_4:
	movq	(%r15), %rax
	movq	%r12, (%rax)
	movq	%r14, %rdi
	callq	_fclose
	leaq	L_.str.3(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rax
	movq	%rax, 16(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"failed to open %s"

	.comm	_g_argv,8,3                     ## @g_argv
	.comm	_g_dtp,4,2                      ## @g_dtp
	.comm	_g_cflags,4,2                   ## @g_cflags
	.comm	_g_argc,4,2                     ## @g_argc
L_.str.2:                               ## @.str.2
	.asciz	"failed to compile script %s"

L_.str.3:                               ## @.str.3
	.asciz	"script"

	.no_dead_strip	_compile_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_file
_compile_file:                          ; @compile_file
	.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	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x1, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_2:
Lloh4:
	adrp	x21, _g_argv@GOTPAGE
Lloh5:
	ldr	x21, [x21, _g_argv@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x22, [x8]
	ldr	x9, [x19]
	str	x9, [x8]
Lloh6:
	adrp	x8, _g_dtp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_dtp@GOTPAGEOFF]
Lloh8:
	adrp	x9, _g_cflags@GOTPAGE
Lloh9:
	ldr	x9, [x9, _g_cflags@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	ldr	w2, [x9]
Lloh12:
	adrp	x8, _g_argc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_argc@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldr	x4, [x21]
	mov	x1, x20
	bl	_dtrace_program_fcompile
	str	x0, [x19, #24]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x1, [x19]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dfatal
LBB0_4:
	ldr	x8, [x21]
	str	x22, [x8]
	mov	x0, x20
	bl	_fclose
	ldr	x8, [x19]
Lloh17:
	adrp	x9, l_.str.3@PAGE
Lloh18:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x9, x8, [x19, #8]
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"failed to open %s"

	.comm	_g_argv,8,3                     ; @g_argv
	.comm	_g_dtp,4,2                      ; @g_dtp
	.comm	_g_cflags,4,2                   ; @g_cflags
	.comm	_g_argc,4,2                     ; @g_argc
l_.str.2:                               ; @.str.2
	.asciz	"failed to compile script %s"

l_.str.3:                               ; @.str.3
	.asciz	"script"

	.no_dead_strip	_compile_file
.subsections_via_symbols
