	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_hash_rename
_dm_hash_rename:                        ## @dm_hash_rename
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_DM_UUID_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%rdi), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kstrdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	__hash_lock@GOTPCREL(%rip), %rdi
	callq	_down_write
	movq	%r13, %rdi
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	callq	___get_uuid_cell
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	callq	___get_name_cell
LBB0_6:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	testl	%r12d, %r12d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	8(%r15), %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rcx
	callq	_DMWARN
	movq	8(%rbx), %rdi
	callq	_dm_put
	movq	__hash_lock@GOTPCREL(%rip), %rdi
	callq	_up_write
	movq	%r14, %rdi
	callq	_kfree
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_8:
	movq	8(%r15), %rdi
	callq	___get_name_cell
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.11:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	8(%r15), %rsi
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rdx
	callq	_DMWARN
	movq	8(%rbx), %rdi
	callq	_dm_put
	movq	__hash_lock@GOTPCREL(%rip), %rdi
	callq	_up_write
	movq	%r14, %rdi
	callq	_kfree
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	testl	%r12d, %r12d
	movq	8(%r15), %rsi
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rcx
	callq	_DMWARN
	movq	__hash_lock@GOTPCREL(%rip), %rdi
	callq	_up_write
	movq	%r14, %rdi
	callq	_kfree
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	___change_cell_name
	movq	%rax, %r14
	jmp	LBB0_15
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	___set_cell_uuid
	xorl	%r14d, %r14d
LBB0_15:
	movq	8(%rbx), %rdi
	leaq	-44(%rbp), %rsi
	callq	_dm_get_live_table
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%rax, %rdi
	callq	_dm_table_event
LBB0_17:
	movq	8(%rbx), %rdi
	movl	-44(%rbp), %esi
	callq	_dm_put_live_table
	movq	8(%rbx), %rdi
	movq	_KOBJ_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	callq	_dm_kobject_uevent
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	_DM_UEVENT_GENERATED_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_19:
	movq	8(%rbx), %rbx
	movq	__hash_lock@GOTPCREL(%rip), %rdi
	callq	_up_write
	movq	%r14, %rdi
	callq	_kfree
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_UUID_FLAG,4,2               ## @DM_UUID_FLAG
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	__hash_lock,4,2                 ## @_hash_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to change %s on mapped device %s to one that already exists: %s"

L_.str.1:                               ## @.str.1
	.asciz	"uuid"

L_.str.2:                               ## @.str.2
	.asciz	"name"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.3:                               ## @.str.3
	.asciz	"Unable to rename non-existent device, %s to %s%s"

L_.str.4:                               ## @.str.4
	.asciz	"uuid "

L_.str.5:                               ## @.str.5
	.space	1

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.6:                               ## @.str.6
	.asciz	"Unable to change uuid of mapped device %s to %s because uuid is already set to %s"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_KOBJ_CHANGE,4,2                ## @KOBJ_CHANGE
	.comm	_DM_UEVENT_GENERATED_FLAG,4,2   ## @DM_UEVENT_GENERATED_FLAG
	.no_dead_strip	_dm_hash_rename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_hash_rename
_dm_hash_rename:                        ; @dm_hash_rename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _DM_UUID_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_UUID_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kstrdup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	and	w23, w23, w22
Lloh6:
	adrp	x0, __hash_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, __hash_lock@GOTPAGEOFF]
	bl	_down_write
	mov	x0, x21
	cbz	w23, LBB0_6
; %bb.2:
	bl	___get_uuid_cell
	mov	x22, x0
	cbz	x0, LBB0_7
LBB0_3:
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w23, #0
	csel	x1, x9, x8, eq
	ldr	x2, [x19, #8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x21
	bl	_DMWARN
	ldr	x0, [x22, #8]
	bl	_dm_put
Lloh14:
	adrp	x0, __hash_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, __hash_lock@GOTPAGEOFF]
	bl	_up_write
	mov	x0, x20
	bl	_kfree
Lloh16:
	adrp	x8, _EBUSY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ERR_PTR
LBB0_6:
	bl	___get_name_cell
	mov	x22, x0
	cbnz	x0, LBB0_3
LBB0_7:
	ldr	x0, [x19, #8]
	bl	___get_name_cell
	cbz	x0, LBB0_11
; %bb.8:
	mov	x22, x0
	cbz	w23, LBB0_12
; %bb.9:
	ldr	x3, [x22]
	cbz	x3, LBB0_13
; %bb.10:
	ldr	x1, [x19, #8]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, x21
	bl	_DMWARN
	ldr	x0, [x22, #8]
	bl	_dm_put
Lloh22:
	adrp	x0, __hash_lock@GOTPAGE
Lloh23:
	ldr	x0, [x0, __hash_lock@GOTPAGEOFF]
	bl	_up_write
	mov	x0, x20
	bl	_kfree
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
	ldr	x1, [x19, #8]
Lloh26:
	adrp	x8, l_.str.4@PAGE
Lloh27:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh28:
	adrp	x9, l_.str.5@PAGE
Lloh29:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w23, #0
	csel	x2, x9, x8, eq
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x3, x21
	bl	_DMWARN
Lloh32:
	adrp	x0, __hash_lock@GOTPAGE
Lloh33:
	ldr	x0, [x0, __hash_lock@GOTPAGEOFF]
	bl	_up_write
	mov	x0, x20
	bl	_kfree
Lloh34:
	adrp	x8, _ENXIO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	mov	x0, x22
	mov	x1, x20
	bl	___change_cell_name
	mov	x20, x0
	b	LBB0_14
LBB0_13:
	mov	x0, x22
	mov	x1, x20
	bl	___set_cell_uuid
	mov	x20, #0
LBB0_14:
	ldr	x0, [x22, #8]
	add	x1, sp, #12
	bl	_dm_get_live_table
	cbz	x0, LBB0_16
; %bb.15:
	bl	_dm_table_event
LBB0_16:
	ldr	x0, [x22, #8]
	ldr	w1, [sp, #12]
	bl	_dm_put_live_table
	ldr	x0, [x22, #8]
Lloh36:
	adrp	x8, _KOBJ_CHANGE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	bl	_dm_kobject_uevent
	cbnz	w0, LBB0_18
; %bb.17:
Lloh39:
	adrp	x8, _DM_UEVENT_GENERATED_FLAG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DM_UEVENT_GENERATED_FLAG@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_18:
	ldr	x19, [x22, #8]
Lloh42:
	adrp	x0, __hash_lock@GOTPAGE
Lloh43:
	ldr	x0, [x0, __hash_lock@GOTPAGEOFF]
	bl	_up_write
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_UUID_FLAG,4,2               ; @DM_UUID_FLAG
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	__hash_lock,4,2                 ; @_hash_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to change %s on mapped device %s to one that already exists: %s"

l_.str.1:                               ; @.str.1
	.asciz	"uuid"

l_.str.2:                               ; @.str.2
	.asciz	"name"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.3:                               ; @.str.3
	.asciz	"Unable to rename non-existent device, %s to %s%s"

l_.str.4:                               ; @.str.4
	.asciz	"uuid "

l_.str.5:                               ; @.str.5
	.space	1

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.6:                               ; @.str.6
	.asciz	"Unable to change uuid of mapped device %s to %s because uuid is already set to %s"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_KOBJ_CHANGE,4,2                ; @KOBJ_CHANGE
	.comm	_DM_UEVENT_GENERATED_FLAG,4,2   ; @DM_UEVENT_GENERATED_FLAG
	.no_dead_strip	_dm_hash_rename
.subsections_via_symbols
