	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_file_attr
_get_file_attr:                         ## @get_file_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rdx
	movq	_GetFileExInfoStandard@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetFileAttributesExA
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.8:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_GetLastError
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.2:
	movl	$43, %ecx
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.9:
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GetFileExInfoStandard,4,2      ## @GetFileExInfoStandard
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_get_file_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_file_attr
_get_file_attr:                         ; @get_file_attr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
Lloh0:
	adrp	x8, _GetFileExInfoStandard@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GetFileExInfoStandard@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetFileAttributesExA
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_GetLastError
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.3:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #43
	tst	w9, w10
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _EACCES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	cmp	w8, #2
	b.ne	LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x8, _ENOENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GetFileExInfoStandard,4,2      ; @GetFileExInfoStandard
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_get_file_attr
.subsections_via_symbols
