	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_namespace_resource
_add_namespace_resource:                ## @add_namespace_resource
	.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
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_to_ndd
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	callq	_WARN_ON
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_namespace_to_uuid
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %esi
	movq	_NSLABEL_UUID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:
	movq	(%r12,%rbx,8), %rdi
	callq	_is_namespace_blk
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	(%r12,%rbx,8), %rdi
	callq	_to_nd_namespace_blk
	movl	%eax, %r15d
	movl	4(%r13), %edi
	callq	___le64_to_cpu
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_nsblk_add_resource
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_nd_dbg_dpa
	jmp	LBB0_13
LBB0_6:
	movl	%r14d, %ebx
	jmp	LBB0_13
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_10:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NSLABEL_UUID_LEN,4,2           ## @NSLABEL_UUID_LEN
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d assign\n"

L_.str.1:                               ## @.str.1
	.asciz	"error: conflicting extents for uuid: %pUb\n"

	.no_dead_strip	_add_namespace_resource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_namespace_resource
_add_namespace_resource:                ; @add_namespace_resource
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x24, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x0, [x0, #8]
	bl	_to_ndd
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x22, x0
	mov	x19, #0
	mov	w26, w20
Lloh0:
	adrp	x27, _NSLABEL_UUID_LEN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NSLABEL_UUID_LEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_WARN_ON
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	cmp	x26, x19
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24, x19, lsl #3]
	bl	_namespace_to_uuid
	mov	x25, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x27]
	mov	x0, x25
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.6:
	ldr	x0, [x24, x19, lsl #3]
	bl	_is_namespace_blk
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x0, [x24, x19, lsl #3]
	bl	_to_nd_namespace_blk
	mov	x24, x0
	ldr	w0, [x23, #4]
	bl	___le64_to_cpu
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	bl	_nsblk_add_resource
	cbz	x0, LBB0_12
; %bb.8:
	mov	x2, x0
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x4, x20
	bl	_nd_dbg_dpa
	b	LBB0_13
LBB0_9:
	mov	x19, x26
	b	LBB0_13
LBB0_10:
	mov	w19, #0
	b	LBB0_13
LBB0_11:
	ldr	w2, [x23]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_12:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NSLABEL_UUID_LEN,4,2           ; @NSLABEL_UUID_LEN
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d assign\n"

l_.str.1:                               ; @.str.1
	.asciz	"error: conflicting extents for uuid: %pUb\n"

	.no_dead_strip	_add_namespace_resource
.subsections_via_symbols
