	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_ftm_put_target_v2
_iwl_mvm_ftm_put_target_v2:             ## @iwl_mvm_ftm_put_target_v2
	.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	%rdx, %rbx
	movq	%rsi, %r14
	addq	$56, %rdx
	leaq	52(%rbx), %rcx
	leaq	48(%rbx), %r8
	callq	_iwl_mvm_ftm_target_chandef
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	44(%rbx), %edi
	movl	40(%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	32(%r14), %edi
	callq	_cpu_to_le16
	movl	%eax, 40(%rbx)
	movl	28(%r14), %eax
	movl	%eax, 36(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	_IWL_MVM_FTM_INITIATOR_DYNACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	cmpq	$0, 8(%r14)
	je	LBB0_3
## %bb.2:
	movq	_IWL_TOF_LOC_LCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_3:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	_IWL_TOF_LOC_CIVIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_5:
	movq	_IWL_MVM_FTM_INITIATOR_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IWL_MVM_FTM_INITIATOR_DYNACK,4,2 ## @IWL_MVM_FTM_INITIATOR_DYNACK
	.comm	_IWL_TOF_LOC_LCI,4,2            ## @IWL_TOF_LOC_LCI
	.comm	_IWL_TOF_LOC_CIVIC,4,2          ## @IWL_TOF_LOC_CIVIC
	.comm	_IWL_MVM_FTM_INITIATOR_ALGO,4,2 ## @IWL_MVM_FTM_INITIATOR_ALGO
	.no_dead_strip	_iwl_mvm_ftm_put_target_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_ftm_put_target_v2
_iwl_mvm_ftm_put_target_v2:             ; @iwl_mvm_ftm_put_target_v2
	.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	x19, x2
	mov	x21, x1
	add	x2, x2, #56
	add	x3, x19, #52
	add	x4, x19, #48
	bl	_iwl_mvm_ftm_target_chandef
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x19, #44]
	ldr	w1, [x21, #40]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x21, #32]
	bl	_cpu_to_le16
	str	w0, [x19, #40]
	ldr	d0, [x21, #24]
	str	d0, [x19, #32]
	str	xzr, [x19, #24]
	ldr	d0, [x21, #16]
	stur	d0, [x19, #12]
Lloh3:
	adrp	x8, _IWL_MVM_FTM_INITIATOR_DYNACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_FTM_INITIATOR_DYNACK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _IWL_TOF_LOC_LCI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_TOF_LOC_LCI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _IWL_TOF_LOC_CIVIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_TOF_LOC_CIVIC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
Lloh12:
	adrp	x8, _IWL_MVM_FTM_INITIATOR_ALGO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IWL_MVM_FTM_INITIATOR_ALGO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IWL_MVM_FTM_INITIATOR_DYNACK,4,2 ; @IWL_MVM_FTM_INITIATOR_DYNACK
	.comm	_IWL_TOF_LOC_LCI,4,2            ; @IWL_TOF_LOC_LCI
	.comm	_IWL_TOF_LOC_CIVIC,4,2          ; @IWL_TOF_LOC_CIVIC
	.comm	_IWL_MVM_FTM_INITIATOR_ALGO,4,2 ; @IWL_MVM_FTM_INITIATOR_ALGO
	.no_dead_strip	_iwl_mvm_ftm_put_target_v2
.subsections_via_symbols
