	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd_region_release
_nd_region_release:                     ## @nd_region_release
	.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	%rdi, %r14
	callq	_to_nd_region
	movq	%rax, %r15
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_put_device
	incq	%rbx
	cmpq	(%r15), %rbx
	jb	LBB0_2
LBB0_3:
	movl	12(%r15), %edi
	callq	_free_percpu
	movl	8(%r15), %esi
	movq	_region_ida@GOTPCREL(%rip), %rdi
	callq	_ida_simple_remove
	movq	%r14, %rdi
	callq	_is_nd_blk
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_to_nd_blk_region
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_region_ida,4,2                 ## @region_ida
	.no_dead_strip	_nd_region_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd_region_release
_nd_region_release:                     ; @nd_region_release
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_to_nd_region
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x21, lsl #3]
	bl	_put_device
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x20, #12]
	bl	_free_percpu
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x0, _region_ida@GOTPAGE
Lloh1:
	ldr	x0, [x0, _region_ida@GOTPAGEOFF]
	bl	_ida_simple_remove
	mov	x0, x19
	bl	_is_nd_blk
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_to_nd_blk_region
	b	LBB0_6
LBB0_5:
	mov	x0, x20
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_region_ida,4,2                 ; @region_ida
	.no_dead_strip	_nd_region_release
.subsections_via_symbols
