	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lcopy_attrs                    ## -- Begin function lcopy_attrs
	.p2align	4, 0x90
_lcopy_attrs:                           ## @lcopy_attrs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %edi
	callq	_S_ISLNK
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_chmod
	testq	%rax, %rax
	js	LBB0_2
LBB0_4:
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_lchown
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	8(%rbx), %eax
	movl	%eax, -56(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -52(%rbp)
	movq	_errno@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_lutimes
	testq	%rax, %rax
	jns	LBB0_12
## %bb.7:
	movl	(%r13), %r12d
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_vkprintf
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	$-2, %r15d
	cmpl	(%rax), %r12d
	jne	LBB0_12
## %bb.8:
	movl	(%rbx), %edi
	callq	_S_ISLNK
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_utimes
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:
	movl	$0, (%r13)
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_vkprintf
	movl	$-1, %r15d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_vkprintf
	movl	$-3, %r15d
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chmod for %s failed. %m\n"

L_.str.1:                               ## @.str.1
	.asciz	"lchown for %s failed. %m\n"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"lutimes for %s failed. %m\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
L_.str.3:                               ## @.str.3
	.asciz	"utimes for %s failed. %m\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lcopy_attrs                    ; -- Begin function lcopy_attrs
	.p2align	2
_lcopy_attrs:                           ; @lcopy_attrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_S_ISLNK
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_chmod
	tbnz	x0, #63, LBB0_8
LBB0_2:
	ldp	w2, w1, [x20, #12]
	mov	x0, x19
	bl	_lchown
	tbnz	x0, #63, LBB0_7
; %bb.3:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldur	d0, [x20, #4]
	rev64.2s	v0, v0
	str	d0, [sp, #8]
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	wzr, [x21]
	add	x1, sp, #8
	mov	x0, x19
	bl	_lutimes
	mov	x8, x0
	mov	w0, #0
	tbz	x8, #63, LBB0_10
; %bb.4:
	ldr	w22, [x21]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_vkprintf
Lloh4:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_S_ISLNK
	cbz	w0, LBB0_11
LBB0_6:
	mov	w0, #-2
	b	LBB0_10
LBB0_7:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	mov	w0, #1
	mov	x2, x19
	bl	_vkprintf
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	add	x1, sp, #8
	mov	x0, x19
	bl	_utimes
	tbnz	x0, #63, LBB0_13
; %bb.12:
	mov	w0, #0
	str	wzr, [x21]
	b	LBB0_10
LBB0_13:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_vkprintf
	mov	w0, #-3
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chmod for %s failed. %m\n"

l_.str.1:                               ; @.str.1
	.asciz	"lchown for %s failed. %m\n"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"lutimes for %s failed. %m\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
l_.str.3:                               ; @.str.3
	.asciz	"utimes for %s failed. %m\n"

.subsections_via_symbols
