	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_unexclusive_channel       ## -- Begin function isdn_unexclusive_channel
	.p2align	4, 0x90
_isdn_unexclusive_channel:              ## @isdn_unexclusive_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ISDN_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_5
## %bb.1:
	movq	_dev@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	(%r8), %rcx
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r9
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx,%rdx,4)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r8), %rax
	cmpl	%esi, (%rax,%rdx,4)
	jne	LBB0_4
## %bb.6:
	movq	_ISDN_USAGE_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	16(%r8), %rcx
	andl	%eax, (%rcx,%rdx,4)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_isdn_info_update               ## TAILCALL
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDN_MAX_CHANNELS,4,2          ## @ISDN_MAX_CHANNELS
	.comm	_dev,8,3                        ## @dev
	.comm	_ISDN_USAGE_EXCLUSIVE,4,2       ## @ISDN_USAGE_EXCLUSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_unexclusive_channel       ; -- Begin function isdn_unexclusive_channel
	.p2align	2
_isdn_unexclusive_channel:              ; @isdn_unexclusive_channel
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ISDN_MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISDN_MAX_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x9, _dev@GOTPAGE
Lloh4:
	ldr	x9, [x9, _dev@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x10, [x9]
	lsl	x11, x11, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #4
	cmp	x11, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x8]
	cmp	w12, w0
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x9, #8]
	ldr	w12, [x12, x8]
	cmp	w12, w1
	b.ne	LBB0_2
; %bb.5:
Lloh6:
	adrp	x10, _ISDN_USAGE_EXCLUSIVE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ISDN_USAGE_EXCLUSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	ldr	x9, [x9, #16]
	ldr	w11, [x9, x8]
	bic	w10, w11, w10
	str	w10, [x9, x8]
	b	_isdn_info_update
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDN_MAX_CHANNELS,4,2          ; @ISDN_MAX_CHANNELS
	.comm	_dev,8,3                        ; @dev
	.comm	_ISDN_USAGE_EXCLUSIVE,4,2       ; @ISDN_USAGE_EXCLUSIVE
.subsections_via_symbols
