	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_bt_coex_wlan_param_update_event ## -- Begin function mwifiex_bt_coex_wlan_param_update_event
	.p2align	4, 0x90
_mwifiex_bt_coex_wlan_param_update_event: ## @mwifiex_bt_coex_wlan_param_update_event
	.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	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r12d
	addl	$-4, %r12d
	cmpl	$8, %r12d
	jb	LBB0_8
## %bb.1:
	movq	8(%rsi), %r13
	addq	$16, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 24(%r14)
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r14)
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 32(%r14)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	subl	%ebx, %r12d
	leaq	(%r13,%rbx,4), %r13
	cmpl	$7, %r12d
	jbe	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r14
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, %r15
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movslq	%r15d, %rbx
	addq	$8, %rbx
	cmpq	%r14, %rbx
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 8(%r14)
	movl	4(%r13), %eax
	movl	%eax, 4(%r14)
	movl	(%r13), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_mwifiex_coex_ampdu_rxwinsize
	movq	%r14, %rdi
	callq	_mwifiex_update_ampdu_txwinsize
	jmp	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	28(%rsi), %edi
	movl	24(%rsi), %edx
	movq	16(%rsi), %rcx
	movl	8(%rsi), %r8d
	movl	(%rsi), %eax
	movl	4(%rsi), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"coex_scan=%d min_scan=%d coex_win=%d, tx_win=%d rx_win=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_bt_coex_wlan_param_update_event ; -- Begin function mwifiex_bt_coex_wlan_param_update_event
	.p2align	2
_mwifiex_bt_coex_wlan_param_update_event: ; @mwifiex_bt_coex_wlan_param_update_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x0]
	ldr	w8, [x1]
	sub	w21, w8, #4
	cmp	w21, #8
	b.lo	LBB0_8
; %bb.1:
	ldr	x8, [x1, #8]
	add	x22, x8, #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w0, w8, [x22, #4]
	str	w8, [x19, #24]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [x22]
	bl	_le16_to_cpu
	str	x0, [x19, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w21, w21, w20
	add	x22, x22, x20, lsl #2
	cmp	w21, #7
	b.ls	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]
	bl	_le16_to_cpu
	mov	x20, x0
	ldr	w0, [x22]
	bl	_le16_to_cpu
	sxtw	x8, w20
	add	x20, x8, #8
	cmp	x20, w21, sxtw
	b.hi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #128
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #129
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #8]
	str	w8, [x19, #8]
	ldr	d0, [x22]
	str	d0, [x19]
	mov	x0, x19
	bl	_mwifiex_coex_ampdu_rxwinsize
	mov	x0, x19
	bl	_mwifiex_update_ampdu_txwinsize
	b	LBB0_3
LBB0_8:
	ldp	w2, w0, [x19, #24]
	ldr	x3, [x19, #16]
	ldp	w5, w4, [x19, #4]
	ldr	w6, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coex_scan=%d min_scan=%d coex_win=%d, tx_win=%d rx_win=%d\n"

.subsections_via_symbols
