	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_disposition_2_nfsopen
_map_disposition_2_nfsopen:             ## @map_disposition_2_nfsopen
	.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	%r9, %rbx
	movq	%rcx, %r15
	movq	_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_FILE_SUPERSEDE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	_NFS4ERR_NOENT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_3
LBB0_6:
	movq	_FILE_CREATE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_10
## %bb.7:
	testl	%esi, %esi
	je	LBB0_8
LBB0_3:
	movq	_OPEN4_CREATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.4:
	movq	_GUARDED4@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_FILE_OPEN@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_13
## %bb.11:
	movq	_NFS4ERR_NOENT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_17
## %bb.12:
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_26
LBB0_9:
	movq	_EXCLUSIVE4_1@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, (%r8)
LBB0_26:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_FILE_OPEN_IF@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_18
## %bb.14:
	movq	_NFS4ERR_NOENT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_16
## %bb.15:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintf
	movq	_OPEN4_CREATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_26
LBB0_8:
	movq	_ERROR_FILE_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_26
LBB0_18:
	movq	_FILE_OVERWRITE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_21
## %bb.19:
	movq	_NFS4ERR_NOENT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_24
## %bb.20:
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_24
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_dprintf
LBB0_17:
	movq	_OPEN4_NOCREATE@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_21:
	movq	_FILE_OVERWRITE_IF@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_26
## %bb.22:
	movq	_NFS4ERR_NOENT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_24
## %bb.23:
	movq	_ERROR_FILE_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_24:
	movq	_OPEN4_CREATE@GOTPCREL(%rip), %rax
LBB0_25:
	movq	(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_ERROR,4,2                   ## @NO_ERROR
	.comm	_FILE_SUPERSEDE,8,3             ## @FILE_SUPERSEDE
	.comm	_NFS4ERR_NOENT,4,2              ## @NFS4ERR_NOENT
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ## @ERROR_FILE_NOT_FOUND
	.comm	_OPEN4_CREATE,8,3               ## @OPEN4_CREATE
	.comm	_GUARDED4,8,3                   ## @GUARDED4
	.comm	_EXCLUSIVE4_1,8,3               ## @EXCLUSIVE4_1
	.comm	_FILE_CREATE,8,3                ## @FILE_CREATE
	.comm	_ERROR_FILE_EXISTS,4,2          ## @ERROR_FILE_EXISTS
	.comm	_FILE_OPEN,8,3                  ## @FILE_OPEN
	.comm	_OPEN4_NOCREATE,8,3             ## @OPEN4_NOCREATE
	.comm	_FILE_OPEN_IF,8,3               ## @FILE_OPEN_IF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"creating new file\n"

L_.str.1:                               ## @.str.1
	.asciz	"opening existing file\n"

	.comm	_FILE_OVERWRITE,8,3             ## @FILE_OVERWRITE
	.comm	_FILE_OVERWRITE_IF,8,3          ## @FILE_OVERWRITE_IF
	.no_dead_strip	_map_disposition_2_nfsopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_disposition_2_nfsopen
_map_disposition_2_nfsopen:             ; @map_disposition_2_nfsopen
	.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, x5
	mov	x20, x3
Lloh0:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _FILE_SUPERSEDE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_SUPERSEDE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _NFS4ERR_NOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFS4ERR_NOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _FILE_CREATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FILE_CREATE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_7
; %bb.4:
	cbz	w1, LBB0_16
LBB0_5:
Lloh15:
	adrp	x8, _OPEN4_CREATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OPEN4_CREATE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x20]
	cbz	x2, LBB0_10
; %bb.6:
Lloh18:
	adrp	x8, _GUARDED4@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GUARDED4@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh20:
	adrp	x8, _FILE_OPEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FILE_OPEN@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_13
; %bb.8:
Lloh23:
	adrp	x8, _NFS4ERR_NOENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NFS4ERR_NOENT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_20
; %bb.9:
Lloh26:
	adrp	x8, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh28:
	ldr	w19, [x8]
	b	LBB0_12
LBB0_10:
Lloh29:
	adrp	x8, _EXCLUSIVE4_1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EXCLUSIVE4_1@GOTPAGEOFF]
LBB0_11:
	ldr	x8, [x8]
	str	x8, [x4]
LBB0_12:
	mov	x0, x19
	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
LBB0_13:
Lloh31:
	adrp	x8, _FILE_OPEN_IF@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FILE_OPEN_IF@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_17
; %bb.14:
Lloh34:
	adrp	x8, _NFS4ERR_NOENT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NFS4ERR_NOENT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_19
; %bb.15:
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintf
Lloh39:
	adrp	x8, _OPEN4_CREATE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _OPEN4_CREATE@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x20]
Lloh42:
	adrp	x8, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_12
LBB0_16:
Lloh45:
	adrp	x8, _ERROR_FILE_EXISTS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ERROR_FILE_EXISTS@GOTPAGEOFF]
Lloh47:
	ldr	w19, [x8]
	b	LBB0_12
LBB0_17:
Lloh48:
	adrp	x8, _FILE_OVERWRITE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FILE_OVERWRITE@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_21
; %bb.18:
Lloh51:
	adrp	x8, _NFS4ERR_NOENT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _NFS4ERR_NOENT@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	cmp	w8, w1
	csel	w19, w9, w19, eq
	b	LBB0_24
LBB0_19:
Lloh57:
	adrp	x1, l_.str.1@PAGE
Lloh58:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintf
LBB0_20:
Lloh59:
	adrp	x8, _OPEN4_NOCREATE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _OPEN4_NOCREATE@GOTPAGEOFF]
	b	LBB0_25
LBB0_21:
Lloh61:
	adrp	x8, _FILE_OVERWRITE_IF@GOTPAGE
Lloh62:
	ldr	x8, [x8, _FILE_OVERWRITE_IF@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_12
; %bb.22:
Lloh64:
	adrp	x8, _NFS4ERR_NOENT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _NFS4ERR_NOENT@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_24
; %bb.23:
Lloh67:
	adrp	x8, _ERROR_FILE_NOT_FOUND@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ERROR_FILE_NOT_FOUND@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_24:
Lloh70:
	adrp	x8, _OPEN4_CREATE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _OPEN4_CREATE@GOTPAGEOFF]
LBB0_25:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_ERROR,4,2                   ; @NO_ERROR
	.comm	_FILE_SUPERSEDE,8,3             ; @FILE_SUPERSEDE
	.comm	_NFS4ERR_NOENT,4,2              ; @NFS4ERR_NOENT
	.comm	_ERROR_FILE_NOT_FOUND,8,3       ; @ERROR_FILE_NOT_FOUND
	.comm	_OPEN4_CREATE,8,3               ; @OPEN4_CREATE
	.comm	_GUARDED4,8,3                   ; @GUARDED4
	.comm	_EXCLUSIVE4_1,8,3               ; @EXCLUSIVE4_1
	.comm	_FILE_CREATE,8,3                ; @FILE_CREATE
	.comm	_ERROR_FILE_EXISTS,4,2          ; @ERROR_FILE_EXISTS
	.comm	_FILE_OPEN,8,3                  ; @FILE_OPEN
	.comm	_OPEN4_NOCREATE,8,3             ; @OPEN4_NOCREATE
	.comm	_FILE_OPEN_IF,8,3               ; @FILE_OPEN_IF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"creating new file\n"

l_.str.1:                               ; @.str.1
	.asciz	"opening existing file\n"

	.comm	_FILE_OVERWRITE,8,3             ; @FILE_OVERWRITE
	.comm	_FILE_OVERWRITE_IF,8,3          ; @FILE_OVERWRITE_IF
	.no_dead_strip	_map_disposition_2_nfsopen
.subsections_via_symbols
