	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function migrate_one
_migrate_one:                           ## @migrate_one
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	leaq	-32(%rbp), %rsi
	callq	_stat
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	(%r14), %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_mkdir
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
	jmp	LBB0_8
LBB0_6:
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_finalize_object_file
	jmp	LBB0_7
LBB0_3:
	movl	(%r14), %edi
	callq	_adjust_shared_perm
	testq	%rax, %rax
	jne	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_migrate_paths
LBB0_7:
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.no_dead_strip	_migrate_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function migrate_one
_migrate_one:                           ; @migrate_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	add	x1, sp, #8
	bl	_stat
	tbnz	x0, #63, LBB0_7
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x19]
	mov	w1, #511
	bl	_mkdir
	cbz	w0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EEXIST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_migrate_paths
	b	LBB0_8
LBB0_5:
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_finalize_object_file
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
	bl	_adjust_shared_perm
	cbz	x0, LBB0_4
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.no_dead_strip	_migrate_one
.subsections_via_symbols
