	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btt_claim_class
_btt_claim_class:                       ## @btt_claim_class
	.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
	movl	(%rdi), %edi
	callq	_to_nd_region
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.1:
	movq	%rax, %r14
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$4, %ecx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	orl	%ecx, %r15d
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%r12, %rdi
	callq	_to_ndd
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %esi
	movq	%rax, %rdi
	callq	_to_namespace_index
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	___le16_to_cpu
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	callq	___le16_to_cpu
	movl	$2, %ecx
	cmpl	$1, %eax
	jne	LBB0_2
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ecx
	jmp	LBB0_3
LBB0_9:
	cmpl	$1, %r15d
	je	LBB0_15
## %bb.10:
	cmpl	$4, %r15d
	je	LBB0_15
## %bb.11:
	cmpl	$2, %r15d
	jne	LBB0_16
LBB0_12:
	movq	_NVDIMM_CCLASS_BTT@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_NVDIMM_CCLASS_BTT2@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_16:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_NVDIMM_CCLASS_BTT,4,2          ## @NVDIMM_CCLASS_BTT
	.comm	_NVDIMM_CCLASS_BTT2,4,2         ## @NVDIMM_CCLASS_BTT2
	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_btt_claim_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btt_claim_class
_btt_claim_class:                       ; @btt_claim_class
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w0, [x0]
	bl	_to_nd_region
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	mov	x23, #0
	mov	w21, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	orr	w21, w21, w8
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #4
	cmp	x23, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	bl	_to_ndd
	cbz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x0]
	bl	_to_namespace_index
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	___le16_to_cpu
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	bl	___le16_to_cpu
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #2
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	b	LBB0_3
LBB0_10:
	cmp	w21, #1
	b.eq	LBB0_16
; %bb.11:
	cmp	w21, #4
	b.eq	LBB0_16
; %bb.12:
	cmp	w21, #2
	b.ne	LBB0_17
LBB0_13:
Lloh0:
	adrp	x8, _NVDIMM_CCLASS_BTT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVDIMM_CCLASS_BTT@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh2:
	adrp	x8, _NVDIMM_CCLASS_BTT2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVDIMM_CCLASS_BTT2@GOTPAGEOFF]
	b	LBB0_14
LBB0_17:
Lloh4:
	adrp	x8, _ENXIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NVDIMM_CCLASS_BTT,4,2          ; @NVDIMM_CCLASS_BTT
	.comm	_NVDIMM_CCLASS_BTT2,4,2         ; @NVDIMM_CCLASS_BTT2
	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_btt_claim_class
.subsections_via_symbols
