	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_tx_rate_cfg
_mwifiex_cmd_tx_rate_cfg:               ## @mwifiex_cmd_tx_rate_cfg
	.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	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_HostCmd_CMD_TX_RATE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r13)
	movq	$0, 16(%r13)
	movq	_TLV_TYPE_RATE_SCOPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 120(%r13)
	movl	$44, %edi
	callq	_cpu_to_le16
	movq	%rax, 112(%r13)
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	movl	(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%r13)
	movl	4(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 96(%r13)
	movq	88(%r13), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15,%rbx,4), %edi
	callq	_cpu_to_le16
	movq	88(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	88(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_3
LBB0_4:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_MWIFIEX_FW_V15@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.5:
	movq	80(%r13), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%r15,%rbx,4), %edi
	callq	_cpu_to_le16
	movq	80(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	80(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_7
	jmp	LBB0_15
LBB0_8:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%r13)
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 96(%r13)
	movq	88(%r13), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	8(%rax,%rbx,4), %edi
	callq	_cpu_to_le16
	movq	88(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	88(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_10
LBB0_11:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_MWIFIEX_FW_V15@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movq	80(%r13), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	40(%rax,%rbx,4), %edi
	callq	_cpu_to_le16
	movq	80(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	80(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jb	LBB0_14
LBB0_15:
	movq	_TLV_TYPE_RATE_DROP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 288(%r13)
	movl	$8, %edi
	callq	_cpu_to_le16
	movq	%rax, 280(%r13)
	movq	$0, 272(%r13)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$88, %edi
	callq	_cpu_to_le16
	movq	%rax, (%r13)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_TX_RATE_CFG,4,2    ## @HostCmd_CMD_TX_RATE_CFG
	.comm	_TLV_TYPE_RATE_SCOPE,4,2        ## @TLV_TYPE_RATE_SCOPE
	.comm	_MWIFIEX_FW_V15,8,3             ## @MWIFIEX_FW_V15
	.comm	_TLV_TYPE_RATE_DROP_CONTROL,4,2 ## @TLV_TYPE_RATE_DROP_CONTROL
	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_tx_rate_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_tx_rate_cfg
_mwifiex_cmd_tx_rate_cfg:               ; @mwifiex_cmd_tx_rate_cfg
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _HostCmd_CMD_TX_RATE_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_TX_RATE_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
	mov	x0, x22
	bl	_cpu_to_le16
	stp	xzr, x0, [x19, #16]
Lloh3:
	adrp	x8, _TLV_TYPE_RATE_SCOPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLV_TYPE_RATE_SCOPE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #120]
	mov	w0, #44
	bl	_cpu_to_le16
	str	x0, [x19, #112]
	cbz	x21, LBB0_8
; %bb.1:
	ldr	w0, [x21]
	bl	_cpu_to_le16
	str	x0, [x19, #104]
	ldr	w0, [x21, #4]
	bl	_cpu_to_le16
	str	x0, [x19, #96]
	ldr	x0, [x19, #88]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, #0
	add	x23, x21, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, x22, lsl #2]
	bl	_cpu_to_le16
	ldr	x8, [x19, #88]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldr	x0, [x19, #88]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.lo	LBB0_3
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MWIFIEX_FW_V15@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MWIFIEX_FW_V15@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.5:
	ldr	x0, [x19, #80]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_15
; %bb.6:
	mov	x20, #0
	add	x21, x21, #40
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x20, lsl #2]
	bl	_cpu_to_le16
	ldr	x8, [x19, #80]
	str	x0, [x8, x20, lsl #3]
	add	x20, x20, #1
	ldr	x0, [x19, #80]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	b.lo	LBB0_7
	b	LBB0_15
LBB0_8:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #104]
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_cpu_to_le16
	str	x0, [x19, #96]
	ldr	x0, [x19, #88]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_11
; %bb.9:
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x21, lsl #2
	ldr	w0, [x8, #8]
	bl	_cpu_to_le16
	ldr	x8, [x19, #88]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	ldr	x0, [x19, #88]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_10
LBB0_11:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _MWIFIEX_FW_V15@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MWIFIEX_FW_V15@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.12:
	ldr	x0, [x19, #80]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_15
; %bb.13:
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x21, lsl #2
	ldr	w0, [x8, #40]
	bl	_cpu_to_le16
	ldr	x8, [x19, #80]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	ldr	x0, [x19, #80]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.lo	LBB0_14
LBB0_15:
Lloh12:
	adrp	x8, _TLV_TYPE_RATE_DROP_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TLV_TYPE_RATE_DROP_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #288]
	mov	w0, #8
	bl	_cpu_to_le16
	stp	xzr, x0, [x19, #272]
Lloh15:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w0, w8, #88
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_TX_RATE_CFG,4,2    ; @HostCmd_CMD_TX_RATE_CFG
	.comm	_TLV_TYPE_RATE_SCOPE,4,2        ; @TLV_TYPE_RATE_SCOPE
	.comm	_MWIFIEX_FW_V15,8,3             ; @MWIFIEX_FW_V15
	.comm	_TLV_TYPE_RATE_DROP_CONTROL,4,2 ; @TLV_TYPE_RATE_DROP_CONTROL
	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
	.no_dead_strip	_mwifiex_cmd_tx_rate_cfg
.subsections_via_symbols
