	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_copy_attrs
_io_copy_attrs:                         ## @io_copy_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %esi
	movl	104(%rdi), %edi
	movl	$-1, %edx
	callq	_fchown
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_warn_fchown@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movl	(%rbx), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_message_warning
LBB0_3:
	movl	12(%rbx), %edx
	movl	104(%rbx), %edi
	movl	$-1, %esi
	callq	_fchown
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movl	(%rbx), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_message_warning
	movl	16(%rbx), %eax
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	%eax, %ecx
	andl	$7, %ecx
	andl	$448, %eax                      ## imm = 0x1C0
	leal	(%rax,%rcx,8), %esi
	orl	%ecx, %esi
	jmp	LBB0_6
LBB0_5:
	movl	$511, %esi                      ## imm = 0x1FF
	andl	16(%rbx), %esi
LBB0_6:
	movl	104(%rbx), %edi
	callq	_fchmod
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movl	(%rbx), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_message_warning                ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_warn_fchown,8,3                ## @warn_fchown
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Cannot set the file owner: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"%s: Cannot set the file group: %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Cannot set the file permissions: %s"

	.no_dead_strip	_io_copy_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_copy_attrs
_io_copy_attrs:                         ; @io_copy_attrs
	.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	x19, x0
	ldr	w0, [x0, #104]
	ldr	w1, [x19, #8]
	mov	w2, #-1
	bl	_fchown
Lloh0:
	adrp	x8, _warn_fchown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _warn_fchown@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
Lloh3:
	adrp	x22, _errno@GOTPAGE
Lloh4:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	w21, [x19]
	ldr	w0, [x22]
	bl	_strerror
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_message_warning
LBB0_2:
	ldr	w0, [x19, #104]
	ldr	w2, [x19, #12]
	mov	w1, #-1
	bl	_fchown
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	w21, [x19]
	ldr	w0, [x22]
	bl	_strerror
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_message_warning
	ldr	w8, [x19, #16]
	and	w9, w8, w8, lsr #3
	and	w10, w9, #0x7
	and	w1, w8, #0x1c0
	bfi	w1, w10, #3, #3
	bfxil	w1, w9, #0, #3
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #16]
	and	w1, w8, #0x1ff
LBB0_5:
	ldr	w0, [x19, #104]
	bl	_fchmod
	cbz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	w19, [x19]
	ldr	w0, [x22]
	bl	_strerror
	mov	x2, x0
	mov	x0, x20
	mov	x1, 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
	b	_message_warning
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_warn_fchown,8,3                ; @warn_fchown
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Cannot set the file owner: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"%s: Cannot set the file group: %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Cannot set the file permissions: %s"

	.no_dead_strip	_io_copy_attrs
.subsections_via_symbols
