	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_for_attributes
_open_for_attributes:                   ## @open_for_attributes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_NF4DIR@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_8
## %bb.1:
	movq	_FILE_OPEN@GOTPCREL(%rip), %rax
	movq	_TRUE@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	cmpq	%rdx, (%rax)
	je	LBB0_18
## %bb.2:
	movq	_FILE_OVERWRITE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_18
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.4:
	movq	_FILE_OPEN_IF@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_18
## %bb.5:
	movq	_FILE_OVERWRITE_IF@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_18
## %bb.6:
	movq	_FILE_SUPERSEDE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_18
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
LBB0_18:
	movl	$1, %edi
	callq	_dprintf
	jmp	LBB0_19
LBB0_8:
	movq	_FILE_READ_DATA@GOTPCREL(%rip), %rax
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testq	%rsi, (%rax)
	jne	LBB0_19
## %bb.9:
	movq	_FILE_WRITE_DATA@GOTPCREL(%rip), %rax
	testq	%rsi, (%rax)
	jne	LBB0_19
## %bb.10:
	movq	_FILE_APPEND_DATA@GOTPCREL(%rip), %rax
	testq	%rsi, (%rax)
	je	LBB0_11
LBB0_19:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_11:
	movq	_FILE_EXECUTE@GOTPCREL(%rip), %rax
	testq	%rsi, (%rax)
	jne	LBB0_19
## %bb.12:
	movq	_FILE_CREATE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_19
## %bb.13:
	movq	_FILE_OVERWRITE_IF@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_19
## %bb.14:
	movq	_FILE_SUPERSEDE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_19
## %bb.15:
	movq	_FILE_OPEN_IF@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_19
## %bb.16:
	movq	_FILE_OVERWRITE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_19
## %bb.17:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_NF4DIR,8,3                     ## @NF4DIR
	.comm	_FILE_OPEN,8,3                  ## @FILE_OPEN
	.comm	_FILE_OVERWRITE,8,3             ## @FILE_OVERWRITE
	.comm	_FILE_OPEN_IF,8,3               ## @FILE_OPEN_IF
	.comm	_FILE_OVERWRITE_IF,8,3          ## @FILE_OVERWRITE_IF
	.comm	_FILE_SUPERSEDE,8,3             ## @FILE_SUPERSEDE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Opening a directory\n"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"Creating a directory\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_FILE_READ_DATA,8,3             ## @FILE_READ_DATA
	.comm	_FILE_WRITE_DATA,8,3            ## @FILE_WRITE_DATA
	.comm	_FILE_APPEND_DATA,8,3           ## @FILE_APPEND_DATA
	.comm	_FILE_EXECUTE,8,3               ## @FILE_EXECUTE
	.comm	_FILE_CREATE,8,3                ## @FILE_CREATE
L_.str.2:                               ## @.str.2
	.asciz	"Open call that wants to manage attributes\n"

	.no_dead_strip	_open_for_attributes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_for_attributes
_open_for_attributes:                   ; @open_for_attributes
	.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, _NF4DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NF4DIR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FILE_OPEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _FILE_OVERWRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FILE_OVERWRITE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x2
	ccmp	x9, x2, #4, ne
	b.ne	LBB0_7
LBB0_2:
Lloh9:
	adrp	x19, _TRUE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _TRUE@GOTPAGEOFF]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_3:
Lloh13:
	adrp	x8, _FILE_READ_DATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	tst	x8, x1
	b.ne	LBB0_6
; %bb.4:
Lloh16:
	adrp	x8, _FILE_WRITE_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FILE_WRITE_DATA@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	tst	x8, x1
	b.ne	LBB0_6
; %bb.5:
Lloh19:
	adrp	x8, _FILE_APPEND_DATA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FILE_APPEND_DATA@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	tst	x8, x1
	b.eq	LBB0_12
LBB0_6:
Lloh22:
	adrp	x19, _FALSE@GOTPAGE
Lloh23:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	cbnz	w3, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _FILE_OPEN_IF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FILE_OPEN_IF@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _FILE_OVERWRITE_IF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FILE_OVERWRITE_IF@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
Lloh30:
	adrp	x10, _FILE_SUPERSEDE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _FILE_SUPERSEDE@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x8, x2
	ccmp	x9, x2, #4, ne
	ccmp	x10, x2, #4, ne
	b.eq	LBB0_2
LBB0_9:
Lloh33:
	adrp	x19, _FALSE@GOTPAGE
Lloh34:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	w0, #1
	bl	_dprintf
LBB0_11:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh37:
	adrp	x8, _FILE_EXECUTE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FILE_EXECUTE@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
Lloh40:
	adrp	x19, _FALSE@GOTPAGE
Lloh41:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
	tst	x8, x1
	b.ne	LBB0_11
; %bb.13:
Lloh42:
	adrp	x8, _FILE_CREATE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FILE_CREATE@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_11
; %bb.14:
Lloh45:
	adrp	x8, _FILE_OVERWRITE_IF@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FILE_OVERWRITE_IF@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_11
; %bb.15:
Lloh48:
	adrp	x8, _FILE_SUPERSEDE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FILE_SUPERSEDE@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_11
; %bb.16:
Lloh51:
	adrp	x8, _FILE_OPEN_IF@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FILE_OPEN_IF@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_11
; %bb.17:
Lloh54:
	adrp	x8, _FILE_OVERWRITE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _FILE_OVERWRITE@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_11
; %bb.18:
Lloh57:
	adrp	x19, _TRUE@GOTPAGE
Lloh58:
	ldr	x19, [x19, _TRUE@GOTPAGEOFF]
Lloh59:
	adrp	x1, l_.str.2@PAGE
Lloh60:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_NF4DIR,8,3                     ; @NF4DIR
	.comm	_FILE_OPEN,8,3                  ; @FILE_OPEN
	.comm	_FILE_OVERWRITE,8,3             ; @FILE_OVERWRITE
	.comm	_FILE_OPEN_IF,8,3               ; @FILE_OPEN_IF
	.comm	_FILE_OVERWRITE_IF,8,3          ; @FILE_OVERWRITE_IF
	.comm	_FILE_SUPERSEDE,8,3             ; @FILE_SUPERSEDE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Opening a directory\n"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"Creating a directory\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_FILE_READ_DATA,8,3             ; @FILE_READ_DATA
	.comm	_FILE_WRITE_DATA,8,3            ; @FILE_WRITE_DATA
	.comm	_FILE_APPEND_DATA,8,3           ; @FILE_APPEND_DATA
	.comm	_FILE_EXECUTE,8,3               ; @FILE_EXECUTE
	.comm	_FILE_CREATE,8,3                ; @FILE_CREATE
l_.str.2:                               ; @.str.2
	.asciz	"Open call that wants to manage attributes\n"

	.no_dead_strip	_open_for_attributes
.subsections_via_symbols
