	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_net_rm                    ## -- Begin function isdn_net_rm
	.p2align	4, 0x90
_isdn_net_rm:                           ## @isdn_net_rm
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_dev@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_spin_lock_irqsave
	movq	(%r12), %rdi
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_3
LBB0_2:
	xorl	%r15d, %r15d
LBB0_3:
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isdn_net_realrm                ## TAILCALL
LBB0_6:
	movq	(%r12), %rdi
LBB0_7:
	addq	$8, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_ISDN_TIMER_NETHANGUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_isdn_timer_ctrl
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev,8,3                        ## @dev
	.comm	_ISDN_TIMER_NETHANGUP,4,2       ## @ISDN_TIMER_NETHANGUP
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_net_rm                    ; -- Begin function isdn_net_rm
	.p2align	2
_isdn_net_rm:                           ; @isdn_net_rm
	.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	x20, x0
Lloh0:
	adrp	x22, _dev@GOTPAGE
Lloh1:
	ldr	x22, [x22, _dev@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, #8
	bl	_spin_lock_irqsave
	ldr	x8, [x22]
	ldr	x19, [x8]
	cbz	x19, LBB0_7
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x19
	ldr	x19, [x19]
	cbz	x19, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_strcmp
	cbnz	w0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	ldr	x8, [x22]
	add	x0, x8, #8
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x21
	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	_isdn_net_realrm
LBB0_6:
	ldr	x8, [x22]
LBB0_7:
	add	x0, x8, #8
	bl	_spin_unlock_irqrestore
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _ISDN_TIMER_NETHANGUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISDN_TIMER_NETHANGUP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_isdn_timer_ctrl
LBB0_9:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dev,8,3                        ; @dev
	.comm	_ISDN_TIMER_NETHANGUP,4,2       ; @ISDN_TIMER_NETHANGUP
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
