	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_fill_scan_config_v1
_iwl_mvm_fill_scan_config_v1:           ## @iwl_mvm_fill_scan_config_v1
	.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	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%esi, %esi
	callq	_iwl_mvm_get_scan_type
	movl	%eax, %r13d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movq	%r12, %rdi
	callq	_iwl_mvm_get_valid_tx_ant
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	movq	%r12, %rdi
	callq	_iwl_mvm_scan_rx_ant
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movq	%r12, %rdi
	callq	_iwl_mvm_scan_config_rates
	movl	%eax, 40(%rbx)
	movq	_scan_timing@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%r13d, %r13d
	movl	4(%rax,%r13,8), %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%rbx)
	movq	(%r14), %rax
	movl	(%rax,%r13,8), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	leaq	16(%rbx), %rsi
	movq	%r12, %rdi
	callq	_iwl_mvm_fill_scan_dwell
	leaq	12(%rbx), %rdi
	movq	8(%r12), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	(%r12), %eax
	movl	%eax, 8(%rbx)
	movl	%r15d, 4(%rbx)
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_fill_channels          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scan_timing,8,3                ## @scan_timing
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_iwl_mvm_fill_scan_config_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_fill_scan_config_v1
_iwl_mvm_fill_scan_config_v1:           ; @iwl_mvm_fill_scan_config_v1
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	mov	x1, #0
	bl	_iwl_mvm_get_scan_type
	mov	x24, x0
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x22, #64]
	mov	x0, x21
	bl	_iwl_mvm_get_valid_tx_ant
	bl	_cpu_to_le32
	str	x0, [x22, #56]
	mov	x0, x21
	bl	_iwl_mvm_scan_rx_ant
	bl	_cpu_to_le32
	str	x0, [x22, #48]
	mov	x0, x21
	bl	_iwl_mvm_scan_config_rates
Lloh0:
	adrp	x23, _scan_timing@GOTPAGE
Lloh1:
	ldr	x23, [x23, _scan_timing@GOTPAGEOFF]
	str	w0, [x22, #40]
	ldr	x8, [x23]
	mov	w9, w24
	lsl	x24, x9, #3
	add	x8, x8, x24
	ldr	w0, [x8, #4]
	bl	_cpu_to_le32
	str	x0, [x22, #32]
	ldr	x8, [x23]
	ldr	w0, [x8, x24]
	bl	_cpu_to_le32
	str	x0, [x22, #24]
	add	x1, x22, #16
	mov	x0, x21
	bl	_iwl_mvm_fill_scan_dwell
	add	x0, x22, #12
	ldr	x1, [x21, #8]
Lloh2:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w8, [x21]
	stp	w20, w8, [x22, #4]
	ldr	w1, [x22]
	mov	x0, x21
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_iwl_mvm_fill_channels
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scan_timing,8,3                ; @scan_timing
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_iwl_mvm_fill_scan_config_v1
.subsections_via_symbols
