	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_release_cis_mem                ## -- Begin function release_cis_mem
	.p2align	4, 0x90
_release_cis_mem:                       ## @release_cis_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mutex_lock
	movl	16(%rbx), %eax
	movq	_MAP_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.1:
	leaq	16(%rbx), %rsi
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 16(%rbx)
	movq	32(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_release_resource
	movq	24(%rbx), %rdi
	callq	_kfree
	movq	$0, 24(%rbx)
LBB0_3:
	movq	8(%rbx), %rdi
	callq	_iounmap
	movq	$0, 8(%rbx)
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_ACTIVE,4,2                 ## @MAP_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_release_cis_mem                ; -- Begin function release_cis_mem
	.p2align	2
_release_cis_mem:                       ; @release_cis_mem
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_mutex_lock
	mov	x1, x19
	ldr	w8, [x1, #16]!
Lloh0:
	adrp	x9, _MAP_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAP_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	bic	w8, w8, w9
	str	w8, [x19, #16]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_release_resource
	ldr	x0, [x19, #24]
	bl	_kfree
	str	xzr, [x19, #24]
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_iounmap
	str	xzr, [x19, #8]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_ACTIVE,4,2                 ; @MAP_ACTIVE
.subsections_via_symbols
