	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l3dss1_global_restart
_l3dss1_global_restart:                 ## @l3dss1_global_restart
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$2, %esi
	callq	_newl3state
	leaq	28(%r14), %rdi
	callq	_L3DelTimer
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	movq	_IE_RESTART_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_findie
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rax), %edx
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%edx, -180(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_l3_debug
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_l3_debug
	movl	$134, -180(%rbp)                ## 4-byte Folded Spill
LBB0_3:
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	movq	_IE_CHANNEL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_findie
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	8(%rax), %ebx
	movl	%ebx, %r12d
	andl	$3, %r12d
	movq	(%r14), %rdi
	cmpq	$0, 16(%rdi)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_l3_debug
LBB0_6:
	movl	%ebx, -184(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_newl3state
	movq	%r14, -192(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.7:
	movl	-180(%rbp), %r14d               ## 4-byte Reload
	andl	$7, %r14d
	movq	_CC_RESTART@GOTPCREL(%rip), %r13
	movq	_REQUEST@GOTPCREL(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	orl	(%r13), %esi
	movq	%rbx, %rdx
	callq	*(%rdi)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$7, %r14d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r12d, 24(%rbx)
	je	LBB0_10
	jmp	LBB0_11
LBB0_12:
	leaq	-176(%rbp), %rbx
	movq	-192(%rbp), %r15                ## 8-byte Reload
	movl	8(%r15), %esi
	movq	_MT_RESTART_ACKNOWLEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MsgHead
	movq	%rbx, %rax
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.13:
	movq	_IE_CHANNEL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -176(%rbp)
	movl	$1, -172(%rbp)
	movl	-184(%rbp), %ecx                ## 4-byte Reload
	orl	$128, %ecx
	leaq	-164(%rbp), %rax
	movl	%ecx, -168(%rbp)
LBB0_14:
	movabsq	$4294967417, %rcx               ## imm = 0x100000079
	movq	%rcx, (%rax)
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, 8(%rax)
	negq	%rbx
	addq	%rax, %rbx
	addq	$12, %rbx
	shrq	$2, %rbx
	movl	%ebx, %edi
	callq	_l3_alloc_skb
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	leaq	-176(%rbp), %rsi
	movl	%eax, %edi
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_newl3state
	movq	(%r15), %rdi
	movq	_DL_DATA@GOTPCREL(%rip), %rax
	movq	_REQUEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdx
	callq	_l3_msg
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IE_RESTART_IND,4,2             ## @IE_RESTART_IND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Restart %x"

L_.str.1:                               ## @.str.1
	.asciz	"Restart without restart IE"

	.comm	_IE_CHANNEL_ID,4,2              ## @IE_CHANNEL_ID
L_.str.2:                               ## @.str.2
	.asciz	"Restart for channel %d"

	.comm	_CC_RESTART,4,2                 ## @CC_RESTART
	.comm	_REQUEST,4,2                    ## @REQUEST
	.comm	_MT_RESTART_ACKNOWLEDGE,4,2     ## @MT_RESTART_ACKNOWLEDGE
	.comm	_DL_DATA,4,2                    ## @DL_DATA
	.no_dead_strip	_l3dss1_global_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function l3dss1_global_restart
lCPI0_0:
	.long	121                             ; 0x79
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_l3dss1_global_restart:                 ; @l3dss1_global_restart
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w1, #2
	bl	_newl3state
	add	x0, x19, #28
	bl	_L3DelTimer
	ldr	x0, [x20]
	ldr	w1, [x20, #8]
Lloh3:
	adrp	x8, _IE_RESTART_IND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IE_RESTART_IND@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_findie
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w21, [x0, #8]
	ldr	x0, [x19]
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_l3_debug
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_l3_debug
	mov	w21, #134
LBB0_3:
	ldr	x0, [x20]
	ldr	w1, [x20, #8]
Lloh10:
	adrp	x22, _IE_CHANNEL_ID@GOTPAGE
Lloh11:
	ldr	x22, [x22, _IE_CHANNEL_ID@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_findie
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w24, [x0, #8]
	and	w25, w24, #0x3
	ldr	x0, [x19]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.5:
	str	x25, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_l3_debug
	b	LBB0_7
LBB0_6:
	mov	w24, #0
	mov	w25, #0
LBB0_7:
	mov	x0, x19
	mov	w1, #2
	bl	_newl3state
	ldr	x8, [x19]
	ldr	x20, [x8, #8]
Lloh14:
	adrp	x23, _REQUEST@GOTPAGE
Lloh15:
	ldr	x23, [x23, _REQUEST@GOTPAGEOFF]
	cbz	x20, LBB0_13
; %bb.8:
	and	w26, w21, #0x7
Lloh16:
	adrp	x27, _CC_RESTART@GOTPAGE
Lloh17:
	ldr	x27, [x27, _CC_RESTART@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x20]
	ldr	x8, [x0]
	ldr	w9, [x27]
	ldr	w10, [x23]
	orr	w1, w10, w9
	mov	x2, x20
	blr	x8
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	w26, #7
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20, #24]
	cmp	w8, w25
	b.eq	LBB0_9
	b	LBB0_10
LBB0_13:
	add	x20, sp, #8
	ldr	w1, [x19, #8]
Lloh18:
	adrp	x8, _MT_RESTART_ACKNOWLEDGE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MT_RESTART_ACKNOWLEDGE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_MsgHead
	cbz	w25, LBB0_15
; %bb.14:
	ldr	w8, [x22]
	mov	w9, #1
	stp	w8, w9, [sp, #8]
	orr	w9, w24, #0x80
	add	x8, x20, #12
	str	w9, [sp, #16]
	b	LBB0_16
LBB0_15:
	add	x8, sp, #8
LBB0_16:
Lloh21:
	adrp	x9, lCPI0_0@PAGE
Lloh22:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	str	w21, [x8, #8]
	sub	x8, x8, x20
	add	x8, x8, #12
	lsr	x21, x8, #2
	mov	x0, x21
	bl	_l3_alloc_skb
	cbz	x0, LBB0_18
; %bb.17:
	mov	x20, x0
	mov	x1, x21
	bl	_skb_put
	add	x1, sp, #8
	mov	x2, x21
	bl	_memcpy
	mov	x0, x19
	mov	w1, #0
	bl	_newl3state
	ldr	x0, [x19]
Lloh23:
	adrp	x8, _DL_DATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DL_DATA@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x2, x20
	bl	_l3_msg
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IE_RESTART_IND,4,2             ; @IE_RESTART_IND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Restart %x"

l_.str.1:                               ; @.str.1
	.asciz	"Restart without restart IE"

	.comm	_IE_CHANNEL_ID,4,2              ; @IE_CHANNEL_ID
l_.str.2:                               ; @.str.2
	.asciz	"Restart for channel %d"

	.comm	_CC_RESTART,4,2                 ; @CC_RESTART
	.comm	_REQUEST,4,2                    ; @REQUEST
	.comm	_MT_RESTART_ACKNOWLEDGE,4,2     ; @MT_RESTART_ACKNOWLEDGE
	.comm	_DL_DATA,4,2                    ; @DL_DATA
	.no_dead_strip	_l3dss1_global_restart
.subsections_via_symbols
