	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_net_newslave              ## -- Begin function isdn_net_newslave
	.p2align	4, 0x90
_isdn_net_newslave:                     ## @isdn_net_newslave
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	1(%rax), %r15
	movq	%r15, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	leaq	-42(%rbp), %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movb	$0, (%rbx)
	movq	%r14, %rdi
	callq	_isdn_net_findif
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.8:
	movq	%rbx, %rdi
	callq	_isdn_net_device_started
	testq	%rax, %rax
	je	LBB0_10
LBB0_5:
	xorl	%eax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%rbx), %esi
	leaq	-42(%rbp), %rdi
	callq	_isdn_net_new
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_net_newslave              ; -- Begin function isdn_net_newslave
	.p2align	2
_isdn_net_newslave:                     ; @isdn_net_newslave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x21, x0, #1
	mov	x0, x21
	bl	_strlen
	cbz	w0, LBB0_5
; %bb.2:
	add	x0, sp, #14
	mov	x1, x21
	bl	_strcpy
	strb	wzr, [x20]
	mov	x0, x19
	bl	_isdn_net_findif
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_isdn_net_device_started
	cbz	x0, LBB0_8
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	w1, [x19]
	add	x0, sp, #14
	bl	_isdn_net_new
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
