	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_abort_scanning           ## -- Begin function brcmf_abort_scanning
	.p2align	4, 0x90
_brcmf_abort_scanning:                  ## @brcmf_abort_scanning
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BRCMF_SCAN_STATUS_ABORT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	cmpq	$0, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
LBB0_2:
	movq	_WL_ESCAN_STATE_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_brcmf_notify_escan_complete
LBB0_3:
	movq	_BRCMF_SCAN_STATUS_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	(%r14), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_SCAN_STATUS_ABORT,4,2    ## @BRCMF_SCAN_STATUS_ABORT
	.comm	_WL_ESCAN_STATE_IDLE,4,2        ## @WL_ESCAN_STATE_IDLE
	.comm	_BRCMF_SCAN_STATUS_BUSY,4,2     ## @BRCMF_SCAN_STATUS_BUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_abort_scanning           ; -- Begin function brcmf_abort_scanning
	.p2align	2
_brcmf_abort_scanning:                  ; @brcmf_abort_scanning
	.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	x19, x0
Lloh0:
	adrp	x20, _BRCMF_SCAN_STATUS_ABORT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BRCMF_SCAN_STATUS_ABORT@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_set_bit
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _WL_ESCAN_STATE_IDLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WL_ESCAN_STATE_IDLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	ldr	w1, [x19, #24]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	bl	_brcmf_notify_escan_complete
LBB0_3:
Lloh5:
	adrp	x8, _BRCMF_SCAN_STATUS_BUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BRCMF_SCAN_STATUS_BUSY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_SCAN_STATUS_ABORT,4,2    ; @BRCMF_SCAN_STATUS_ABORT
	.comm	_WL_ESCAN_STATE_IDLE,4,2        ; @WL_ESCAN_STATE_IDLE
	.comm	_BRCMF_SCAN_STATUS_BUSY,4,2     ; @BRCMF_SCAN_STATUS_BUSY
.subsections_via_symbols
