	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwstart
_pwstart:                               ## @pwstart
	.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	__pw_filesdone@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	__pw_fp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_rewind
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_pwfile@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	xorl	%eax, %eax
	cmpb	$0, (%rdi)
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	__pw_filesdone,8,3              ## @_pw_filesdone
	.comm	__pw_fp,8,3                     ## @_pw_fp
	.comm	_pwfile,8,3                     ## @pwfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Can't open `%s'"

	.no_dead_strip	_pwstart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pwstart
_pwstart:                               ; @pwstart
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, __pw_filesdone@GOTPAGE
Lloh1:
	ldr	x8, [x8, __pw_filesdone@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x19, __pw_fp@GOTPAGE
Lloh4:
	ldr	x19, [x19, __pw_fp@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_rewind
	mov	w0, #1
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x20, _pwfile@GOTPAGE
Lloh6:
	ldr	x20, [x20, _pwfile@GOTPAGEOFF]
	ldr	x0, [x20]
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
	ldr	x1, [x20]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__pw_filesdone,8,3              ; @_pw_filesdone
	.comm	__pw_fp,8,3                     ; @_pw_fp
	.comm	_pwfile,8,3                     ; @pwfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Can't open `%s'"

	.no_dead_strip	_pwstart
.subsections_via_symbols
