	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_hidden_flag
_set_hidden_flag:                       ## @set_hidden_flag
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_GetFileAttributesW
	movq	_FILE_ATTRIBUTE_HIDDEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	xorl	%r14d, %r14d
	cmpl	%esi, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_SetFileAttributesW
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%eax, %edi
	callq	_err_win_to_posix
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_ATTRIBUTE_HIDDEN,4,2      ## @FILE_ATTRIBUTE_HIDDEN
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_set_hidden_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_hidden_flag
_set_hidden_flag:                       ; @set_hidden_flag
	.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
	bl	_GetFileAttributesW
Lloh0:
	adrp	x8, _FILE_ATTRIBUTE_HIDDEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_ATTRIBUTE_HIDDEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w1, w8, w9, eq
	cmp	w0, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SetFileAttributesW
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	bl	_GetLastError
	bl	_err_win_to_posix
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_ATTRIBUTE_HIDDEN,4,2      ; @FILE_ATTRIBUTE_HIDDEN
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_set_hidden_flag
.subsections_via_symbols
