	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_fill_coalesce_rule_info
_mwifiex_fill_coalesce_rule_info:       ## @mwifiex_fill_coalesce_rule_info
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MWIFIEX_COALESCE_MAX_BYTESEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	24(%r13), %eax
	movl	%eax, 24(%r14)
	cmpl	$0, (%r13)
	jle	LBB0_13
## %bb.1:
	movq	16(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shll	$3, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 20(%rbx)
	movq	_MWIFIEX_COALESCE_MAX_BYTESEQ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi,%rax,8), %rdx
	movq	%rdx, 8(%rbx)
	movl	16(%rbx), %edi
	callq	_memcpy
	movq	16(%r13), %rax
	movq	(%rax,%r15), %rax
	movq	%rax, (%rbx)
	addq	$24, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	incl	8(%r14)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	addq	$8, %r15
	cmpq	%rax, %r12
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	16(%rbx), %rdi
	addq	%r15, %rdi
	movq	_MWIFIEX_COALESCE_MAX_BYTESEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_mwifiex_is_pattern_supported
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	cmpq	$0, (%rax,%r15)
	movq	%rbx, %r13
	je	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rcx
	movq	_RECV_FILTER_MATCH_TYPE_NE@GOTPCREL(%rip), %rax
	movq	_NL80211_COALESCE_CONDITION_MATCH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_RECV_FILTER_MATCH_TYPE_EQ@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mwifiex_get_coalesce_pkt_type
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r14)
	jmp	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	jne	LBB0_16
## %bb.14:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str(%rip), %rdx
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mwifiex_dbg
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_15
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_COALESCE_MAX_BYTESEQ,4,2 ## @MWIFIEX_COALESCE_MAX_BYTESEQ
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pattern not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Multiple packet types not allowed\n"

	.comm	_NL80211_COALESCE_CONDITION_MATCH,8,3 ## @NL80211_COALESCE_CONDITION_MATCH
	.comm	_RECV_FILTER_MATCH_TYPE_EQ,4,2  ## @RECV_FILTER_MATCH_TYPE_EQ
	.comm	_RECV_FILTER_MATCH_TYPE_NE,4,2  ## @RECV_FILTER_MATCH_TYPE_NE
L_.str.2:                               ## @.str.2
	.asciz	"Packet type can not be determined\n"

	.no_dead_strip	_mwifiex_fill_coalesce_rule_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_fill_coalesce_rule_info
_mwifiex_fill_coalesce_rule_info:       ; @mwifiex_fill_coalesce_rule_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _MWIFIEX_COALESCE_MAX_BYTESEQ@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MWIFIEX_COALESCE_MAX_BYTESEQ@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w12, w8, #1
	lsl	x8, x12, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w8, [x1, #24]
	str	w8, [x2, #24]
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x26, #0
	mov	x27, #0
	ldr	x28, [x20, #16]
	lsl	w24, w12, #3
Lloh7:
	adrp	x23, _RECV_FILTER_MATCH_TYPE_EQ@GOTPAGE
Lloh8:
	ldr	x23, [x23, _RECV_FILTER_MATCH_TYPE_EQ@GOTPAGEOFF]
Lloh9:
	adrp	x19, _RECV_FILTER_MATCH_TYPE_NE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _RECV_FILTER_MATCH_TYPE_NE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
Lloh11:
	adrp	x9, _NL80211_COALESCE_CONDITION_MATCH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_COALESCE_CONDITION_MATCH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x23, x19, eq
	ldr	w8, [x8]
	str	w8, [x28, #20]
	ldrsw	x8, [x25]
	ldr	x2, [x22, x8, lsl #3]
	str	x2, [x28, #8]
	ldr	w0, [x28, #16]
	mov	x1, x22
	bl	_memcpy
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	str	x8, [x28], #24
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x21]
	add	x26, x26, #8
	cmp	x27, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	ldr	x8, [x21, #16]
	add	x0, x8, x26
	ldr	w2, [x25]
	mov	x1, x22
	bl	_mwifiex_is_pattern_supported
	cbz	w0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	cbnz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_mwifiex_get_coalesce_pkt_type
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cbnz	x8, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x20]
	b	LBB0_3
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_mwifiex_dbg
Lloh23:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_COALESCE_MAX_BYTESEQ,4,2 ; @MWIFIEX_COALESCE_MAX_BYTESEQ
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pattern not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Multiple packet types not allowed\n"

	.comm	_NL80211_COALESCE_CONDITION_MATCH,8,3 ; @NL80211_COALESCE_CONDITION_MATCH
	.comm	_RECV_FILTER_MATCH_TYPE_EQ,4,2  ; @RECV_FILTER_MATCH_TYPE_EQ
	.comm	_RECV_FILTER_MATCH_TYPE_NE,4,2  ; @RECV_FILTER_MATCH_TYPE_NE
l_.str.2:                               ; @.str.2
	.asciz	"Packet type can not be determined\n"

	.no_dead_strip	_mwifiex_fill_coalesce_rule_info
.subsections_via_symbols
