	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_set_coalesce
_mwifiex_cfg80211_set_coalesce:         ## @mwifiex_cfg80211_set_coalesce
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	callq	_mwifiex_cfg80211_get_adapter
	movq	%rax, %rbx
	movq	_MWIFIEX_BSS_ROLE_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mwifiex_get_priv
	movq	%rax, %r15
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	movl	%eax, -56(%rbp)
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	addq	%r14, %rsi
	movq	-48(%rbp), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	callq	_mwifiex_fill_coalesce_rule_info
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_7
LBB0_1:
	movq	_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_7:
	movq	_HostCmd_CMD_COALESCE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %r8
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	movl	%eax, %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, %r13d
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%ebx
	leaq	L_.str.1(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,4,2       ## @MWIFIEX_BSS_ROLE_STA
	.comm	_WARN,4,2                       ## @WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disable coalesce and reset all previous rules\n"

	.comm	_HostCmd_CMD_COALESCE_CFG,4,2   ## @HostCmd_CMD_COALESCE_CFG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Recheck the patterns provided for rule %d\n"

	.no_dead_strip	_mwifiex_cfg80211_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_set_coalesce
_mwifiex_cfg80211_set_coalesce:         ; @mwifiex_cfg80211_set_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	bl	_mwifiex_cfg80211_get_adapter
	mov	x20, x0
Lloh0:
	adrp	x8, _MWIFIEX_BSS_ROLE_STA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_STA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mwifiex_get_priv
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	str	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x24, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x24
	ldr	x8, [sp, #24]
	add	x2, x8, x24
	mov	x0, x19
	bl	_mwifiex_fill_coalesce_rule_info
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x24, x24, #4
	cmp	x23, x8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _WARN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WARN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mwifiex_dbg
LBB0_6:
Lloh8:
	adrp	x8, _HostCmd_CMD_COALESCE_CFG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HostCmd_CMD_COALESCE_CFG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x4, sp, #16
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_mwifiex_send_cmd
	mov	x22, x0
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	mov	x22, x0
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x8, x23, #1
	str	x8, [sp]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mwifiex_dbg
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,4,2       ; @MWIFIEX_BSS_ROLE_STA
	.comm	_WARN,4,2                       ; @WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disable coalesce and reset all previous rules\n"

	.comm	_HostCmd_CMD_COALESCE_CFG,4,2   ; @HostCmd_CMD_COALESCE_CFG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Recheck the patterns provided for rule %d\n"

	.no_dead_strip	_mwifiex_cfg80211_set_coalesce
.subsections_via_symbols
