	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at_async_owancall
_at_async_owancall:                     ## @at_async_owancall
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	movq	%rax, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.1:
	movl	-12(%rbp), %eax
	cmpl	(%rbx), %eax
	je	LBB0_5
## %bb.2:
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_at_cmd_async
	movl	-12(%rbp), %eax
	movl	%eax, (%rbx)
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_network_access_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rsi
	movl	(%rax,%rsi,4), %r8d
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_logger
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_logger
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_OWANCALL: %*d,%d"

L_.str.1:                               ## @.str.1
	.asciz	"AT_OWANDATA=%d\r\n"

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

	.comm	_network_access_type,8,3        ## @network_access_type
L_.str.3:                               ## @.str.3
	.asciz	"Disconnected from \"%s\" (%s)"

	.no_dead_strip	_at_async_owancall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at_async_owancall
_at_async_owancall:                     ; @at_async_owancall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x8
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
	ldr	w9, [x19]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
	ldp	w2, w0, [x19, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_at_cmd_async
	ldr	w8, [sp, #12]
	str	w8, [x19]
Lloh4:
	adrp	x9, _LOG_NOTICE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _LOG_NOTICE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	ldp	w3, w2, [x19, #16]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _network_access_type@GOTPAGE
Lloh8:
	ldr	x8, [x8, _network_access_type@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	bl	_logger
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_OWANCALL: %*d,%d"

l_.str.1:                               ; @.str.1
	.asciz	"AT_OWANDATA=%d\r\n"

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

	.comm	_network_access_type,8,3        ; @network_access_type
l_.str.3:                               ; @.str.3
	.asciz	"Disconnected from \"%s\" (%s)"

	.no_dead_strip	_at_async_owancall
.subsections_via_symbols
