	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dofile
_dofile:                                ## @dofile
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_FILENAME@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_APPEND@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_open
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movq	(%r12), %r8
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	cmpq	%r15, %rax
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movq	_O_APPEND@GOTPCREL(%rip), %rdx
	movq	_S_IRUSR@GOTPCREL(%rip), %rdi
	jae	LBB0_6
## %bb.5:
	movl	(%rcx), %esi
	orl	(%rax), %esi
	orl	(%rdx), %esi
	movl	(%r14), %edx
	orl	(%rdi), %edx
	movq	%r13, %rdi
	callq	_open
	movq	%r13, %rbx
	cmpl	$-1, %eax
	jne	LBB0_7
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	movq	_EXIT_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
	movl	$-1, %eax
LBB0_7:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movq	_EXIT_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_err
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_FILENAME,8,3                   ## @FILENAME
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HOME"

L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.comm	_EXIT_MISC,4,2                  ## @EXIT_MISC
L_.str.2:                               ## @.str.2
	.asciz	"can't open a nohup.out file"

	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"appending output to %s\n"

	.no_dead_strip	_dofile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dofile
_dofile:                                ; @dofile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x27, _FILENAME@GOTPAGE
Lloh9:
	ldr	x27, [x27, _FILENAME@GOTPAGEOFF]
	ldr	x21, [x27]
Lloh10:
	adrp	x22, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x22, [x22, _O_RDWR@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh12:
	adrp	x23, _O_CREAT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _O_CREAT@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh14:
	adrp	x24, _O_APPEND@GOTPAGE
Lloh15:
	ldr	x24, [x24, _O_APPEND@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh16:
	adrp	x25, _S_IRUSR@GOTPAGE
Lloh17:
	ldr	x25, [x25, _S_IRUSR@GOTPAGEOFF]
	orr	w1, w8, w9
	ldr	w8, [x25]
Lloh18:
	adrp	x26, _S_IWUSR@GOTPAGE
Lloh19:
	ldr	x26, [x26, _S_IWUSR@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_open
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.1:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.2:
	ldrb	w8, [x21]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x4, [x27]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_snprintf
	cmp	x0, x20
	b.hs	LBB0_5
; %bb.4:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w1, w8, w9
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_open
	mov	x21, x19
	cmn	w0, #1
	b.ne	LBB0_7
LBB0_5:
Lloh24:
	adrp	x8, _EXIT_MISC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EXIT_MISC@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	mov	w0, #-1
LBB0_6:
	mov	x19, x21
LBB0_7:
Lloh29:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh32:
	adrp	x8, _EXIT_MISC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EXIT_MISC@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_err
LBB0_9:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	ldur	x8, [x29, #-88]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_FILENAME,8,3                   ; @FILENAME
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HOME"

l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.comm	_EXIT_MISC,4,2                  ; @EXIT_MISC
l_.str.2:                               ; @.str.2
	.asciz	"can't open a nohup.out file"

	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"appending output to %s\n"

	.no_dead_strip	_dofile
.subsections_via_symbols
