	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Isdnl2_Init                    ## -- Begin function Isdnl2_Init
	.p2align	4, 0x90
_Isdnl2_Init:                           ## @Isdnl2_Init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_debug@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_X75SLP@GOTPCREL(%rip), %rdi
	callq	_mISDN_register_Bprotocol
	movq	_L2_STATE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_l2fsm@GOTPCREL(%rip), %r15
	movl	%eax, 12(%r15)
	movq	_L2_EVENT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_strL2Event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_strL2State@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_L2FnList@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mISDN_FsmNew
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_TEIInit
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	_l2fsm@GOTPCREL(%rip), %rdi
	callq	_mISDN_FsmFree
LBB0_4:
	movq	_X75SLP@GOTPCREL(%rip), %rdi
	callq	_mISDN_unregister_Bprotocol
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,8,3                      ## @debug
	.comm	_X75SLP,4,2                     ## @X75SLP
	.comm	_L2_STATE_COUNT,4,2             ## @L2_STATE_COUNT
	.comm	_l2fsm,16,2                     ## @l2fsm
	.comm	_L2_EVENT_COUNT,4,2             ## @L2_EVENT_COUNT
	.comm	_strL2Event,4,2                 ## @strL2Event
	.comm	_strL2State,4,2                 ## @strL2State
	.comm	_L2FnList,4,2                   ## @L2FnList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Isdnl2_Init                    ; -- Begin function Isdnl2_Init
	.p2align	2
_Isdnl2_Init:                           ; @Isdnl2_Init
	.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
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x0, _X75SLP@GOTPAGE
Lloh4:
	ldr	x0, [x0, _X75SLP@GOTPAGEOFF]
	bl	_mISDN_register_Bprotocol
Lloh5:
	adrp	x8, _L2_STATE_COUNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _L2_STATE_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x20, _l2fsm@GOTPAGE
Lloh9:
	ldr	x20, [x20, _l2fsm@GOTPAGEOFF]
Lloh10:
	adrp	x9, _L2_EVENT_COUNT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _L2_EVENT_COUNT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #8]
Lloh13:
	adrp	x8, _strL2Event@GOTPAGE
Lloh14:
	ldr	x8, [x8, _strL2Event@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _strL2State@GOTPAGE
Lloh17:
	ldr	x9, [x9, _strL2State@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
Lloh19:
	adrp	x8, _L2FnList@GOTPAGE
Lloh20:
	ldr	x8, [x8, _L2FnList@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mISDN_FsmNew
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_TEIInit
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh22:
	adrp	x0, _l2fsm@GOTPAGE
Lloh23:
	ldr	x0, [x0, _l2fsm@GOTPAGEOFF]
	bl	_mISDN_FsmFree
LBB0_3:
Lloh24:
	adrp	x0, _X75SLP@GOTPAGE
Lloh25:
	ldr	x0, [x0, _X75SLP@GOTPAGEOFF]
	bl	_mISDN_unregister_Bprotocol
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
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,8,3                      ; @debug
	.comm	_X75SLP,4,2                     ; @X75SLP
	.comm	_L2_STATE_COUNT,4,2             ; @L2_STATE_COUNT
	.comm	_l2fsm,16,2                     ; @l2fsm
	.comm	_L2_EVENT_COUNT,4,2             ; @L2_EVENT_COUNT
	.comm	_strL2Event,4,2                 ; @strL2Event
	.comm	_strL2State,4,2                 ; @strL2State
	.comm	_L2FnList,4,2                   ; @L2FnList
.subsections_via_symbols
