	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_prepare_fw_dump_info   ## -- Begin function mwifiex_prepare_fw_dump_info
	.p2align	4, 0x90
_mwifiex_prepare_fw_dump_info:          ## @mwifiex_prepare_fw_dump_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	testq	%r15, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	24(%rdi), %rbx
	addq	$16, %rbx
	xorl	%r14d, %r14d
	movq	%r15, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rbx
	decq	%r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-8(%rbx), %rdi
	callq	_strlen
	movq	(%rbx), %rcx
	addq	%rax, %r14
	addq	%rcx, %r14
	addq	$55, %r14
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_6:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movslq	8(%r12), %rax
	leaq	(%r14,%rax), %rdi
	incq	%rdi
	movq	_MWIFIEX_FW_DUMP_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jle	LBB0_7
## %bb.8:
	callq	_vzalloc
	movq	%rax, %rbx
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	callq	_mwifiex_dbg
	movq	16(%r12), %rsi
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.9:
	movl	8(%r12), %edx
	movq	%rbx, %rdi
	callq	_memmove
	movq	16(%r12), %rdi
	callq	_vfree
	movq	%rbx, %rcx
	movq	%rbx, 16(%r12)
	movslq	8(%r12), %rax
	movq	(%r12), %r15
	testq	%r15, %r15
	jne	LBB0_12
LBB0_11:
	movl	%eax, 8(%r12)
	jmp	LBB0_19
LBB0_7:
	movq	16(%r12), %rcx
	testq	%r15, %r15
	je	LBB0_11
LBB0_12:
	addq	%rax, %rcx
	movl	$16, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	addq	$24, %r13
	cmpq	%r15, %r14
	jae	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rbx
	cmpq	$0, -16(%rbx,%r13)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, %r12
	movq	%rcx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	leaq	19(%r12), %rdi
	movq	-8(%rbx,%r13), %rsi
	callq	_strcpy
	movq	-8(%rbx,%r13), %rdi
	callq	_strlen
	movq	%rax, %r15
	leaq	(%r12,%rax), %rdi
	addq	$19, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	leaq	(%r12,%r15), %rdi
	addq	$28, %rdi
	movq	-16(%rbx,%r13), %rsi
	movq	(%rbx,%r13), %rdx
	callq	_memcpy
	movq	(%rbx,%r13), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r15,%rbx), %rdi
	addq	$9, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcpy
	leaq	(%r15,%rbx), %rcx
	addq	$35, %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %r15
	jmp	LBB0_15
LBB0_16:
	subl	16(%r12), %ecx
	movl	%ecx, 8(%r12)
	testq	%r15, %r15
	je	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %r15
	movq	(%r15,%rbx), %rdi
	callq	_vfree
	movq	$0, (%r15,%rbx)
	movq	$0, 16(%r15,%rbx)
	incq	%r14
	addq	$24, %rbx
	cmpq	(%r12), %r14
	jb	LBB0_18
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%rsi, %rdi
	callq	_vfree
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"========Start dump "

L_.str.1:                               ## @.str.1
	.asciz	"========\n"

L_.str.2:                               ## @.str.2
	.asciz	"\n========End dump========\n"

	.comm	_MWIFIEX_FW_DUMP_SIZE,8,3       ## @MWIFIEX_FW_DUMP_SIZE
	.comm	_MSG,4,2                        ## @MSG
L_.str.3:                               ## @.str.3
	.asciz	"Realloc device dump data.\n"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.4:                               ## @.str.4
	.asciz	"vzalloc devdump data failure!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_prepare_fw_dump_info   ; -- Begin function mwifiex_prepare_fw_dump_info
	.p2align	2
_mwifiex_prepare_fw_dump_info:          ; @mwifiex_prepare_fw_dump_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
	mov	x19, x0
	ldr	x24, [x0]
	cbz	x24, LBB0_5
; %bb.1:
	mov	x20, #0
	ldr	x8, [x19, #24]
	add	x21, x8, #8
	mov	x22, x24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #24
	subs	x22, x22, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	bl	_strlen
	ldr	x8, [x21, #8]
	add	x9, x20, x0
	add	x8, x9, x8
	add	x20, x8, #55
	b	LBB0_2
LBB0_5:
	mov	x20, #0
LBB0_6:
	ldrsw	x8, [x19, #8]
	add	x9, x20, x8
	add	x0, x9, #1
Lloh0:
	adrp	x9, _MWIFIEX_FW_DUMP_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MWIFIEX_FW_DUMP_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x0, x9
	b.le	LBB0_10
; %bb.7:
	bl	_vzalloc
	mov	x20, x0
Lloh3:
	adrp	x8, _MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	x1, [x19, #16]
	cbz	x20, LBB0_19
; %bb.8:
	ldr	w2, [x19, #8]
	mov	x0, x20
	bl	_memmove
	ldr	x0, [x19, #16]
	bl	_vfree
	str	x20, [x19, #16]
	ldrsw	x8, [x19, #8]
	ldr	x24, [x19]
	cbnz	x24, LBB0_11
LBB0_9:
	str	w8, [x19, #8]
	b	LBB0_18
LBB0_10:
	ldr	x20, [x19, #16]
	cbz	x24, LBB0_9
LBB0_11:
	mov	x25, #0
	mov	x26, #0
	add	x23, x20, x8
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
Lloh10:
	adrp	x21, l_.str.1@PAGE
Lloh11:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh12:
	adrp	x22, l_.str.2@PAGE
Lloh13:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	add	x25, x25, #24
	cmp	x26, x24
	b.hs	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #24]
	ldr	x8, [x27, x25]
	cbz	x8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_strcpy
	add	x23, x23, #19
	add	x24, x27, x25
	ldr	x1, [x24, #8]
	mov	x0, x23
	bl	_strcpy
	ldr	x0, [x24, #8]
	bl	_strlen
	add	x23, x23, x0
	mov	x0, x23
	mov	x1, x21
	bl	_strcpy
	add	x23, x23, #9
	ldr	x1, [x24]
	ldr	x2, [x24, #16]
	mov	x0, x23
	bl	_memcpy
	ldr	x8, [x24, #16]
	add	x23, x23, x8
	mov	x0, x23
	mov	x1, x22
	bl	_strcpy
	add	x23, x23, #26
	ldr	x24, [x19]
	b	LBB0_12
LBB0_15:
	ldr	w8, [x19, #16]
	sub	w8, w23, w8
	str	w8, [x19, #8]
	cbz	x24, LBB0_18
; %bb.16:
	mov	x20, #0
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x22, x8, x20
	ldr	x0, [x22]
	bl	_vfree
	str	xzr, [x22]
	str	xzr, [x22, #16]
	add	x21, x21, #1
	ldr	x8, [x19]
	add	x20, x20, #24
	cmp	x21, x8
	b.lo	LBB0_17
LBB0_18:
	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_19:
	mov	x0, x1
	bl	_vfree
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	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
	b	_mwifiex_dbg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"========Start dump "

l_.str.1:                               ; @.str.1
	.asciz	"========\n"

l_.str.2:                               ; @.str.2
	.asciz	"\n========End dump========\n"

	.comm	_MWIFIEX_FW_DUMP_SIZE,8,3       ; @MWIFIEX_FW_DUMP_SIZE
	.comm	_MSG,4,2                        ; @MSG
l_.str.3:                               ; @.str.3
	.asciz	"Realloc device dump data.\n"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.4:                               ; @.str.4
	.asciz	"vzalloc devdump data failure!\n"

.subsections_via_symbols
