	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_snoc_fw_indication      ## -- Begin function ath10k_snoc_fw_indication
	.p2align	4, 0x90
_ath10k_snoc_fw_indication:             ## @ath10k_snoc_fw_indication
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_ath10k_snoc_priv
	movq	%rax, %r12
	movq	_ATH10K_SNOC_FLAG_UNREGISTERING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$129, %ebx
	je	LBB0_8
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_9
## %bb.3:
	movq	_ATH10K_SNOC_FLAG_REGISTERED@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	8(%r15), %edi
	addq	$4, %r15
	movq	%r15, %rsi
	callq	_queue_work
	jmp	LBB0_10
LBB0_8:
	movq	_ATH10K_SNOC_FLAG_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	_ATH10K_FLAG_CRASH_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_5:
	movq	_ATH10K_DEV_TYPE_LL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ath10k_core_register
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ath10k_err
	movl	%ebx, %r14d
	jmp	LBB0_10
LBB0_7:
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_set_bit
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_SNOC_FLAG_UNREGISTERING,4,2 ## @ATH10K_SNOC_FLAG_UNREGISTERING
	.comm	_ATH10K_SNOC_FLAG_REGISTERED,4,2 ## @ATH10K_SNOC_FLAG_REGISTERED
	.comm	_ATH10K_DEV_TYPE_LL,4,2         ## @ATH10K_DEV_TYPE_LL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register driver core: %d\n"

	.comm	_ATH10K_SNOC_FLAG_RECOVERY,4,2  ## @ATH10K_SNOC_FLAG_RECOVERY
	.comm	_ATH10K_FLAG_CRASH_FLUSH,4,2    ## @ATH10K_FLAG_CRASH_FLUSH
L_.str.1:                               ## @.str.1
	.asciz	"invalid fw indication: %llx\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_snoc_fw_indication      ; -- Begin function ath10k_snoc_fw_indication
	.p2align	2
_ath10k_snoc_fw_indication:             ; @ath10k_snoc_fw_indication
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_ath10k_snoc_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _ATH10K_SNOC_FLAG_UNREGISTERING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_SNOC_FLAG_UNREGISTERING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_3
LBB0_1:
	mov	w21, #0
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	cmp	w21, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w21, #128
	b.ne	LBB0_8
; %bb.5:
Lloh3:
	adrp	x22, _ATH10K_SNOC_FLAG_REGISTERED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ATH10K_SNOC_FLAG_REGISTERED@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w0, [x19, #8]
	add	x1, x19, #4
	bl	_queue_work
	b	LBB0_1
LBB0_7:
Lloh5:
	adrp	x8, _ATH10K_SNOC_FLAG_RECOVERY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_SNOC_FLAG_RECOVERY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
Lloh8:
	adrp	x8, _ATH10K_FLAG_CRASH_FLUSH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_FLAG_CRASH_FLUSH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	b	LBB0_1
LBB0_8:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_2
LBB0_9:
Lloh16:
	adrp	x8, _ATH10K_DEV_TYPE_LL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ATH10K_DEV_TYPE_LL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ath10k_core_register
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.10:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_err
	b	LBB0_2
LBB0_11:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_set_bit
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_SNOC_FLAG_UNREGISTERING,4,2 ; @ATH10K_SNOC_FLAG_UNREGISTERING
	.comm	_ATH10K_SNOC_FLAG_REGISTERED,4,2 ; @ATH10K_SNOC_FLAG_REGISTERED
	.comm	_ATH10K_DEV_TYPE_LL,4,2         ; @ATH10K_DEV_TYPE_LL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register driver core: %d\n"

	.comm	_ATH10K_SNOC_FLAG_RECOVERY,4,2  ; @ATH10K_SNOC_FLAG_RECOVERY
	.comm	_ATH10K_FLAG_CRASH_FLUSH,4,2    ; @ATH10K_FLAG_CRASH_FLUSH
l_.str.1:                               ; @.str.1
	.asciz	"invalid fw indication: %llx\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
