	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_aw                        ## -- Begin function file_aw
	.p2align	4, 0x90
_file_aw:                               ## @file_aw
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_F_MODIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_ISSET
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_O_AUTOWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_O_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_msgq
	movl	$1, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r14d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_file_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_F_MODIFIED,4,2                 ## @F_MODIFIED
	.comm	_O_AUTOWRITE,4,2                ## @O_AUTOWRITE
	.comm	_O_READONLY,4,2                 ## @O_READONLY
	.comm	_M_INFO,4,2                     ## @M_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"266|File readonly, modifications not auto-written"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_aw                        ; -- Begin function file_aw
	.p2align	2
_file_aw:                               ; @file_aw
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _F_MODIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_MODIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_F_ISSET
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _O_AUTOWRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_AUTOWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _O_READONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_READONLY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	x0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _M_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msgq
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_file_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_F_MODIFIED,4,2                 ; @F_MODIFIED
	.comm	_O_AUTOWRITE,4,2                ; @O_AUTOWRITE
	.comm	_O_READONLY,4,2                 ; @O_READONLY
	.comm	_M_INFO,4,2                     ; @M_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"266|File readonly, modifications not auto-written"

.subsections_via_symbols
