	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_send_rx_ring_cfg_32
_ath10k_htt_send_rx_ring_cfg_32:        ## @ath10k_htt_send_rx_ring_cfg_32
	.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	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	_HTT_RX_BUF_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_IS_ALIGNED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUILD_BUG_ON
	movq	_HTT_MAX_CACHE_LINE_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_ath10k_htc_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$56, %esi
	callq	_skb_put
	movq	(%r14), %rax
	movq	8(%rax), %r12
	movq	_HTT_H2T_MSG_TYPE_RX_RING_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	$1, (%rax)
	movq	_HTT_RX_RING_FLAGS_MAC80211_HDR@GOTPCREL(%rip), %rax
	movq	_HTT_RX_RING_FLAGS_MSDU_PAYLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_PPDU_START@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_PPDU_END@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MPDU_START@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MPDU_END@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MSDU_START@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MSDU_END@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_RX_ATTENTION@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_FRAG_INFO@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_UNICAST_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MULTICAST_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_CTRL_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_MGMT_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_NULL_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_HTT_RX_RING_FLAGS_PHY_DATA_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	32(%r15), %rax
	movl	(%rax), %edi
	callq	___le32_to_cpu
	movl	%eax, %r13d
	movl	24(%r15), %edi
	callq	___cpu_to_le32
	movq	%rax, 40(%r12)
	movl	20(%r15), %edi
	callq	___cpu_to_le32
	movq	%rax, 32(%r12)
	movl	16(%r15), %edi
	callq	___cpu_to_le16
	movq	%rax, 24(%r12)
	movq	_HTT_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le16
	movq	%rax, 16(%r12)
	movl	%ebx, %edi
	callq	___cpu_to_le16
	movq	%rax, 8(%r12)
	movl	%r13d, %edi
	callq	___cpu_to_le16
	movq	%rax, (%r12)
	movq	%r12, %rdi
	callq	_ath10k_htt_fill_rx_desc_offset_32
	movq	8(%r15), %rdi
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_ath10k_htc_send
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTT_RX_BUF_SIZE,4,2            ## @HTT_RX_BUF_SIZE
	.comm	_HTT_MAX_CACHE_LINE_SIZE_MASK,4,2 ## @HTT_MAX_CACHE_LINE_SIZE_MASK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_RX_RING_CFG,4,2 ## @HTT_H2T_MSG_TYPE_RX_RING_CFG
	.comm	_HTT_RX_RING_FLAGS_MAC80211_HDR,4,2 ## @HTT_RX_RING_FLAGS_MAC80211_HDR
	.comm	_HTT_RX_RING_FLAGS_MSDU_PAYLOAD,4,2 ## @HTT_RX_RING_FLAGS_MSDU_PAYLOAD
	.comm	_HTT_RX_RING_FLAGS_PPDU_START,4,2 ## @HTT_RX_RING_FLAGS_PPDU_START
	.comm	_HTT_RX_RING_FLAGS_PPDU_END,4,2 ## @HTT_RX_RING_FLAGS_PPDU_END
	.comm	_HTT_RX_RING_FLAGS_MPDU_START,4,2 ## @HTT_RX_RING_FLAGS_MPDU_START
	.comm	_HTT_RX_RING_FLAGS_MPDU_END,4,2 ## @HTT_RX_RING_FLAGS_MPDU_END
	.comm	_HTT_RX_RING_FLAGS_MSDU_START,4,2 ## @HTT_RX_RING_FLAGS_MSDU_START
	.comm	_HTT_RX_RING_FLAGS_MSDU_END,4,2 ## @HTT_RX_RING_FLAGS_MSDU_END
	.comm	_HTT_RX_RING_FLAGS_RX_ATTENTION,4,2 ## @HTT_RX_RING_FLAGS_RX_ATTENTION
	.comm	_HTT_RX_RING_FLAGS_FRAG_INFO,4,2 ## @HTT_RX_RING_FLAGS_FRAG_INFO
	.comm	_HTT_RX_RING_FLAGS_UNICAST_RX,4,2 ## @HTT_RX_RING_FLAGS_UNICAST_RX
	.comm	_HTT_RX_RING_FLAGS_MULTICAST_RX,4,2 ## @HTT_RX_RING_FLAGS_MULTICAST_RX
	.comm	_HTT_RX_RING_FLAGS_CTRL_RX,4,2  ## @HTT_RX_RING_FLAGS_CTRL_RX
	.comm	_HTT_RX_RING_FLAGS_MGMT_RX,4,2  ## @HTT_RX_RING_FLAGS_MGMT_RX
	.comm	_HTT_RX_RING_FLAGS_NULL_RX,4,2  ## @HTT_RX_RING_FLAGS_NULL_RX
	.comm	_HTT_RX_RING_FLAGS_PHY_DATA_RX,4,2 ## @HTT_RX_RING_FLAGS_PHY_DATA_RX
	.no_dead_strip	_ath10k_htt_send_rx_ring_cfg_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_send_rx_ring_cfg_32
_ath10k_htt_send_rx_ring_cfg_32:        ; @ath10k_htt_send_rx_ring_cfg_32
	.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, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x24, _HTT_RX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HTT_RX_BUF_SIZE@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #4
	bl	_IS_ALIGNED
	cmp	w0, #0
	cset	w0, eq
	bl	_BUILD_BUG_ON
	ldr	w8, [x24]
Lloh2:
	adrp	x9, _HTT_MAX_CACHE_LINE_SIZE_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HTT_MAX_CACHE_LINE_SIZE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_BUILD_BUG_ON
	mov	x0, x20
	mov	w1, #56
	bl	_ath10k_htc_alloc_skb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w1, #56
	bl	_skb_put
	ldr	x8, [x20]
	ldr	x21, [x8, #8]
Lloh5:
	adrp	x9, _HTT_H2T_MSG_TYPE_RX_RING_CFG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HTT_H2T_MSG_TYPE_RX_RING_CFG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	mov	w9, #1
	str	w9, [x8]
Lloh8:
	adrp	x8, _HTT_RX_RING_FLAGS_MAC80211_HDR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HTT_RX_RING_FLAGS_MAC80211_HDR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _HTT_RX_RING_FLAGS_MSDU_PAYLOAD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MSDU_PAYLOAD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _HTT_RX_RING_FLAGS_PPDU_START@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_PPDU_START@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _HTT_RX_RING_FLAGS_PPDU_END@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_PPDU_END@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _HTT_RX_RING_FLAGS_MPDU_START@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MPDU_START@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _HTT_RX_RING_FLAGS_MPDU_END@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MPDU_END@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _HTT_RX_RING_FLAGS_MSDU_START@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MSDU_START@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _HTT_RX_RING_FLAGS_MSDU_END@GOTPAGE
Lloh30:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MSDU_END@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _HTT_RX_RING_FLAGS_RX_ATTENTION@GOTPAGE
Lloh33:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_RX_ATTENTION@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _HTT_RX_RING_FLAGS_FRAG_INFO@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_FRAG_INFO@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _HTT_RX_RING_FLAGS_UNICAST_RX@GOTPAGE
Lloh39:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_UNICAST_RX@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _HTT_RX_RING_FLAGS_MULTICAST_RX@GOTPAGE
Lloh42:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MULTICAST_RX@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _HTT_RX_RING_FLAGS_CTRL_RX@GOTPAGE
Lloh45:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_CTRL_RX@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh47:
	adrp	x9, _HTT_RX_RING_FLAGS_MGMT_RX@GOTPAGE
Lloh48:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_MGMT_RX@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _HTT_RX_RING_FLAGS_NULL_RX@GOTPAGE
Lloh51:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_NULL_RX@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh53:
	adrp	x9, _HTT_RX_RING_FLAGS_PHY_DATA_RX@GOTPAGE
Lloh54:
	ldr	x9, [x9, _HTT_RX_RING_FLAGS_PHY_DATA_RX@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w22, w8, w9
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	___le32_to_cpu
	mov	x23, x0
	ldr	w0, [x19, #24]
	bl	___cpu_to_le32
	str	x0, [x21, #40]
	ldr	w0, [x19, #20]
	bl	___cpu_to_le32
	str	x0, [x21, #32]
	ldr	w0, [x19, #16]
	bl	___cpu_to_le16
	str	x0, [x21, #24]
	ldr	w0, [x24]
	bl	___cpu_to_le16
	str	x0, [x21, #16]
	mov	x0, x22
	bl	___cpu_to_le16
	str	x0, [x21, #8]
	mov	x0, x23
	bl	___cpu_to_le16
	str	x0, [x21]
	mov	x0, x21
	bl	_ath10k_htt_fill_rx_desc_offset_32
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
	mov	x2, x20
	bl	_ath10k_htc_send
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_4
LBB0_3:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_4:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_HTT_RX_BUF_SIZE,4,2            ; @HTT_RX_BUF_SIZE
	.comm	_HTT_MAX_CACHE_LINE_SIZE_MASK,4,2 ; @HTT_MAX_CACHE_LINE_SIZE_MASK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_RX_RING_CFG,4,2 ; @HTT_H2T_MSG_TYPE_RX_RING_CFG
	.comm	_HTT_RX_RING_FLAGS_MAC80211_HDR,4,2 ; @HTT_RX_RING_FLAGS_MAC80211_HDR
	.comm	_HTT_RX_RING_FLAGS_MSDU_PAYLOAD,4,2 ; @HTT_RX_RING_FLAGS_MSDU_PAYLOAD
	.comm	_HTT_RX_RING_FLAGS_PPDU_START,4,2 ; @HTT_RX_RING_FLAGS_PPDU_START
	.comm	_HTT_RX_RING_FLAGS_PPDU_END,4,2 ; @HTT_RX_RING_FLAGS_PPDU_END
	.comm	_HTT_RX_RING_FLAGS_MPDU_START,4,2 ; @HTT_RX_RING_FLAGS_MPDU_START
	.comm	_HTT_RX_RING_FLAGS_MPDU_END,4,2 ; @HTT_RX_RING_FLAGS_MPDU_END
	.comm	_HTT_RX_RING_FLAGS_MSDU_START,4,2 ; @HTT_RX_RING_FLAGS_MSDU_START
	.comm	_HTT_RX_RING_FLAGS_MSDU_END,4,2 ; @HTT_RX_RING_FLAGS_MSDU_END
	.comm	_HTT_RX_RING_FLAGS_RX_ATTENTION,4,2 ; @HTT_RX_RING_FLAGS_RX_ATTENTION
	.comm	_HTT_RX_RING_FLAGS_FRAG_INFO,4,2 ; @HTT_RX_RING_FLAGS_FRAG_INFO
	.comm	_HTT_RX_RING_FLAGS_UNICAST_RX,4,2 ; @HTT_RX_RING_FLAGS_UNICAST_RX
	.comm	_HTT_RX_RING_FLAGS_MULTICAST_RX,4,2 ; @HTT_RX_RING_FLAGS_MULTICAST_RX
	.comm	_HTT_RX_RING_FLAGS_CTRL_RX,4,2  ; @HTT_RX_RING_FLAGS_CTRL_RX
	.comm	_HTT_RX_RING_FLAGS_MGMT_RX,4,2  ; @HTT_RX_RING_FLAGS_MGMT_RX
	.comm	_HTT_RX_RING_FLAGS_NULL_RX,4,2  ; @HTT_RX_RING_FLAGS_NULL_RX
	.comm	_HTT_RX_RING_FLAGS_PHY_DATA_RX,4,2 ; @HTT_RX_RING_FLAGS_PHY_DATA_RX
	.no_dead_strip	_ath10k_htt_send_rx_ring_cfg_32
.subsections_via_symbols
