	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_send_frag_desc_bank_cfg_64
_ath10k_htt_send_frag_desc_bank_cfg_64: ## @ath10k_htt_send_frag_desc_bank_cfg_64
	.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
	movq	8(%rdi), %r15
	cmpl	$0, 16(%r15)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 40(%rdi)
	je	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	movl	$68, %esi
	callq	_ath10k_htc_alloc_skb
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$68, %esi
	callq	_skb_put
	movq	(%r14), %r13
	movq	_HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movl	28(%rbx), %edi
	movq	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ATH10K_FW_FEATURE_PEER_FLOW_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movl	(%rax), %esi
	callq	_test_bit
	xorl	%r12d, %r12d
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:
	orl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, 56(%r13)
	movabsq	$17179869185, %rax              ## imm = 0x400000001
	movq	%rax, (%r13)
	movl	40(%rbx), %edi
	callq	___cpu_to_le64
	movq	48(%r13), %rcx
	movl	%eax, (%rcx)
	movq	40(%r13), %rax
	movq	$0, 8(%rax)
	movq	32(%rbx), %rdi
	decq	%rdi
	callq	___cpu_to_le16
	movq	40(%r13), %rcx
	movl	%eax, (%rcx)
	movl	24(%rbx), %edi
	callq	_cpu_to_le32
	movl	%eax, 32(%r13)
	movl	20(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r13)
	movl	16(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	movq	_HTT_TX_Q_STATE_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movq	_HTT_TX_Q_STATE_ENTRY_MULTIPLIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_ATH10K_DBG_HTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_ath10k_dbg
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movq	%r14, %rdx
	callq	_ath10k_htc_send
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	movl	%ebx, %r12d
	jmp	LBB0_11
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_10:
	subl	(%rax), %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid frag desc memory\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG,4,2 ## @HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG
	.comm	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE,4,2 ## @HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE
	.comm	_ATH10K_FW_FEATURE_PEER_FLOW_CONTROL,4,2 ## @ATH10K_FW_FEATURE_PEER_FLOW_CONTROL
	.comm	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID,4,2 ## @HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID
	.comm	_HTT_TX_Q_STATE_ENTRY_SIZE,4,2  ## @HTT_TX_Q_STATE_ENTRY_SIZE
	.comm	_HTT_TX_Q_STATE_ENTRY_MULTIPLIER,4,2 ## @HTT_TX_Q_STATE_ENTRY_MULTIPLIER
	.comm	_ATH10K_DBG_HTT,4,2             ## @ATH10K_DBG_HTT
L_.str.1:                               ## @.str.1
	.asciz	"htt frag desc bank cmd\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to send frag desc bank cfg request: %d\n"

	.no_dead_strip	_ath10k_htt_send_frag_desc_bank_cfg_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ath10k_htt_send_frag_desc_bank_cfg_64
lCPI0_0:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath10k_htt_send_frag_desc_bank_cfg_64: ; @ath10k_htt_send_frag_desc_bank_cfg_64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x0, #8]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	w1, #68
	bl	_ath10k_htc_alloc_skb
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	mov	w1, #68
	bl	_skb_put
	ldr	x23, [x20]
Lloh0:
	adrp	x8, _HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #64]
	ldr	w0, [x21, #28]
Lloh3:
	adrp	x8, _HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SM
	mov	x22, x0
Lloh6:
	adrp	x8, _ATH10K_FW_FEATURE_PEER_FLOW_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH10K_FW_FEATURE_PEER_FLOW_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	bl	_test_bit
Lloh9:
	adrp	x8, _HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w22
	str	w8, [x23, #56]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x23]
	ldr	w0, [x21, #40]
	bl	___cpu_to_le64
	ldp	x9, x8, [x23, #40]
	str	w0, [x8]
	str	xzr, [x9, #8]
	ldr	x8, [x21, #32]
	sub	x0, x8, #1
	bl	___cpu_to_le16
	ldr	x8, [x23, #40]
	str	w0, [x8]
	ldr	w0, [x21, #24]
	bl	_cpu_to_le32
	str	w0, [x23, #32]
	ldr	w0, [x21, #20]
	bl	_cpu_to_le16
	str	x0, [x23, #24]
	ldr	w0, [x21, #16]
	bl	_cpu_to_le16
	str	x0, [x23, #16]
Lloh14:
	adrp	x8, _HTT_TX_Q_STATE_ENTRY_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HTT_TX_Q_STATE_ENTRY_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _HTT_TX_Q_STATE_ENTRY_MULTIPLIER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HTT_TX_Q_STATE_ENTRY_MULTIPLIER@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #8]
Lloh20:
	adrp	x8, _ATH10K_DBG_HTT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ATH10K_DBG_HTT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	ldr	x0, [x21, #8]
	ldr	w1, [x21]
	mov	x2, x20
	bl	_ath10k_htc_send
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.4:
	str	x21, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_9
LBB0_5:
	mov	w21, #0
	b	LBB0_9
LBB0_6:
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid frag desc memory\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG,4,2 ; @HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG
	.comm	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE,4,2 ; @HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_DEPTH_TYPE
	.comm	_ATH10K_FW_FEATURE_PEER_FLOW_CONTROL,4,2 ; @ATH10K_FW_FEATURE_PEER_FLOW_CONTROL
	.comm	_HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID,4,2 ; @HTT_FRAG_DESC_BANK_CFG_INFO_Q_STATE_VALID
	.comm	_HTT_TX_Q_STATE_ENTRY_SIZE,4,2  ; @HTT_TX_Q_STATE_ENTRY_SIZE
	.comm	_HTT_TX_Q_STATE_ENTRY_MULTIPLIER,4,2 ; @HTT_TX_Q_STATE_ENTRY_MULTIPLIER
	.comm	_ATH10K_DBG_HTT,4,2             ; @ATH10K_DBG_HTT
l_.str.1:                               ; @.str.1
	.asciz	"htt frag desc bank cmd\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to send frag desc bank cfg request: %d\n"

	.no_dead_strip	_ath10k_htt_send_frag_desc_bank_cfg_64
.subsections_via_symbols
