	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_active_labels
_init_active_labels:                    ## @init_active_labels
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rdx
	movl	(%rdi), %eax
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movslq	(%rdx), %rax
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	8(%rdx), %r14
	leaq	(%r12,%r12,2), %r15
	leaq	(%r14,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_to_ndd
	movq	%rax, %r13
	movq	16(%r14,%r15,8), %rax
	testq	%r13, %r13
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, 8(%r14,%r15,8)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %rdi
	callq	_atomic_inc
	movq	%r13, %rdi
	callq	_get_ndd
	movq	%r13, %rdi
	callq	_nd_label_active_count
	movl	%eax, %r12d
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_dbg
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r15,8), %rax
	addq	$4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, 8(%r14)
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mutex_unlock
	incl	%r12d
	cmpl	%r12d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_nd_label_active
	movq	%rax, %r15
	movq	_NDD_NOBLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r15), %edi
	callq	___le32_to_cpu
	movq	_NSLABEL_FLAG_LOCAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	___cpu_to_le32
	movl	%eax, (%r15)
	jmp	LBB0_12
LBB0_18:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_14:
	cmpl	%eax, %r12d
	jge	LBB0_19
## %bb.15:
	movq	%rdx, %rdi
	callq	_deactivate_labels
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_16:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	4(%rdx), %rdi
	movq	_deactivate_labels@GOTPCREL(%rip), %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_add_action_or_reset       ## TAILCALL
LBB0_3:
	movq	_NDD_LOCKED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rax, %r13
	movq	%rax, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_NDD_ALIASING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	leaq	(%r14,%r15,8), %rax
	addq	$16, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	movq	(%rax), %rdi
	addq	$8, %rdi
	callq	_dev_name
	movl	%eax, %r14d
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_NDD_LOCKED,4,2                 ## @NDD_LOCKED
	.comm	_NDD_ALIASING,4,2               ## @NDD_ALIASING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: is %s, failing probe\n"

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

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

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.3:                               ## @.str.3
	.asciz	"count: %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NDD_NOBLK,4,2                  ## @NDD_NOBLK
	.comm	_NSLABEL_FLAG_LOCAL,4,2         ## @NSLABEL_FLAG_LOCAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_init_active_labels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_active_labels
_init_active_labels:                    ; @init_active_labels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x25, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x21, #0
	mov	w28, #24
Lloh0:
	adrp	x19, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GFP_KERNEL@GOTPAGEOFF]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldrsw	x8, [x25]
	cmp	x21, x8
	mov	w28, #24
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x26, [x25, #8]
	madd	x22, x21, x28, x26
	mov	x0, x22
	bl	_to_ndd
	mov	x24, x22
	ldr	x20, [x24, #16]!
	cbz	x0, LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	mov	w27, #24
	madd	x8, x21, x28, x26
	str	x0, [x8, #8]
	add	x0, x20, #4
	bl	_atomic_inc
	mov	x0, x23
	bl	_get_ndd
	mov	x0, x23
	bl	_nd_label_active_count
	mov	x24, x0
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x24
	bl	_dev_dbg
	cmp	w24, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
	madd	x8, x21, x27, x26
	add	x26, x8, #4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	str	x28, [x27, #8]
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x27
	mov	x1, x26
	bl	_list_add_tail
	mov	x0, x22
	bl	_mutex_unlock
	add	w25, w25, #1
	cmp	w24, w25
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x19]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x27, x0
	mov	x0, x23
	mov	x1, x25
	bl	_nd_label_active
	mov	x28, x0
Lloh4:
	adrp	x8, _NDD_NOBLK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NDD_NOBLK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x28]
	bl	___le32_to_cpu
Lloh7:
	adrp	x8, _NSLABEL_FLAG_LOCAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NSLABEL_FLAG_LOCAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w0, w0, w8
	bl	___cpu_to_le32
	str	w0, [x28]
	b	LBB0_6
LBB0_10:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [x25]
LBB0_11:
	cmp	w21, w8
	b.ge	LBB0_16
LBB0_12:
	mov	x0, x25
	bl	_deactivate_labels
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	mov	w21, #0
	cmp	w21, w8
	b.lt	LBB0_12
LBB0_16:
	add	x0, x25, #4
Lloh12:
	adrp	x1, _deactivate_labels@GOTPAGE
Lloh13:
	ldr	x1, [x1, _deactivate_labels@GOTPAGEOFF]
	mov	x2, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_devm_add_action_or_reset
LBB0_17:
Lloh14:
	adrp	x22, _NDD_LOCKED@GOTPAGE
Lloh15:
	ldr	x22, [x22, _NDD_LOCKED@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_19
; %bb.18:
Lloh16:
	adrp	x8, _NDD_ALIASING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NDD_ALIASING@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_14
LBB0_19:
	add	x19, x25, #4
	ldr	x8, [x24]
	add	x0, x8, #8
	bl	_dev_name
	mov	x21, x0
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
Lloh19:
	adrp	x8, l_.str.1@PAGE
Lloh20:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh21:
	adrp	x9, l_.str.2@PAGE
Lloh22:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x3, x9, x8, eq
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
Lloh25:
	adrp	x8, _ENXIO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NDD_LOCKED,4,2                 ; @NDD_LOCKED
	.comm	_NDD_ALIASING,4,2               ; @NDD_ALIASING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: is %s, failing probe\n"

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

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

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.3:                               ; @.str.3
	.asciz	"count: %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NDD_NOBLK,4,2                  ; @NDD_NOBLK
	.comm	_NSLABEL_FLAG_LOCAL,4,2         ; @NSLABEL_FLAG_LOCAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_init_active_labels
.subsections_via_symbols
