	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_b_req
_select_b_req:                          ## @select_b_req
	.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	%r8, %r15
	movl	%esi, %r12d
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	%r9, %r13
	testq	%r9, %r9
	je	LBB0_9
## %bb.2:
	movq	%rcx, %rbx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movq	(%r13), %rsi
	movl	92(%rcx), %edx
	movl	(%rcx), %ecx
	movl	88(%rbx), %r8d
	movq	64(%rbx), %r9
	movq	8(%rbx), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	16(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	$0, -160(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	16(%rbx), %rax
	movq	_IDLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_8
## %bb.3:
	movq	_OUTG_DIS_PENDING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.4:
	movq	_INC_DIS_PENDING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.5:
	cmpq	%rcx, 8(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 80(%rbx)
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 72(%rbx)
	je	LBB0_15
LBB0_8:
	movq	__WRONG_STATE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	__WRONG_IDENTIFIER@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r9d
LBB0_11:
	movq	__SELECT_B_REQ@GOTPCREL(%rip), %rax
	movq	_CONFIRM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.3(%rip), %r8
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%r12d, %ecx
LBB0_12:
	callq	_sendf
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_51
## %bb.14:
	xorl	%eax, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%r14d, -164(%rbp)               ## 4-byte Spill
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.16:
	movq	8(%r13), %rdi
	addq	$4, %rdi
	leaq	L_.str.2(%rip), %rdx
	leaq	-160(%rbp), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_api_parse
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	__WRONG_MESSAGE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-164(%rbp), %r14d               ## 4-byte Reload
	jmp	LBB0_11
LBB0_18:
	movq	16(%rbx), %rax
LBB0_19:
	movq	_INC_CON_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.20:
	movq	_INC_CON_ALERT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
LBB0_21:
	leaq	60(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_api_save_msg
	movl	(%rbx), %eax
	movq	_EXT_CONTROLLER@GOTPCREL(%rip), %rcx
	movl	-164(%rbp), %r14d               ## 4-byte Reload
	testl	%r14d, (%rcx)
	je	LBB0_28
## %bb.22:
	testl	%eax, %eax
	movq	-184(%rbp), %r13                ## 8-byte Reload
	je	LBB0_36
## %bb.23:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.24:
	cmpq	%r15, %rax
	je	LBB0_43
## %bb.25:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_42
LBB0_26:
	movq	_EXT_CONTROLLER@GOTPCREL(%rip), %rax
	movl	-164(%rbp), %edx                ## 4-byte Reload
	testl	%edx, (%rax)
	je	LBB0_31
## %bb.27:
	movq	__SELECT_B_REQ@GOTPCREL(%rip), %rax
	movq	_CONFIRM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.3(%rip), %r8
	movq	%r15, %rdi
	movl	%r12d, %ecx
	movl	$8194, %r9d                     ## imm = 0x2002
	jmp	LBB0_12
LBB0_28:
	testl	%eax, %eax
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_43
## %bb.29:
	cmpq	%r15, (%rdi)
	je	LBB0_38
## %bb.30:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_39
LBB0_31:
	movq	_INC_CON_CONNECTED_ALERT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%r15, 64(%rbx)
	movl	(%r15), %esi
	decl	%esi
	movq	%rbx, %rdi
	callq	_clear_c_ind_mask_bit
	movq	%rbx, %rdi
	callq	_dump_c_ind_mask
	movq	_max_appl@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_21
## %bb.32:
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%r14
	movq	_max_appl@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	addq	$4, %rcx
	cmpq	%rax, %r14
	movq	%rcx, %rax
	jge	LBB0_21
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_test_c_ind_mask_bit
	testq	%rax, %rax
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_application@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-176(%rbp), %rdi                ## 8-byte Folded Reload
	movq	__DISCONNECT_I@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__OTHER_APPL_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-164(%rbp), %edx                ## 4-byte Reload
	xorl	%ecx, %ecx
	leaq	L_.str.3(%rip), %r8
	callq	_sendf
	jmp	LBB0_33
LBB0_36:
	cmpq	$0, 8(%r13)
	je	LBB0_40
## %bb.37:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_42
LBB0_38:
	movq	%rbx, %rsi
	callq	_CodecIdCheck
	movl	$0, (%rbx)
	movq	$0, 40(%rbx)
	leaq	L_.str.10(%rip), %rdi
LBB0_39:
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	jmp	LBB0_43
LBB0_40:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_AdvCodecSupport
	testq	%rax, %rax
	je	LBB0_49
## %bb.41:
	leaq	L_.str.8(%rip), %rdi
LBB0_42:
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	__WRONG_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jne	LBB0_11
LBB0_43:
	movl	32(%rbx), %ecx
	movq	_CALL_DIR_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_45
## %bb.44:
	movq	_CALL_DIR_ORIGINATE@GOTPCREL(%rip), %rcx
	jmp	LBB0_47
LBB0_45:
	movq	_CALL_DIR_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_48
## %bb.46:
	movq	_CALL_DIR_ANSWER@GOTPCREL(%rip), %rcx
LBB0_47:
	orl	(%rcx), %eax
	movl	%eax, 32(%rbx)
LBB0_48:
	movq	_select_b_command@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_start_internal_command
	jmp	LBB0_13
LBB0_49:
	movq	24(%rbx), %rax
	movq	_SPOOFING_REQUIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
## %bb.50:
	movq	_AWAITING_SELECT_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_BLOCK_PLCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$0, 48(%rbx)
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	jmp	LBB0_13
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__WRONG_IDENTIFIER,4,2          ## @_WRONG_IDENTIFIER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select_b_req[%d],PLCI=0x%x,Tel=0x%x,NL=0x%x,appl=0x%x,sstate=0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"PlciState=0x%x"

	.comm	_IDLE,8,3                       ## @IDLE
	.comm	_OUTG_DIS_PENDING,8,3           ## @OUTG_DIS_PENDING
	.comm	_INC_DIS_PENDING,8,3            ## @INC_DIS_PENDING
	.comm	__WRONG_STATE,4,2               ## @_WRONG_STATE
L_.str.2:                               ## @.str.2
	.asciz	"wwwsss"

	.comm	__WRONG_MESSAGE_FORMAT,4,2      ## @_WRONG_MESSAGE_FORMAT
	.comm	_INC_CON_PENDING,8,3            ## @INC_CON_PENDING
	.comm	_INC_CON_ALERT,8,3              ## @INC_CON_ALERT
	.comm	_EXT_CONTROLLER,4,2             ## @EXT_CONTROLLER
	.comm	__SELECT_B_REQ,4,2              ## @_SELECT_B_REQ
	.comm	_CONFIRM,4,2                    ## @CONFIRM
L_.str.3:                               ## @.str.3
	.asciz	"w"

	.comm	_INC_CON_CONNECTED_ALERT,8,3    ## @INC_CON_CONNECTED_ALERT
	.comm	_max_appl,4,2                   ## @max_appl
	.comm	_application,8,3                ## @application
	.comm	__DISCONNECT_I,4,2              ## @_DISCONNECT_I
	.comm	__OTHER_APPL_CONNECTED,4,2      ## @_OTHER_APPL_CONNECTED
L_.str.4:                               ## @.str.4
	.asciz	"s"

L_.str.5:                               ## @.str.5
	.asciz	"Ext_Ctrl in use 1"

L_.str.6:                               ## @.str.6
	.asciz	"Ext_Ctrl in use 2"

L_.str.7:                               ## @.str.7
	.asciz	"Ext_Ctrl start"

L_.str.8:                               ## @.str.8
	.asciz	"Error in codec procedures"

	.comm	_SPOOFING_REQUIRED,8,3          ## @SPOOFING_REQUIRED
	.comm	_AWAITING_SELECT_B,8,3          ## @AWAITING_SELECT_B
	.comm	_BLOCK_PLCI,4,2                 ## @BLOCK_PLCI
L_.str.9:                               ## @.str.9
	.asciz	"continue if codec loaded"

L_.str.10:                              ## @.str.10
	.asciz	"Ext_Ctrl disable"

L_.str.11:                              ## @.str.11
	.asciz	"Ext_Ctrl not requested"

	.comm	_CALL_DIR_OUT,4,2               ## @CALL_DIR_OUT
	.comm	_CALL_DIR_ORIGINATE,4,2         ## @CALL_DIR_ORIGINATE
	.comm	_CALL_DIR_IN,4,2                ## @CALL_DIR_IN
	.comm	_CALL_DIR_ANSWER,4,2            ## @CALL_DIR_ANSWER
	.comm	_select_b_command,4,2           ## @select_b_command
	.no_dead_strip	_select_b_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_b_req
_select_b_req:                          ; @select_b_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x21, x4
	mov	x22, x1
	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, #-96]
	cbz	x3, LBB0_9
; %bb.1:
	mov	x24, x5
	cbz	x5, LBB0_9
; %bb.2:
	mov	x20, x3
	mov	x23, x2
	ldr	x8, [x24]
	ldr	x9, [x3, #64]
	ldr	x10, [x3, #8]
	ldr	w11, [x3]
	ldp	w13, w12, [x3, #88]
	stp	x9, x10, [sp, #32]
	stp	x11, x13, [sp, #16]
	stp	x8, x12, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	str	xzr, [sp, #48]
	str	xzr, [sp, #64]
	str	xzr, [sp, #80]
	str	xzr, [sp, #96]
	str	xzr, [sp, #112]
	str	xzr, [sp, #128]
	str	xzr, [sp, #144]
	ldr	x8, [x20, #16]
Lloh7:
	adrp	x9, _IDLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IDLE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.3:
Lloh10:
	adrp	x10, _OUTG_DIS_PENDING@GOTPAGE
Lloh11:
	ldr	x10, [x10, _OUTG_DIS_PENDING@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x8, x10
	b.eq	LBB0_8
; %bb.4:
Lloh13:
	adrp	x10, _INC_DIS_PENDING@GOTPAGE
Lloh14:
	ldr	x10, [x10, _INC_DIS_PENDING@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x10
	b.eq	LBB0_8
; %bb.5:
	ldr	x10, [x20, #8]
	cmp	x10, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x9, [x20, #80]
	cbnz	x9, LBB0_8
; %bb.7:
	ldr	x9, [x20, #72]
	cbz	x9, LBB0_15
LBB0_8:
Lloh16:
	adrp	x8, __WRONG_STATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, __WRONG_STATE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, __WRONG_IDENTIFIER@GOTPAGE
Lloh19:
	ldr	x8, [x8, __WRONG_IDENTIFIER@GOTPAGEOFF]
LBB0_10:
	ldr	w5, [x8]
LBB0_11:
Lloh20:
	adrp	x8, __SELECT_B_REQ@GOTPAGE
Lloh21:
	ldr	x8, [x8, __SELECT_B_REQ@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh26:
	adrp	x4, l_.str.3@PAGE
Lloh27:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
LBB0_12:
	bl	_sendf
LBB0_13:
	ldur	x8, [x29, #-96]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.14:
	mov	w0, #0
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_15:
	ldr	x1, [x24]
	cbz	x1, LBB0_19
; %bb.16:
	ldr	x8, [x24, #8]
	add	x0, x8, #4
Lloh31:
	adrp	x2, l_.str.2@PAGE
Lloh32:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x3, sp, #48
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_api_parse
	cbz	x0, LBB0_18
; %bb.17:
Lloh33:
	adrp	x8, __WRONG_MESSAGE_FORMAT@GOTPAGE
Lloh34:
	ldr	x8, [x8, __WRONG_MESSAGE_FORMAT@GOTPAGEOFF]
	b	LBB0_10
LBB0_18:
	ldr	x8, [x20, #16]
LBB0_19:
Lloh35:
	adrp	x9, _INC_CON_PENDING@GOTPAGE
Lloh36:
	ldr	x9, [x9, _INC_CON_PENDING@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.20:
Lloh38:
	adrp	x9, _INC_CON_ALERT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _INC_CON_ALERT@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
LBB0_21:
	add	x2, x20, #60
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_api_save_msg
	ldr	w8, [x20]
Lloh43:
	adrp	x9, _EXT_CONTROLLER@GOTPAGE
Lloh44:
	ldr	x9, [x9, _EXT_CONTROLLER@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_28
; %bb.22:
	cbz	w8, LBB0_36
; %bb.23:
	ldr	x8, [x23]
	cbz	x8, LBB0_43
; %bb.24:
	cmp	x8, x21
	b.eq	LBB0_43
; %bb.25:
Lloh46:
	adrp	x0, l_.str.5@PAGE
Lloh47:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_42
LBB0_26:
Lloh48:
	adrp	x8, _EXT_CONTROLLER@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EXT_CONTROLLER@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_31
; %bb.27:
Lloh51:
	adrp	x8, __SELECT_B_REQ@GOTPAGE
Lloh52:
	ldr	x8, [x8, __SELECT_B_REQ@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh57:
	adrp	x4, l_.str.3@PAGE
Lloh58:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
	mov	w5, #8194
	b	LBB0_12
LBB0_28:
	cbz	w8, LBB0_43
; %bb.29:
	ldr	x8, [x23]
	cmp	x8, x21
	b.eq	LBB0_38
; %bb.30:
Lloh59:
	adrp	x0, l_.str.11@PAGE
Lloh60:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_39
LBB0_31:
Lloh61:
	adrp	x8, _INC_CON_CONNECTED_ALERT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _INC_CON_CONNECTED_ALERT@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	str	x8, [x20, #16]
	str	x21, [x20, #64]
	ldr	w8, [x21]
	sub	w1, w8, #1
	mov	x0, x20
	bl	_clear_c_ind_mask_bit
	mov	x0, x20
	bl	_dump_c_ind_mask
Lloh64:
	adrp	x28, _max_appl@GOTPAGE
Lloh65:
	ldr	x28, [x28, _max_appl@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.32:
	mov	x27, #0
	mov	x25, #0
Lloh66:
	adrp	x26, l_.str.3@PAGE
Lloh67:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x28]
	add	x27, x27, #4
	cmp	x25, x8
	b.ge	LBB0_21
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_test_c_ind_mask_bit
	cbz	x0, LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh68:
	adrp	x8, _application@GOTPAGE
Lloh69:
	ldr	x8, [x8, _application@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	add	x0, x8, x27
Lloh71:
	adrp	x8, __DISCONNECT_I@GOTPAGE
Lloh72:
	ldr	x8, [x8, __DISCONNECT_I@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, __OTHER_APPL_CONNECTED@GOTPAGE
Lloh75:
	ldr	x8, [x8, __OTHER_APPL_CONNECTED@GOTPAGEOFF]
Lloh76:
	ldr	w5, [x8]
	mov	x2, x19
	mov	w3, #0
	mov	x4, x26
	bl	_sendf
	b	LBB0_33
LBB0_36:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_40
; %bb.37:
Lloh77:
	adrp	x0, l_.str.6@PAGE
Lloh78:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_42
LBB0_38:
	mov	x0, x23
	mov	x1, x20
	bl	_CodecIdCheck
	str	wzr, [x20]
	str	xzr, [x20, #40]
Lloh79:
	adrp	x0, l_.str.10@PAGE
Lloh80:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_39:
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	b	LBB0_43
LBB0_40:
Lloh81:
	adrp	x0, l_.str.7@PAGE
Lloh82:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_AdvCodecSupport
	cbz	x0, LBB0_49
; %bb.41:
Lloh83:
	adrp	x0, l_.str.8@PAGE
Lloh84:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_42:
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
Lloh85:
	adrp	x8, __WRONG_STATE@GOTPAGE
Lloh86:
	ldr	x8, [x8, __WRONG_STATE@GOTPAGEOFF]
Lloh87:
	ldr	w5, [x8]
	cbnz	w5, LBB0_11
LBB0_43:
	ldr	w9, [x20, #32]
Lloh88:
	adrp	x8, _CALL_DIR_OUT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _CALL_DIR_OUT@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_45
; %bb.44:
Lloh91:
	adrp	x9, _CALL_DIR_ORIGINATE@GOTPAGE
Lloh92:
	ldr	x9, [x9, _CALL_DIR_ORIGINATE@GOTPAGEOFF]
	b	LBB0_47
LBB0_45:
Lloh93:
	adrp	x8, _CALL_DIR_IN@GOTPAGE
Lloh94:
	ldr	x8, [x8, _CALL_DIR_IN@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_48
; %bb.46:
Lloh96:
	adrp	x9, _CALL_DIR_ANSWER@GOTPAGE
Lloh97:
	ldr	x9, [x9, _CALL_DIR_ANSWER@GOTPAGEOFF]
LBB0_47:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #32]
LBB0_48:
Lloh98:
	adrp	x8, _select_b_command@GOTPAGE
Lloh99:
	ldr	x8, [x8, _select_b_command@GOTPAGEOFF]
Lloh100:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_start_internal_command
	b	LBB0_13
LBB0_49:
	ldr	x8, [x20, #24]
Lloh101:
	adrp	x9, _SPOOFING_REQUIRED@GOTPAGE
Lloh102:
	ldr	x9, [x9, _SPOOFING_REQUIRED@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.50:
Lloh104:
	adrp	x8, _AWAITING_SELECT_B@GOTPAGE
Lloh105:
	ldr	x8, [x8, _AWAITING_SELECT_B@GOTPAGEOFF]
Lloh106:
	ldr	x8, [x8]
	str	x8, [x20, #24]
Lloh107:
	adrp	x8, _BLOCK_PLCI@GOTPAGE
Lloh108:
	ldr	x8, [x8, _BLOCK_PLCI@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	str	xzr, [x20, #48]
Lloh110:
	adrp	x0, l_.str.9@PAGE
Lloh111:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
	b	LBB0_13
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	__WRONG_IDENTIFIER,4,2          ; @_WRONG_IDENTIFIER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select_b_req[%d],PLCI=0x%x,Tel=0x%x,NL=0x%x,appl=0x%x,sstate=0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"PlciState=0x%x"

	.comm	_IDLE,8,3                       ; @IDLE
	.comm	_OUTG_DIS_PENDING,8,3           ; @OUTG_DIS_PENDING
	.comm	_INC_DIS_PENDING,8,3            ; @INC_DIS_PENDING
	.comm	__WRONG_STATE,4,2               ; @_WRONG_STATE
l_.str.2:                               ; @.str.2
	.asciz	"wwwsss"

	.comm	__WRONG_MESSAGE_FORMAT,4,2      ; @_WRONG_MESSAGE_FORMAT
	.comm	_INC_CON_PENDING,8,3            ; @INC_CON_PENDING
	.comm	_INC_CON_ALERT,8,3              ; @INC_CON_ALERT
	.comm	_EXT_CONTROLLER,4,2             ; @EXT_CONTROLLER
	.comm	__SELECT_B_REQ,4,2              ; @_SELECT_B_REQ
	.comm	_CONFIRM,4,2                    ; @CONFIRM
l_.str.3:                               ; @.str.3
	.asciz	"w"

	.comm	_INC_CON_CONNECTED_ALERT,8,3    ; @INC_CON_CONNECTED_ALERT
	.comm	_max_appl,4,2                   ; @max_appl
	.comm	_application,8,3                ; @application
	.comm	__DISCONNECT_I,4,2              ; @_DISCONNECT_I
	.comm	__OTHER_APPL_CONNECTED,4,2      ; @_OTHER_APPL_CONNECTED
l_.str.4:                               ; @.str.4
	.asciz	"s"

l_.str.5:                               ; @.str.5
	.asciz	"Ext_Ctrl in use 1"

l_.str.6:                               ; @.str.6
	.asciz	"Ext_Ctrl in use 2"

l_.str.7:                               ; @.str.7
	.asciz	"Ext_Ctrl start"

l_.str.8:                               ; @.str.8
	.asciz	"Error in codec procedures"

	.comm	_SPOOFING_REQUIRED,8,3          ; @SPOOFING_REQUIRED
	.comm	_AWAITING_SELECT_B,8,3          ; @AWAITING_SELECT_B
	.comm	_BLOCK_PLCI,4,2                 ; @BLOCK_PLCI
l_.str.9:                               ; @.str.9
	.asciz	"continue if codec loaded"

l_.str.10:                              ; @.str.10
	.asciz	"Ext_Ctrl disable"

l_.str.11:                              ; @.str.11
	.asciz	"Ext_Ctrl not requested"

	.comm	_CALL_DIR_OUT,4,2               ; @CALL_DIR_OUT
	.comm	_CALL_DIR_ORIGINATE,4,2         ; @CALL_DIR_ORIGINATE
	.comm	_CALL_DIR_IN,4,2                ; @CALL_DIR_IN
	.comm	_CALL_DIR_ANSWER,4,2            ; @CALL_DIR_ANSWER
	.comm	_select_b_command,4,2           ; @select_b_command
	.no_dead_strip	_select_b_req
.subsections_via_symbols
