	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l3dss1_disconnect
_l3dss1_disconnect:                     ## @l3dss1_disconnect
	.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, %r13
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_StopAllL3Timer
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_l3dss1_get_cause
	movl	%eax, %r12d
	testl	%eax, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movq	_L3_DEB_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.3:
	movq	16(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_l3_debug
LBB0_4:
	movl	%r12d, %eax
	notl	%eax
	shrl	$31, %eax
	leal	96(,%rax,4), %r14d
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	movl	(%r13), %esi
	movl	4(%r13), %edi
	movq	_IE_FACILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_findie
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	16(%r15), %rdi
	movl	24(%r15), %edx
	movq	%r15, %rsi
	movq	%rax, %rcx
	callq	_l3dss1_parse_facility
LBB0_7:
	movq	_ie_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_check_infoelements
	movq	_ERR_IE_COMPREHENSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	movl	$96, %edx
	cmovel	%edx, %r14d
	movq	_ERR_IE_UNRECOGNIZED@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	movl	$99, %edx
	cmovel	%edx, %ebx
	testl	%r12d, %r12d
	cmovnel	%r14d, %ebx
	cmpl	%eax, %ecx
	cmovel	%r14d, %ebx
	movl	4(%r15), %r14d
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_newl3state
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.10:
	movq	%r15, %rdi
	movl	$19, %esi
	callq	_newl3state
	cmpl	$11, %r14d
	jne	LBB0_11
	jmp	LBB0_13
LBB0_8:
	cmpl	$11, %r14d
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_l3dss1_release_req             ## TAILCALL
LBB0_11:
	movq	16(%r15), %rdi
	movq	_CC_DISCONNECT@GOTPCREL(%rip), %rax
	movq	_INDICATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdx
	callq	*(%rdi)
	testl	%ebx, %ebx
	je	LBB0_12
LBB0_13:
	movq	_MT_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_l3dss1_message_cause
	addq	$8, %r15
	movq	_T308@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CC_T308_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_L3AddTimer                     ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L3_DEB_WARN,4,2                ## @L3_DEB_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISC get_cause ret(%d)"

	.comm	_IE_FACILITY,4,2                ## @IE_FACILITY
	.comm	_ie_DISCONNECT,4,2              ## @ie_DISCONNECT
	.comm	_ERR_IE_COMPREHENSION,4,2       ## @ERR_IE_COMPREHENSION
	.comm	_ERR_IE_UNRECOGNIZED,4,2        ## @ERR_IE_UNRECOGNIZED
	.comm	_CC_DISCONNECT,4,2              ## @CC_DISCONNECT
	.comm	_INDICATION,4,2                 ## @INDICATION
	.comm	_MT_RELEASE,4,2                 ## @MT_RELEASE
	.comm	_T308,4,2                       ## @T308
	.comm	_CC_T308_1,4,2                  ## @CC_T308_1
	.no_dead_strip	_l3dss1_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l3dss1_disconnect
_l3dss1_disconnect:                     ; @l3dss1_disconnect
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_StopAllL3Timer
	mov	x0, x19
	mov	x1, x22
	bl	_l3dss1_get_cause
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _L3_DEB_WARN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L3_DEB_WARN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_l3_debug
LBB0_3:
	mov	w8, #100
	mov	w9, #96
	cmp	w21, #0
	csel	w23, w9, w8, lt
	b	LBB0_5
LBB0_4:
	mov	w23, #0
LBB0_5:
	ldp	w1, w0, [x22]
Lloh5:
	adrp	x8, _IE_FACILITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IE_FACILITY@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_findie
	cbz	x0, LBB0_7
; %bb.6:
	mov	x3, x0
	ldr	x0, [x19, #16]
	ldr	w2, [x19, #24]
	mov	x1, x19
	bl	_l3dss1_parse_facility
LBB0_7:
Lloh8:
	adrp	x8, _ie_DISCONNECT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ie_DISCONNECT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_check_infoelements
Lloh11:
	adrp	x8, _ERR_IE_COMPREHENSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_IE_COMPREHENSION@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	w9, #96
	cmp	w8, w0
	csel	w9, w9, w23, eq
Lloh14:
	adrp	x10, _ERR_IE_UNRECOGNIZED@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ERR_IE_UNRECOGNIZED@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	mov	w11, #99
	cmp	w10, w0
	csel	w10, w11, wzr, eq
	cmp	w21, #0
	ccmp	w8, w0, #4, eq
	csel	w21, w9, w10, eq
	ldr	w22, [x19, #4]
	mov	x0, x19
	mov	w1, #12
	bl	_newl3state
	cbz	w21, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #19
	bl	_newl3state
	cmp	w22, #11
	b.ne	LBB0_11
	b	LBB0_12
LBB0_9:
	cmp	w22, #11
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	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
	b	_l3dss1_release_req
LBB0_11:
	ldr	x0, [x19, #16]
Lloh17:
	adrp	x8, _CC_DISCONNECT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CC_DISCONNECT@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x10, _INDICATION@GOTPAGE
Lloh21:
	ldr	x10, [x10, _INDICATION@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w1, w10, w8
	mov	x2, x19
	blr	x9
	cbz	w21, LBB0_13
LBB0_12:
Lloh23:
	adrp	x8, _MT_RELEASE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MT_RELEASE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_l3dss1_message_cause
	add	x0, x19, #8
Lloh26:
	adrp	x8, _T308@GOTPAGE
Lloh27:
	ldr	x8, [x8, _T308@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _CC_T308_1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CC_T308_1@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	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	_L3AddTimer
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_L3_DEB_WARN,4,2                ; @L3_DEB_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISC get_cause ret(%d)"

	.comm	_IE_FACILITY,4,2                ; @IE_FACILITY
	.comm	_ie_DISCONNECT,4,2              ; @ie_DISCONNECT
	.comm	_ERR_IE_COMPREHENSION,4,2       ; @ERR_IE_COMPREHENSION
	.comm	_ERR_IE_UNRECOGNIZED,4,2        ; @ERR_IE_UNRECOGNIZED
	.comm	_CC_DISCONNECT,4,2              ; @CC_DISCONNECT
	.comm	_INDICATION,4,2                 ; @INDICATION
	.comm	_MT_RELEASE,4,2                 ; @MT_RELEASE
	.comm	_T308,4,2                       ; @T308
	.comm	_CC_T308_1,4,2                  ; @CC_T308_1
	.no_dead_strip	_l3dss1_disconnect
.subsections_via_symbols
