	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_dump_fw                 ## -- Begin function qlcnic_dump_fw
	.p2align	4, 0x90
_qlcnic_dump_fw:                        ## @qlcnic_dump_fw
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rcx
	movq	24(%rdi), %r14
	leaq	-112(%rbp), %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	32(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r13
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	callq	_qlcnic_check_fw_dump_state
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	-144(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, 8(%rax)
	je	LBB0_6
## %bb.3:
	movq	24(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	24(%r13), %rdi
	leaq	L_.str(%rip), %rsi
LBB0_5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_info
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	movq	(%r13), %rdx
	movq	16(%r13), %rdi
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	callq	_netif_info
	movq	_QLCNIC_DUMP_MASK_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testb	$2, %al
	je	LBB0_15
## %bb.7:
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$2, %ebx
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	addl	%ebx, %ebx
	incl	%r15d
	testl	%ebx, %eax
	je	LBB0_11
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, 12(%rcx)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_qlcnic_get_cap_size
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	addl	%eax, %r12d
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_11:
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.12:
	movl	%r12d, %edi
	callq	_vzalloc
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	%r12d, 16(%r15)
	movl	20(%r15), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movl	24(%r15), %ebx
	movq	_QLCNIC_DRIVER_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-176(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_qlcnic_set_sys_info
	movl	8(%r13), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_qlcnic_set_sys_info
	movq	%r13, %rdi
	callq	_qlcnic_82xx_check
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:
	movq	_qlcnic_fw_dump_ops@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	jmp	LBB0_22
LBB0_15:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	subl	(%rax), %ebx
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.19:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_21:
	movq	_qlcnic_83xx_fw_dump_ops@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	8(%r12), %rdx
	movl	(%rcx,%rax,4), %ecx
	movq	_QLC_83XX_OCM_INDEX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%ecx, (%rdx,%rsi,4)
	movq	_QLC_83XX_PCI_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rdx,%rcx,4)
LBB0_22:
	movq	%r15, %rsi
	cmpl	$0, -148(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_37
## %bb.23:
	movl	-132(%rbp), %r15d               ## 4-byte Reload
	xorl	%eax, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%r12), %rdx
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	-144(%rbp), %rsi                ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	_QLCNIC_DUMP_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r12)
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	addl	4(%r12), %ebx
	incl	%r14d
	cmpl	-148(%rbp), %r14d               ## 4-byte Folded Reload
	je	LBB0_37
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	movslq	%ebx, %rax
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax), %r12
	movl	12(%rsi), %ecx
	testl	%ecx, (%rdx,%rax)
	je	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$0, -132(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%r12), %rcx
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	(%rdx), %rcx
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	incq	%rax
	addq	$16, %rdx
	cmpq	%rax, %r15
	jne	LBB0_30
	jmp	LBB0_24
LBB0_32:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%eax, %eax
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=1
	cmpl	-132(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_24
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	%eax, %ecx
	shlq	$4, %rcx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	movq	-160(%rbp), %rax                ## 8-byte Reload
	callq	*8(%rax,%rcx)
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_qlcnic_valid_dump_entry
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_27 Depth=1
	movslq	16(%r12), %rax
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movq	%rcx, %rax
	shlq	$2, %rax
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	addq	48(%rsi), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	jmp	LBB0_26
LBB0_36:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	_QLCNIC_DUMP_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r12)
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_26
LBB0_37:
	movl	$1, 8(%rsi)
	movq	(%r13), %rax
	movq	(%rax), %rcx
	leaq	L_.str.4(%rip), %rdx
	movq	%rsi, %rbx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	callq	_snprintf
	movq	(%r13), %rdi
	movl	16(%rbx), %edx
	movq	48(%rbx), %rcx
	movl	40(%rbx), %r8d
	movq	32(%rbx), %r9
	leaq	L_.str.5(%rip), %rsi
	callq	_netdev_info
	movq	_KOBJ_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-128(%rbp), %rdx
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	callq	_kobject_uevent_env
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dump not enabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"Previous dump not cleared, not capturing dump\n"

	.comm	_drv,4,2                        ## @drv
L_.str.2:                               ## @.str.2
	.asciz	"Take FW dump\n"

	.comm	_QLCNIC_DUMP_MASK_MAX,4,2       ## @QLCNIC_DUMP_MASK_MAX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QLCNIC_DRIVER_VERSION,4,2      ## @QLCNIC_DRIVER_VERSION
	.comm	_qlcnic_fw_dump_ops,8,3         ## @qlcnic_fw_dump_ops
	.comm	_qlcnic_83xx_fw_dump_ops,8,3    ## @qlcnic_83xx_fw_dump_ops
	.comm	_QLC_83XX_OCM_INDEX,8,3         ## @QLC_83XX_OCM_INDEX
	.comm	_QLC_83XX_PCI_INDEX,8,3         ## @QLC_83XX_PCI_INDEX
	.comm	_QLCNIC_DUMP_SKIP,4,2           ## @QLCNIC_DUMP_SKIP
L_.str.3:                               ## @.str.3
	.asciz	"Skipping unknown entry opcode %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"FW_DUMP=%s"

L_.str.5:                               ## @.str.5
	.asciz	"Dump data %d bytes captured, dump data address = %p, template header size %d bytes, template address = %p\n"

	.comm	_KOBJ_CHANGE,4,2                ## @KOBJ_CHANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_dump_fw                 ; -- Begin function qlcnic_dump_fw
	.p2align	2
_qlcnic_dump_fw:                        ; @qlcnic_dump_fw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x26, x19, [x0, #16]
	add	x8, sp, #56
	stp	x8, xzr, [sp, #40]
	ldr	x21, [x26, #32]
	cbz	x21, LBB0_14
; %bb.1:
	mov	x20, x0
	bl	_qlcnic_check_fw_dump_state
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x26, #8]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x0, [x20, #24]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	b	LBB0_14
LBB0_4:
	ldr	x0, [x20, #24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	b	LBB0_14
LBB0_5:
	ldr	x0, [x20, #16]
Lloh7:
	adrp	x8, _drv@GOTPAGE
Lloh8:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	x2, [x20]
Lloh10:
	adrp	x3, l_.str.2@PAGE
Lloh11:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_netif_info
Lloh12:
	adrp	x24, _QLCNIC_DUMP_MASK_MAX@GOTPAGE
Lloh13:
	ldr	x24, [x24, _QLCNIC_DUMP_MASK_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	tbz	w8, #1, LBB0_14
; %bb.6:
	mov	w23, #0
	mov	w22, #1
	mov	w25, #2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	lsl	w25, w25, #1
	add	w22, w22, #1
	tst	w8, w25
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26, #12]
	tst	w9, w25
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_qlcnic_get_cap_size
	add	w23, w23, w0
	ldr	w8, [x24]
	b	LBB0_7
LBB0_10:
	cbz	w23, LBB0_14
; %bb.11:
	mov	x0, x23
	bl	_vzalloc
	str	x0, [x26, #48]
	cbz	x0, LBB0_18
; %bb.12:
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	str	w23, [x26, #16]
	ldp	w27, w28, [x26, #20]
Lloh14:
	adrp	x8, _QLCNIC_DRIVER_VERSION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QLCNIC_DRIVER_VERSION@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_qlcnic_set_sys_info
	ldr	w3, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_qlcnic_set_sys_info
	mov	x0, x20
	bl	_qlcnic_82xx_check
	cbz	x0, LBB0_19
; %bb.13:
Lloh17:
	adrp	x22, _qlcnic_fw_dump_ops@GOTPAGE
Lloh18:
	ldr	x22, [x22, _qlcnic_fw_dump_ops@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x23, x0
	ldr	x8, [x22]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_20
LBB0_14:
Lloh19:
	adrp	x8, _EIO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.17:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_18:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_19:
Lloh26:
	adrp	x22, _qlcnic_83xx_fw_dump_ops@GOTPAGE
Lloh27:
	ldr	x22, [x22, _qlcnic_83xx_fw_dump_ops@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x23, x0
	ldr	x8, [x26]
	ldp	x9, x10, [x21]
	ldr	w9, [x9, x8, lsl #2]
	ldr	x11, [x22]
	str	x11, [sp, #32]                  ; 8-byte Folded Spill
Lloh28:
	adrp	x11, _QLC_83XX_OCM_INDEX@GOTPAGE
Lloh29:
	ldr	x11, [x11, _QLC_83XX_OCM_INDEX@GOTPAGEOFF]
Lloh30:
	ldr	x11, [x11]
	str	w9, [x10, x11, lsl #2]
Lloh31:
	adrp	x9, _QLC_83XX_PCI_INDEX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _QLC_83XX_PCI_INDEX@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	str	w8, [x10, x9, lsl #2]
LBB0_20:
	cmp	w27, #1
	b.lt	LBB0_34
; %bb.21:
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	mov	w22, #0
	mov	w24, w23
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x25, #8]
	str	x8, [sp]
	mov	x0, x19
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
Lloh36:
	adrp	x8, _QLCNIC_DUMP_SKIP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QLCNIC_DUMP_SKIP@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [x25, #20]
	orr	w8, w9, w8
	str	w8, [x25, #20]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x25, #4]
	add	w28, w8, w28
	add	w22, w22, #1
	cmp	w22, w27
	b.eq	LBB0_34
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	add	x25, x21, w28, sxtw
	ldr	w8, [x25]
	ldr	w9, [x26, #12]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w23, #1
	b.lt	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x8, #0
	ldr	x9, [x25, #8]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
LBB0_28:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10]
	cmp	x9, x11
	b.eq	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	add	x8, x8, #1
	add	x10, x10, #16
	cmp	x24, x8
	b.ne	LBB0_28
	b	LBB0_22
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #0
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	cmp	w8, w23
	b.eq	LBB0_22
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=1
	ldp	x2, x9, [sp, #24]               ; 16-byte Folded Reload
	add	x8, x9, w8, uxtw #4
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x25
	blr	x8
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	bl	_qlcnic_valid_dump_entry
	cbz	w0, LBB0_23
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x25, #16]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	w9, w8, w9
	ldr	x8, [x26, #48]
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	add	x8, x8, w9, sxtw #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_24
LBB0_34:
	mov	w8, #1
	str	w8, [x26, #8]
	ldr	x8, [x20]
	ldr	x3, [x8]
Lloh39:
	adrp	x2, l_.str.4@PAGE
Lloh40:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #56
	mov	w1, #64
	bl	_snprintf
	ldr	x0, [x20]
	ldr	w2, [x26, #16]
	ldr	x3, [x26, #48]
	ldr	w4, [x26, #40]
	ldr	x5, [x26, #32]
Lloh41:
	adrp	x1, l_.str.5@PAGE
Lloh42:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_netdev_info
Lloh43:
	adrp	x8, _KOBJ_CHANGE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x19
	bl	_kobject_uevent_env
	mov	w0, #0
	b	LBB0_16
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dump not enabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"Previous dump not cleared, not capturing dump\n"

	.comm	_drv,4,2                        ; @drv
l_.str.2:                               ; @.str.2
	.asciz	"Take FW dump\n"

	.comm	_QLCNIC_DUMP_MASK_MAX,4,2       ; @QLCNIC_DUMP_MASK_MAX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QLCNIC_DRIVER_VERSION,4,2      ; @QLCNIC_DRIVER_VERSION
	.comm	_qlcnic_fw_dump_ops,8,3         ; @qlcnic_fw_dump_ops
	.comm	_qlcnic_83xx_fw_dump_ops,8,3    ; @qlcnic_83xx_fw_dump_ops
	.comm	_QLC_83XX_OCM_INDEX,8,3         ; @QLC_83XX_OCM_INDEX
	.comm	_QLC_83XX_PCI_INDEX,8,3         ; @QLC_83XX_PCI_INDEX
	.comm	_QLCNIC_DUMP_SKIP,4,2           ; @QLCNIC_DUMP_SKIP
l_.str.3:                               ; @.str.3
	.asciz	"Skipping unknown entry opcode %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"FW_DUMP=%s"

l_.str.5:                               ; @.str.5
	.asciz	"Dump data %d bytes captured, dump data address = %p, template header size %d bytes, template address = %p\n"

	.comm	_KOBJ_CHANGE,4,2                ; @KOBJ_CHANGE
.subsections_via_symbols
