	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_get_dump_data
_qlcnic_get_dump_data:                  ## @qlcnic_get_dump_data
	.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, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	(%rax), %r12
	movq	40(%r12), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	cmpq	$0, 8(%r12)
	je	LBB0_4
## %bb.5:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$4, %rax
	jb	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	shrq	$2, %rax
	cmpq	$2, %rax
	movl	$1, %r15d
	cmovaeq	%rax, %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r13,4), %edi
	callq	_cpu_to_le32
	movl	%eax, (%rbx,%r13,4)
	incq	%r13
	cmpq	%r13, %r15
	jne	LBB0_7
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	%r14, %rbx
	movq	16(%r12), %rsi
	movq	32(%r12), %rdx
	movq	%rbx, %rdi
	callq	_memcpy
	addq	32(%r12), %r14
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, 8(%rcx)
	movl	24(%r12), %eax
	movl	%eax, (%rcx)
	movq	16(%r12), %rdi
	callq	_vfree
	xorps	%xmm0, %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	leaq	L_.str.2(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_info
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$40, %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	"FW Dump not supported\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Dump not available\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"extracted the FW dump Successfully\n"

	.no_dead_strip	_qlcnic_get_dump_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_get_dump_data
_qlcnic_get_dump_data:                  ; @qlcnic_get_dump_data
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x23, [x0]
	ldr	x25, [x23, #40]
	cbz	x25, LBB0_6
; %bb.1:
	mov	x22, x23
	ldr	x8, [x22, #8]!
	cbz	x8, LBB0_7
; %bb.2:
	ldrsw	x24, [x23]
	cmp	w24, #4
	b.lo	LBB0_5
; %bb.3:
	lsr	x8, x24, #2
	cmp	x8, #1
	csinc	x26, x8, xzr, hi
	mov	x27, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25], #4
	bl	_cpu_to_le32
	str	w0, [x27], #4
	subs	x26, x26, #1
	b.ne	LBB0_4
LBB0_5:
	add	x0, x21, x24
	ldr	x1, [x23, #16]
	ldr	x2, [x23, #32]
	bl	_memcpy
	ldr	x8, [x23, #32]
	add	x8, x8, x24
	str	x8, [x20, #8]
	ldr	w8, [x23, #24]
	str	w8, [x20]
	ldr	x0, [x23, #16]
	bl	_vfree
	stp	xzr, xzr, [x22]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh4:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW Dump not supported\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Dump not available\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"extracted the FW dump Successfully\n"

	.no_dead_strip	_qlcnic_get_dump_data
.subsections_via_symbols
