	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_h2t_aggr_cfg_msg_v2
_ath10k_htt_h2t_aggr_cfg_msg_v2:        ## @ath10k_htt_h2t_aggr_cfg_msg_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	%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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	cmpl	$65, %esi
	jge	LBB0_2
## %bb.4:
	movl	%edx, %r15d
	testl	%edx, %edx
	je	LBB0_2
## %bb.5:
	cmpl	$32, %r15d
	jge	LBB0_2
## %bb.6:
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_ath10k_htc_alloc_skb
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$12, %esi
	callq	_skb_put
	movq	(%r12), %rax
	movq	_HTT_H2T_MSG_TYPE_AGGR_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	%ebx, (%rax)
	movl	%r15d, 4(%rax)
	movq	_ATH10K_DBG_HTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_ath10k_dbg
	movq	8(%r14), %rdi
	movl	(%r14), %esi
	movq	%r12, %rdx
	callq	_ath10k_htc_send
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_11
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_AGGR_CFG,4,2  ## @HTT_H2T_MSG_TYPE_AGGR_CFG
	.comm	_ATH10K_DBG_HTT,4,2             ## @ATH10K_DBG_HTT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"htt h2t aggr cfg msg amsdu %d ampdu %d"

	.no_dead_strip	_ath10k_htt_h2t_aggr_cfg_msg_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_h2t_aggr_cfg_msg_v2
_ath10k_htt_h2t_aggr_cfg_msg_v2:        ; @ath10k_htt_h2t_aggr_cfg_msg_v2
	.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
	cbz	w1, LBB0_7
; %bb.1:
	mov	x20, x1
	cmp	w1, #65
	b.ge	LBB0_7
; %bb.2:
	mov	x21, x2
	cbz	w2, LBB0_7
; %bb.3:
	cmp	w21, #32
	b.ge	LBB0_7
; %bb.4:
	mov	x19, x0
	ldr	x23, [x0, #8]
	mov	x0, x23
	mov	w1, #12
	bl	_ath10k_htc_alloc_skb
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	mov	w1, #12
	bl	_skb_put
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _HTT_H2T_MSG_TYPE_AGGR_CFG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HTT_H2T_MSG_TYPE_AGGR_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w21, w9, [x8, #4]
	str	w20, [x8]
Lloh3:
	adrp	x8, _ATH10K_DBG_HTT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_HTT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x3, x21
	mov	x4, x20
	bl	_ath10k_dbg
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
	mov	x2, x22
	bl	_ath10k_htc_send
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x22
	bl	_dev_kfree_skb_any
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_9:
	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
LBB0_10:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HTT_H2T_MSG_TYPE_AGGR_CFG,4,2  ; @HTT_H2T_MSG_TYPE_AGGR_CFG
	.comm	_ATH10K_DBG_HTT,4,2             ; @ATH10K_DBG_HTT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"htt h2t aggr cfg msg amsdu %d ampdu %d"

	.no_dead_strip	_ath10k_htt_h2t_aggr_cfg_msg_v2
.subsections_via_symbols
