	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mwifiex_update_mp_end_port
LCPI0_0:
	.space	4
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
LCPI0_1:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_3:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_5:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_6:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mwifiex_update_mp_end_port:            ## @mwifiex_update_mp_end_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	movq	(%rdi), %rax
	movq	24(%rax), %rdx
	movl	%esi, (%rax)
	movl	(%rdx), %r8d
	movl	%r8d, 4(%rax)
	movq	8(%rdx), %r10
	testq	%r10, %r10
	je	LBB0_14
## %bb.1:
	movl	8(%rax), %esi
	movl	%esi, %r11d
	subl	%ecx, %r11d
	jle	LBB0_14
## %bb.2:
	movl	$1, %r9d
	cmpl	$8, %r11d
	jb	LBB0_11
## %bb.3:
	movl	%r11d, %r9d
	andl	$-8, %r9d
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = <u,4294967295,4294967295,4294967295>
	pinsrd	$0, %r8d, %xmm7
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm12               ## xmm12 = xmm0[0,0,0,0]
	leal	-8(%r9), %edx
	movl	%edx, %r8d
	shrl	$3, %r8d
	incl	%r8d
	testl	%edx, %edx
	je	LBB0_4
## %bb.5:
	movl	%r8d, %edx
	andl	$-2, %edx
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [1,2,3,4]
	pcmpeqd	%xmm5, %xmm5
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [16,16,16,16]
	movdqa	%xmm7, %xmm3
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm12, %xmm1
	psubd	%xmm2, %xmm1
	movdqa	%xmm1, %xmm7
	psubd	%xmm8, %xmm7
	movdqa	%xmm1, %xmm6
	pslld	$23, %xmm6
	paddd	%xmm4, %xmm6
	cvttps2dq	%xmm6, %xmm6
	pslld	$23, %xmm7
	paddd	%xmm4, %xmm7
	cvttps2dq	%xmm7, %xmm0
	movdqa	%xmm1, %xmm7
	psubd	%xmm9, %xmm7
	psubd	%xmm10, %xmm1
	pslld	$23, %xmm7
	paddd	%xmm4, %xmm7
	cvttps2dq	%xmm7, %xmm7
	por	%xmm6, %xmm7
	pandn	%xmm3, %xmm7
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm6
	por	%xmm0, %xmm6
	pandn	%xmm5, %xmm6
	paddd	%xmm11, %xmm2
	movdqa	%xmm7, %xmm3
	movdqa	%xmm6, %xmm5
	addl	$-2, %edx
	jne	LBB0_6
## %bb.7:
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	psubd	%xmm2, %xmm12
	movdqa	%xmm12, %xmm0
	psubd	LCPI0_2(%rip), %xmm0
	pslld	$23, %xmm12
	movdqa	LCPI0_3(%rip), %xmm1            ## xmm1 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm1, %xmm12
	cvttps2dq	%xmm12, %xmm2
	pandn	%xmm7, %xmm2
	pslld	$23, %xmm0
	paddd	%xmm1, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pandn	%xmm6, %xmm0
	movdqa	%xmm2, %xmm7
	movdqa	%xmm0, %xmm6
LBB0_9:
	pand	%xmm6, %xmm7
	pshufd	$238, %xmm7, %xmm0              ## xmm0 = xmm7[2,3,2,3]
	pand	%xmm7, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pand	%xmm0, %xmm1
	movd	%xmm1, %r8d
	cmpl	%r9d, %r11d
	je	LBB0_13
## %bb.10:
	orl	$1, %r9d
LBB0_11:
	leal	-1(%rcx), %edx
	subl	%r9d, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	btrl	%esi, %r8d
	decl	%esi
	cmpl	%esi, %edx
	jne	LBB0_12
LBB0_13:
	movl	%r8d, 4(%rax)
LBB0_14:
	movq	%r10, 16(%rax)
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
LBB0_4:
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [1,2,3,4]
	pcmpeqd	%xmm6, %xmm6
	testb	$1, %r8b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD,4,2                        ## @CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd: mp_end_port %d, data port mask 0x%x\n"

	.no_dead_strip	_mwifiex_update_mp_end_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mwifiex_update_mp_end_port
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mwifiex_update_mp_end_port:            ; @mwifiex_update_mp_end_port
	.cfi_startproc
; %bb.0:
	mov	x3, x1
	ldr	x8, [x0]
	ldr	x9, [x8, #24]
	ldr	w4, [x9]
	stp	w1, w4, [x8]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_9
; %bb.1:
	ldr	w11, [x8, #8]
	subs	w12, w11, w3
	b.le	LBB0_9
; %bb.2:
	mov	w10, #1
	mov	w13, #1
	cmp	w12, #16
	b.lo	LBB0_6
; %bb.3:
	and	w14, w12, #0xfffffff0
	orr	w13, w14, #0x1
	movi.2d	v0, #0xffffffffffffffff
	movi.2d	v1, #0xffffffffffffffff
	mov.s	v1[0], w4
	dup.4s	v2, w11
	movi.4s	v3, #4
Lloh0:
	adrp	x15, lCPI0_0@PAGE
Lloh1:
	ldr	q4, [x15, lCPI0_0@PAGEOFF]
	movi.4s	v5, #8
	movi.4s	v6, #12
	movi.4s	v7, #1
	movi.4s	v16, #16
	mov	x15, x14
	movi.2d	v17, #0xffffffffffffffff
	movi.2d	v18, #0xffffffffffffffff
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub.4s	v19, v2, v4
	sub.4s	v20, v19, v3
	sub.4s	v21, v19, v5
	sub.4s	v22, v19, v6
	ushl.4s	v19, v7, v19
	ushl.4s	v20, v7, v20
	ushl.4s	v21, v7, v21
	ushl.4s	v22, v7, v22
	bic.16b	v1, v1, v19
	bic.16b	v0, v0, v20
	bic.16b	v17, v17, v21
	bic.16b	v18, v18, v22
	add.4s	v4, v4, v16
	subs	w15, w15, #16
	b.ne	LBB0_4
; %bb.5:
	and.16b	v0, v0, v1
	and.16b	v0, v17, v0
	and.16b	v0, v18, v0
	ext.16b	v1, v0, v0, #8
	and.8b	v0, v0, v1
	fmov	w15, s0
	mov.s	w16, v0[1]
	and	w4, w15, w16
	cmp	w12, w14
	b.eq	LBB0_8
LBB0_6:
	sub	w12, w3, #1
	sub	w11, w11, w13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w13, w10, w11
	bic	w4, w4, w13
	sub	w11, w11, #1
	cmp	w12, w11
	b.ne	LBB0_7
LBB0_8:
	str	w4, [x8, #4]
LBB0_9:
	str	x9, [x8, #16]
Lloh2:
	adrp	x8, _CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD@GOTPAGEOFF]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
Lloh6:
	ldr	w1, [x8]
	b	_mwifiex_dbg
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD,4,2                        ; @CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd: mp_end_port %d, data port mask 0x%x\n"

	.no_dead_strip	_mwifiex_update_mp_end_port
.subsections_via_symbols
