	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_st5_tout_200
_l2_st5_tout_200:                       ## @l2_st5_tout_200
	.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, %r15
	movq	(%rdi), %rbx
	movq	_FLG_LAPD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FLG_DCHAN_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:
	movl	20(%rbx), %esi
	addq	$24, %rbx
	movq	_EV_L2_T200@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$9, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mISDN_FsmAddTimer              ## TAILCALL
LBB0_2:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_7
## %bb.3:
	movq	_ST_L2_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mISDN_FsmChangeState
	movq	_FLG_T200_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	leaq	40(%rbx), %rdi
	callq	_skb_queue_purge
	movq	_MDL_ERROR_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$71, %edx
	movq	%rbx, %rdi
	callq	_l2mgr
	movq	_FLG_LAPB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_PH_DEACTIVATE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_l2_newid
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_l2down_create
LBB0_5:
	movq	%rbx, %rdi
	callq	_st5_dl_release_l2l3
	cmpq	$0, 32(%rbx)
	je	LBB0_11
## %bb.6:
	movq	_MDL_STATUS_DOWN_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_l2_tei                         ## TAILCALL
LBB0_7:
	incq	%rax
	movq	%rax, (%rbx)
	leaq	24(%rbx), %rdi
	movl	20(%rbx), %esi
	movq	_EV_L2_T200@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	movl	$9, %r8d
	callq	_mISDN_FsmAddTimer
	movq	_FLG_MOD128@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	_SABM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_SABME@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edx
	orl	$16, %edx
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_uframe                    ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_LAPD,4,2                   ## @FLG_LAPD
	.comm	_FLG_DCHAN_BUSY,4,2             ## @FLG_DCHAN_BUSY
	.comm	_EV_L2_T200,4,2                 ## @EV_L2_T200
	.comm	_ST_L2_4,4,2                    ## @ST_L2_4
	.comm	_FLG_T200_RUN,4,2               ## @FLG_T200_RUN
	.comm	_MDL_ERROR_IND,4,2              ## @MDL_ERROR_IND
	.comm	_FLG_LAPB,4,2                   ## @FLG_LAPB
	.comm	_PH_DEACTIVATE_REQ,4,2          ## @PH_DEACTIVATE_REQ
	.comm	_MDL_STATUS_DOWN_IND,4,2        ## @MDL_STATUS_DOWN_IND
	.comm	_FLG_MOD128,4,2                 ## @FLG_MOD128
	.comm	_SABME,4,2                      ## @SABME
	.comm	_SABM,4,2                       ## @SABM
	.comm	_CMD,4,2                        ## @CMD
	.no_dead_strip	_l2_st5_tout_200
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_st5_tout_200
_l2_st5_tout_200:                       ; @l2_st5_tout_200
	.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	x21, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _FLG_LAPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLG_LAPD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FLG_DCHAN_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLG_DCHAN_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, x19, #24
	ldr	w1, [x19, #20]
Lloh6:
	adrp	x8, _EV_L2_T200@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_L2_T200@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #9
	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	_mISDN_FsmAddTimer
LBB0_3:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
Lloh9:
	adrp	x8, _ST_L2_4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ST_L2_4@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mISDN_FsmChangeState
Lloh12:
	adrp	x8, _FLG_T200_RUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FLG_T200_RUN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	add	x0, x19, #40
	bl	_skb_queue_purge
Lloh15:
	adrp	x8, _MDL_ERROR_IND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MDL_ERROR_IND@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #71
	bl	_l2mgr
Lloh18:
	adrp	x8, _FLG_LAPB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FLG_LAPB@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
Lloh21:
	adrp	x8, _PH_DEACTIVATE_REQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PH_DEACTIVATE_REQ@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_l2_newid
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	x4, #0
	bl	_l2down_create
LBB0_6:
	mov	x0, x19
	bl	_st5_dl_release_l2l3
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.7:
Lloh24:
	adrp	x8, _MDL_STATUS_DOWN_IND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MDL_STATUS_DOWN_IND@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	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	_l2_tei
LBB0_8:
	add	x8, x8, #1
	str	x8, [x19]
	add	x0, x19, #24
	ldr	w1, [x19, #20]
Lloh27:
	adrp	x8, _EV_L2_T200@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EV_L2_T200@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #9
	bl	_mISDN_FsmAddTimer
Lloh30:
	adrp	x8, _FLG_MOD128@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FLG_MOD128@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
Lloh33:
	adrp	x8, _SABME@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SABME@GOTPAGEOFF]
Lloh35:
	adrp	x9, _SABM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _SABM@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _CMD@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CMD@GOTPAGEOFF]
	orr	w2, w8, #0x10
Lloh39:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x1, #0
	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	_send_uframe
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_LAPD,4,2                   ; @FLG_LAPD
	.comm	_FLG_DCHAN_BUSY,4,2             ; @FLG_DCHAN_BUSY
	.comm	_EV_L2_T200,4,2                 ; @EV_L2_T200
	.comm	_ST_L2_4,4,2                    ; @ST_L2_4
	.comm	_FLG_T200_RUN,4,2               ; @FLG_T200_RUN
	.comm	_MDL_ERROR_IND,4,2              ; @MDL_ERROR_IND
	.comm	_FLG_LAPB,4,2                   ; @FLG_LAPB
	.comm	_PH_DEACTIVATE_REQ,4,2          ; @PH_DEACTIVATE_REQ
	.comm	_MDL_STATUS_DOWN_IND,4,2        ; @MDL_STATUS_DOWN_IND
	.comm	_FLG_MOD128,4,2                 ; @FLG_MOD128
	.comm	_SABME,4,2                      ; @SABME
	.comm	_SABM,4,2                       ; @SABM
	.comm	_CMD,4,2                        ; @CMD
	.no_dead_strip	_l2_st5_tout_200
.subsections_via_symbols
