	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_init_scan_params           ## -- Begin function iwl_init_scan_params
	.p2align	4, 0x90
_iwl_init_scan_params:                  ## @iwl_init_scan_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_fls
	decq	%rax
	movq	(%rbx), %rcx
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_2
## %bb.1:
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rbx), %rcx
LBB0_2:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_4
## %bb.3:
	movq	%rax, (%rcx,%rdx,8)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_init_scan_params           ; -- Begin function iwl_init_scan_params
	.p2align	2
_iwl_init_scan_params:                  ; @iwl_init_scan_params
	.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
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_fls
	sub	x8, x0, #1
	ldr	x9, [x19]
Lloh0:
	adrp	x10, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x11, [x9, x10, lsl #3]
	cbnz	x11, LBB0_2
; %bb.1:
	str	x8, [x9, x10, lsl #3]
	ldr	x9, [x19]
LBB0_2:
Lloh3:
	adrp	x10, _NL80211_BAND_2GHZ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x11, [x9, x10, lsl #3]
	cbnz	x11, LBB0_4
; %bb.3:
	str	x8, [x9, x10, lsl #3]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
.subsections_via_symbols
