	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isac_release
_isac_release:                          ## @isac_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_IPAC_TYPE_ISACX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	jne	LBB0_1
## %bb.2:
	movq	_ISAC_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ISACX_MASK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_del_timer
	movq	$0, (%r14)
LBB0_5:
	leaq	8(%rbx), %r14
	movq	32(%rbx), %rdi
	callq	_kfree
	movq	$0, 32(%rbx)
	movq	24(%rbx), %rdi
	callq	_kfree
	movq	$0, 24(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_CLOSE_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_l1_event
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mISDN_freedchannel             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPAC_TYPE_ISACX,4,2            ## @IPAC_TYPE_ISACX
	.comm	_ISACX_MASK,4,2                 ## @ISACX_MASK
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_CLOSE_CHANNEL,4,2              ## @CLOSE_CHANNEL
	.no_dead_strip	_isac_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isac_release
_isac_release:                          ; @isac_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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IPAC_TYPE_ISACX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPAC_TYPE_ISACX@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ISAC_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ISAC_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _ISACX_MASK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _ISACX_MASK@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	mov	w2, #255
	bl	_WriteISAC
	mov	x21, x19
	ldr	x8, [x21, #16]!
	sub	x20, x21, #8
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_del_timer
	str	xzr, [x21]
LBB0_2:
	ldr	x0, [x19, #32]
	bl	_kfree
	str	xzr, [x19, #32]
	ldr	x0, [x19, #24]
	bl	_kfree
	str	xzr, [x19, #24]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _CLOSE_CHANNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLOSE_CHANNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_l1_event
LBB0_4:
	mov	x0, x20
	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	_mISDN_freedchannel
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IPAC_TYPE_ISACX,4,2            ; @IPAC_TYPE_ISACX
	.comm	_ISACX_MASK,4,2                 ; @ISACX_MASK
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_CLOSE_CHANNEL,4,2              ; @CLOSE_CHANNEL
	.no_dead_strip	_isac_release
.subsections_via_symbols
