	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_update_bss_chan_survey
_ath10k_mac_update_bss_chan_survey:     ## @ath10k_mac_update_bss_chan_survey
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addq	$28, %rdi
	callq	_lockdep_assert_held
	movq	_WMI_SERVICE_BSS_CHANNEL_INFO_64@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	cmpq	%r15, 16(%rbx)
	je	LBB0_2
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	movq	_ATH10K_SCAN_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_reinit_completion
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ath10k_wmi_pdev_bss_chan_info_request
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_9:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_dbg                     ## TAILCALL
LBB0_6:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %esi
	movq	%rbx, %rdi
	callq	_wait_for_completion_timeout
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR,4,2 ## @WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR
	.comm	_WMI_SERVICE_BSS_CHANNEL_INFO_64,4,2 ## @WMI_SERVICE_BSS_CHANNEL_INFO_64
	.comm	_ATH10K_SCAN_IDLE,8,3           ## @ATH10K_SCAN_IDLE
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring bss chan info request while scanning..\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to send pdev bss chan info request\n"

	.comm	_HZ,4,2                         ## @HZ
L_.str.2:                               ## @.str.2
	.asciz	"bss channel survey timed out\n"

	.no_dead_strip	_ath10k_mac_update_bss_chan_survey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_update_bss_chan_survey
_ath10k_mac_update_bss_chan_survey:     ; @ath10k_mac_update_bss_chan_survey
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	add	x0, x0, #28
	bl	_lockdep_assert_held
Lloh3:
	adrp	x8, _WMI_SERVICE_BSS_CHANNEL_INFO_64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_SERVICE_BSS_CHANNEL_INFO_64@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #24]
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	cmp	x8, x21
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _ATH10K_SCAN_IDLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATH10K_SCAN_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_reinit_completion
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_wmi_pdev_bss_chan_info_request
	cbz	w0, LBB0_8
; %bb.5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ath10k_warn
LBB0_7:
Lloh11:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ath10k_dbg
LBB0_8:
Lloh16:
	adrp	x8, _HZ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	add	w1, w8, w8, lsl #1
	mov	x0, x19
	bl	_wait_for_completion_timeout
	cbnz	w0, LBB0_2
; %bb.9:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR,4,2 ; @WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR
	.comm	_WMI_SERVICE_BSS_CHANNEL_INFO_64,4,2 ; @WMI_SERVICE_BSS_CHANNEL_INFO_64
	.comm	_ATH10K_SCAN_IDLE,8,3           ; @ATH10K_SCAN_IDLE
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring bss chan info request while scanning..\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to send pdev bss chan info request\n"

	.comm	_HZ,4,2                         ; @HZ
l_.str.2:                               ; @.str.2
	.asciz	"bss channel survey timed out\n"

	.no_dead_strip	_ath10k_mac_update_bss_chan_survey
.subsections_via_symbols
