	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_wifi_scan            ## -- Begin function task_push_wifi_scan
	.p2align	4, 0x90
_task_push_wifi_scan:                   ## @task_push_wifi_scan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_task_init
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_TASK_TYPE_BLOCKING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_task_wifi_scan_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	%r14d, 4(%rbx)
	movq	_MSG_SCANNING_WIRELESS_NETWORKS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movl	%eax, %edi
	callq	_strdup
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_task_queue_push
	movl	$1, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TASK_TYPE_BLOCKING,4,2         ## @TASK_TYPE_BLOCKING
	.comm	_task_wifi_scan_handler,4,2     ## @task_wifi_scan_handler
	.comm	_MSG_SCANNING_WIRELESS_NETWORKS,4,2 ## @MSG_SCANNING_WIRELESS_NETWORKS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_wifi_scan            ; -- Begin function task_push_wifi_scan
	.p2align	2
_task_push_wifi_scan:                   ; @task_push_wifi_scan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_task_init
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _TASK_TYPE_BLOCKING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TASK_TYPE_BLOCKING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	xzr, [x0, #16]
Lloh3:
	adrp	x8, _task_wifi_scan_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _task_wifi_scan_handler@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w20, w8, [x0, #4]
Lloh6:
	adrp	x8, _MSG_SCANNING_WIRELESS_NETWORKS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_SCANNING_WIRELESS_NETWORKS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	bl	_strdup
	str	w0, [x19]
	mov	x0, x19
	bl	_task_queue_push
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TASK_TYPE_BLOCKING,4,2         ; @TASK_TYPE_BLOCKING
	.comm	_task_wifi_scan_handler,4,2     ; @task_wifi_scan_handler
	.comm	_MSG_SCANNING_WIRELESS_NETWORKS,4,2 ; @MSG_SCANNING_WIRELESS_NETWORKS
.subsections_via_symbols
