	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_connected
_l2_connected:                          ## @l2_connected
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	%r12, %rdi
	movq	%rdx, %rsi
	callq	_get_PollFlag
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_FLG_PEND_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	64(%r12), %r13
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_l2_disconnect
LBB0_3:
	movq	_FLG_L3_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_DL_ESTABLISH@GOTPCREL(%rip), %rax
	movq	_CONFIRM@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_13:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_l2_mdl_error_ua                ## TAILCALL
LBB0_5:
	movq	(%r12), %rax
	movl	$-1, %r15d
	cmpq	8(%r12), %rax
	je	LBB0_8
## %bb.6:
	leaq	24(%r12), %rdi
	callq	_skb_queue_purge
	movq	_DL_ESTABLISH@GOTPCREL(%rip), %rax
	movq	_INDICATION@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
LBB0_8:
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_stop_t200
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movups	%xmm0, 48(%r12)
	movq	_ST_L2_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_FsmChangeState
	leaq	44(%r12), %rdi
	movl	40(%r12), %esi
	movq	_EV_L2_T203@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	_FsmAddTimer
	cmpl	$-1, %r15d
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	*32(%r12)
LBB0_10:
	leaq	24(%r12), %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r12, %rdi
	callq	_cansend
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	16(%r12), %rax
	movq	_PH_PULL@GOTPCREL(%rip), %rcx
	movq	_REQUEST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_PEND_REL,4,2               ## @FLG_PEND_REL
	.comm	_FLG_L3_INIT,4,2                ## @FLG_L3_INIT
	.comm	_DL_ESTABLISH,4,2               ## @DL_ESTABLISH
	.comm	_CONFIRM,4,2                    ## @CONFIRM
	.comm	_INDICATION,4,2                 ## @INDICATION
	.comm	_ST_L2_7,4,2                    ## @ST_L2_7
	.comm	_EV_L2_T203,4,2                 ## @EV_L2_T203
	.comm	_PH_PULL,4,2                    ## @PH_PULL
	.comm	_REQUEST,4,2                    ## @REQUEST
	.no_dead_strip	_l2_connected
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_connected
_l2_connected:                          ; @l2_connected
	.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, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	mov	x1, x2
	bl	_get_PollFlag
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_dev_kfree_skb
Lloh0:
	adrp	x8, _FLG_PEND_REL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLG_PEND_REL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x23, x19, #64
	mov	x1, x23
	bl	_test_and_clear_bit
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_l2_disconnect
LBB0_3:
Lloh3:
	adrp	x8, _FLG_L3_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLG_L3_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_and_clear_bit
	cbz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _DL_ESTABLISH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DL_ESTABLISH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	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
	b	_l2_mdl_error_ua
LBB0_6:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w21, #-1
	b	LBB0_10
LBB0_8:
	add	x0, x19, #24
	bl	_skb_queue_purge
Lloh11:
	adrp	x8, _DL_ESTABLISH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DL_ESTABLISH@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _INDICATION@GOTPAGE
Lloh15:
	ldr	x9, [x9, _INDICATION@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	orr	w21, w9, w8
LBB0_10:
	mov	x0, x19
	mov	w1, #5
	bl	_stop_t200
	stp	xzr, xzr, [x19]
	stp	xzr, xzr, [x19, #48]
Lloh16:
	adrp	x8, _ST_L2_7@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ST_L2_7@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_FsmChangeState
	add	x0, x19, #44
	ldr	w1, [x19, #40]
Lloh19:
	adrp	x8, _EV_L2_T203@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EV_L2_T203@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #4
	bl	_FsmAddTimer
	cmn	w21, #1
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19, #32]
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	blr	x8
LBB0_12:
	add	x0, x19, #24
	bl	_skb_queue_empty
	cbz	w0, LBB0_14
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:
	mov	x0, x19
	bl	_cansend
	cbz	x0, LBB0_13
; %bb.15:
	ldr	x3, [x19, #16]
Lloh22:
	adrp	x8, _PH_PULL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PH_PULL@GOTPAGEOFF]
Lloh24:
	adrp	x9, _REQUEST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _REQUEST@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	x2, #0
	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
	br	x3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_PEND_REL,4,2               ; @FLG_PEND_REL
	.comm	_FLG_L3_INIT,4,2                ; @FLG_L3_INIT
	.comm	_DL_ESTABLISH,4,2               ; @DL_ESTABLISH
	.comm	_CONFIRM,4,2                    ; @CONFIRM
	.comm	_INDICATION,4,2                 ; @INDICATION
	.comm	_ST_L2_7,4,2                    ; @ST_L2_7
	.comm	_EV_L2_T203,4,2                 ; @EV_L2_T203
	.comm	_PH_PULL,4,2                    ; @PH_PULL
	.comm	_REQUEST,4,2                    ; @REQUEST
	.no_dead_strip	_l2_connected
.subsections_via_symbols
