	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_net_delphone              ## -- Begin function isdn_net_delphone
	.p2align	4, 0x90
_isdn_net_delphone:                     ## @isdn_net_delphone
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_isdn_net_findif
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	movl	(%r15), %r12d
	andl	$1, %r12d
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %r13
	testq	%r13, %r13
	je	LBB0_12
## %bb.2:
	movl	8(%r13), %edi
	movl	4(%r15), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%r13), %edi
	movl	4(%r15), %esi
	callq	_strcmp
	movq	%rbx, %rcx
	movq	%r13, %rbx
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_5
LBB0_13:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_14:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_3:
	xorl	%ecx, %ecx
LBB0_5:
	movq	(%r14), %rax
	cmpq	%r13, 8(%rax)
	jne	LBB0_7
## %bb.6:
	movq	(%r13), %rdx
	movq	%rdx, 8(%rax)
LBB0_7:
	movq	(%r13), %rdx
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.8:
	shlq	$3, %r12
	addq	(%rax), %r12
	movq	%r12, %rcx
LBB0_9:
	movq	%rdx, (%rcx)
	movq	%r13, %rdi
	callq	_kfree
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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_delphone              ; -- Begin function isdn_net_delphone
	.p2align	2
_isdn_net_delphone:                     ; @isdn_net_delphone
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_isdn_net_findif
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w8, [x21]
	and	x22, x8, #0x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x19, [x8, x22, lsl #3]
	cbz	x19, LBB0_7
; %bb.2:
	ldr	w0, [x19, #8]
	ldr	w1, [x21, #4]
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.3:
	mov	x23, x19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x23]
	cbz	x19, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #8]
	ldr	w1, [x21, #4]
	bl	_strcmp
	mov	x8, x23
	mov	x23, x19
	cbnz	w0, LBB0_4
	b	LBB0_10
LBB0_6:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_9:
	mov	x8, #0
LBB0_10:
	ldr	x9, [x20]
	ldr	x10, [x9, #8]
	cmp	x10, x19
	b.eq	LBB0_14
; %bb.11:
	ldr	x10, [x19]
	cbz	x8, LBB0_15
LBB0_12:
	str	x10, [x8]
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x10, [x19]
	str	x10, [x9, #8]
	ldr	x10, [x19]
	cbnz	x8, LBB0_12
LBB0_15:
	ldr	x8, [x9]
	add	x8, x8, x22, lsl #3
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
