	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_rx_scan_complete_notif
_iwl_rx_scan_complete_notif:            ## @iwl_rx_scan_complete_notif
	.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	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r15
	movslq	20(%r15), %rdx
	movl	16(%r15), %ecx
	movl	8(%r15), %r9d
	movl	12(%r15), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movq	(%r14), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	subq	48(%r14), %rdi
	callq	_jiffies_to_msecs
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_SCAN
	movq	_STATUS_SCAN_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	44(%r14), %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_STATUS_SCAN_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	28(%r14), %edi
	leaq	40(%r14), %rsi
	callq	_queue_work
	movq	8(%r14), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_iwl_advanced_bt_coexist
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	(%r15), %rax
	cmpq	%rax, 16(%r14)
	jne	LBB0_3
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	cmpl	$0, 36(%r14)
	jne	LBB0_8
## %bb.6:
	movq	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	_IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
LBB0_8:
	movq	%rax, 16(%r14)
	movl	28(%r14), %edi
	addq	$24, %r14
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Scan complete: %d channels (TSF 0x%08X:%08X) - %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Scan on %sGHz took %dms\n"

	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
L_.str.2:                               ## @.str.2
	.asciz	"2.4"

L_.str.3:                               ## @.str.3
	.asciz	"5.2"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_STATUS_SCAN_COMPLETE,4,2       ## @STATUS_SCAN_COMPLETE
	.comm	_STATUS_SCAN_HW,4,2             ## @STATUS_SCAN_HW
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,4,2 ## @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_NONE,4,2 ## @IWL_BT_COEX_TRAFFIC_LOAD_NONE
	.no_dead_strip	_iwl_rx_scan_complete_notif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_rx_scan_complete_notif
_iwl_rx_scan_complete_notif:            ; @iwl_rx_scan_complete_notif
	.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	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x21, [x0]
	ldp	w3, w2, [x21, #16]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldp	w9, w8, [x21, #8]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_SCAN
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, l_.str.3@PAGE
Lloh6:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh7:
	adrp	x11, l_.str.2@PAGE
Lloh8:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	x8, x9
	csel	x20, x11, x10, eq
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	sub	x0, x8, x9
	bl	_jiffies_to_msecs
	mov	x3, x0
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_SCAN
Lloh14:
	adrp	x8, _STATUS_SCAN_COMPLETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STATUS_SCAN_COMPLETE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	add	x20, x19, #44
	mov	x1, x20
	bl	_set_bit
Lloh17:
	adrp	x8, _STATUS_SCAN_HW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STATUS_SCAN_HW@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	ldr	w0, [x19, #28]
	add	x1, x19, #40
	bl	_queue_work
	ldr	x8, [x19, #8]
Lloh20:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_iwl_advanced_bt_coexist
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_4
LBB0_3:
	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_4:
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w9, [x19, #36]
	cbnz	w9, LBB0_9
; %bb.6:
Lloh23:
	adrp	x9, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh25:
	adrp	x9, _IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	str	w9, [x19, #32]
LBB0_9:
	str	x8, [x19, #16]
	ldr	w0, [x19, #28]
	add	x1, x19, #24
	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
	b	_queue_work
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Scan complete: %d channels (TSF 0x%08X:%08X) - %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Scan on %sGHz took %dms\n"

	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
l_.str.2:                               ; @.str.2
	.asciz	"2.4"

l_.str.3:                               ; @.str.3
	.asciz	"5.2"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_STATUS_SCAN_COMPLETE,4,2       ; @STATUS_SCAN_COMPLETE
	.comm	_STATUS_SCAN_HW,4,2             ; @STATUS_SCAN_HW
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,4,2 ; @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_NONE,4,2 ; @IWL_BT_COEX_TRAFFIC_LOAD_NONE
	.no_dead_strip	_iwl_rx_scan_complete_notif
.subsections_via_symbols
