	.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
_iwl_mvm_ftm_put_target:                ## @iwl_mvm_ftm_put_target
	.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, %r15
	addq	$32, %rdx
	leaq	28(%rbx), %rcx
	leaq	24(%rbx), %r8
	callq	_iwl_mvm_ftm_target_chandef
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movl	20(%rbx), %edi
	movl	40(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	36(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, 16(%rbx)
	movl	32(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	28(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 4(%rbx)
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movl	%eax, (%rbx)
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	movq	_ASAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FTM_PUT_FLAG
LBB0_3:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movq	_LCI_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FTM_PUT_FLAG
LBB0_5:
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.6:
	movq	_CIVIC_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FTM_PUT_FLAG
LBB0_7:
	movq	_IWL_MVM_FTM_INITIATOR_DYNACK@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_DYN_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FTM_PUT_FLAG
LBB0_9:
	movq	_IWL_MVM_FTM_INITIATOR_ALGO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IWL_TOF_ALGO_TYPE_LINEAR_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_ALGO_LR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_IWL_TOF_ALGO_TYPE_FFT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	movq	_ALGO_FFT@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	callq	_FTM_PUT_FLAG
LBB0_14:
	movl	%r14d, %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	_ASAP,4,2                       ## @ASAP
	.comm	_LCI_REQUEST,4,2                ## @LCI_REQUEST
	.comm	_CIVIC_REQUEST,4,2              ## @CIVIC_REQUEST
	.comm	_IWL_MVM_FTM_INITIATOR_DYNACK,8,3 ## @IWL_MVM_FTM_INITIATOR_DYNACK
	.comm	_DYN_ACK,4,2                    ## @DYN_ACK
	.comm	_IWL_MVM_FTM_INITIATOR_ALGO,8,3 ## @IWL_MVM_FTM_INITIATOR_ALGO
	.comm	_IWL_TOF_ALGO_TYPE_LINEAR_REG,8,3 ## @IWL_TOF_ALGO_TYPE_LINEAR_REG
	.comm	_ALGO_LR,4,2                    ## @ALGO_LR
	.comm	_IWL_TOF_ALGO_TYPE_FFT,8,3      ## @IWL_TOF_ALGO_TYPE_FFT
	.comm	_ALGO_FFT,4,2                   ## @ALGO_FFT
	.no_dead_strip	_iwl_mvm_ftm_put_target
.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
_iwl_mvm_ftm_put_target:                ; @iwl_mvm_ftm_put_target
	.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, x2
	mov	x20, x1
	add	x2, x2, #32
	add	x3, x21, #28
	add	x4, x21, #24
	bl	_iwl_mvm_ftm_target_chandef
	mov	x19, x0
	cbnz	w0, LBB0_14
; %bb.1:
	ldr	w0, [x21, #20]
	ldr	w1, [x20, #40]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x20, #36]
	bl	_cpu_to_le16
	ldr	w8, [x20, #32]
	stp	w8, w0, [x21, #12]
	ldr	d0, [x20, #24]
	stur	d0, [x21, #4]
	mov	w0, #0
	bl	_cpu_to_le32
	str	w0, [x21]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ASAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASAP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FTM_PUT_FLAG
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _LCI_REQUEST@GOTPAGE
Lloh7:
	ldr	x8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%bb.12:
Lloh29:
	adrp	x8, _ALGO_FFT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ALGO_FFT@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	bl	_FTM_PUT_FLAG
LBB0_14:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ASAP,4,2                       ; @ASAP
	.comm	_LCI_REQUEST,4,2                ; @LCI_REQUEST
	.comm	_CIVIC_REQUEST,4,2              ; @CIVIC_REQUEST
	.comm	_IWL_MVM_FTM_INITIATOR_DYNACK,8,3 ; @IWL_MVM_FTM_INITIATOR_DYNACK
	.comm	_DYN_ACK,4,2                    ; @DYN_ACK
	.comm	_IWL_MVM_FTM_INITIATOR_ALGO,8,3 ; @IWL_MVM_FTM_INITIATOR_ALGO
	.comm	_IWL_TOF_ALGO_TYPE_LINEAR_REG,8,3 ; @IWL_TOF_ALGO_TYPE_LINEAR_REG
	.comm	_ALGO_LR,4,2                    ; @ALGO_LR
	.comm	_IWL_TOF_ALGO_TYPE_FFT,8,3      ; @IWL_TOF_ALGO_TYPE_FFT
	.comm	_ALGO_FFT,4,2                   ; @ALGO_FFT
	.no_dead_strip	_iwl_mvm_ftm_put_target
.subsections_via_symbols
