	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at_async_cops
_at_async_cops:                         ## @at_async_cops
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-100(%rbp), %rcx
	movq	%rax, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.1:
	movq	24(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %eax
	cmpl	-100(%rbp), %eax
	jne	LBB0_4
## %bb.3:
	leaq	-96(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	callq	_free
LBB0_5:
	leaq	-96(%rbp), %rdi
	callq	_strdup
	movq	%rax, 24(%rbx)
	movslq	-100(%rbp), %rcx
	movl	%ecx, (%rbx)
	movl	4(%rbx), %edx
	movl	%edx, %esi
	orl	$4, %esi
	cmpl	$5, %esi
	jne	LBB0_8
## %bb.6:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	movq	_network_reg_status@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rsi,%rdx,4), %edx
	movq	_network_access_type@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rsi,%rcx,4), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_logger
	cmpl	$1, 8(%rbx)
	je	LBB0_9
## %bb.7:
	movl	12(%rbx), %edx
	movl	16(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_at_cmd_async
	jmp	LBB0_9
LBB0_8:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_network_reg_status@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	_network_access_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_logger
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+COPS: %*d,%*d,\"%[^\"]\",%d"

	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
L_.str.1:                               ## @.str.1
	.asciz	"%s to \"%s\" (%s)"

	.comm	_network_reg_status,8,3         ## @network_reg_status
	.comm	_network_access_type,8,3        ## @network_access_type
L_.str.2:                               ## @.str.2
	.asciz	"AT_OWANCALL=%d,1,1\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s (%s)"

	.no_dead_strip	_at_async_cops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at_async_cops
_at_async_cops:                         ; @at_async_cops
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_9
; %bb.1:
	ldr	x20, [x19, #24]
	cbz	x20, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	ldr	w9, [sp, #20]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #24
	mov	x1, x20
	bl	_strcasecmp
	cbz	x0, LBB0_9
LBB0_4:
	mov	x0, x20
	bl	_free
LBB0_5:
	add	x0, sp, #24
	bl	_strdup
	str	x0, [x19, #24]
	ldrsw	x8, [sp, #20]
	str	w8, [x19]
	ldr	w9, [x19, #4]
	orr	w10, w9, #0x4
	cmp	w10, #5
	b.ne	LBB0_8
; %bb.6:
	mov	x3, x0
Lloh5:
	adrp	x10, _LOG_NOTICE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LOG_NOTICE@GOTPAGEOFF]
Lloh7:
	adrp	x11, _network_reg_status@GOTPAGE
Lloh8:
	ldr	x11, [x11, _network_reg_status@GOTPAGEOFF]
Lloh9:
	ldr	x11, [x11]
	ldr	w2, [x11, x9, lsl #2]
Lloh10:
	ldr	w0, [x10]
Lloh11:
	adrp	x9, _network_access_type@GOTPAGE
Lloh12:
	ldr	x9, [x9, _network_access_type@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_logger
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.7:
	ldp	w2, w0, [x19, #12]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_at_cmd_async
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x10, _LOG_NOTICE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _LOG_NOTICE@GOTPAGEOFF]
Lloh20:
	adrp	x11, _network_reg_status@GOTPAGE
Lloh21:
	ldr	x11, [x11, _network_reg_status@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	ldr	w2, [x11, w9, sxtw #2]
Lloh23:
	ldr	w0, [x10]
Lloh24:
	adrp	x9, _network_access_type@GOTPAGE
Lloh25:
	ldr	x9, [x9, _network_access_type@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w3, [x9, x8, lsl #2]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_logger
LBB0_9:
	ldur	x8, [x29, #-24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+COPS: %*d,%*d,\"%[^\"]\",%d"

	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
l_.str.1:                               ; @.str.1
	.asciz	"%s to \"%s\" (%s)"

	.comm	_network_reg_status,8,3         ; @network_reg_status
	.comm	_network_access_type,8,3        ; @network_access_type
l_.str.2:                               ; @.str.2
	.asciz	"AT_OWANCALL=%d,1,1\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s (%s)"

	.no_dead_strip	_at_async_cops
.subsections_via_symbols
