	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_minidump_template ## -- Begin function qlcnic_83xx_get_minidump_template
	.p2align	4, 0x90
_qlcnic_83xx_get_minidump_template:     ## @qlcnic_83xx_get_minidump_template
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	(%rdi), %r12
	movq	8(%rdi), %r14
	callq	_qlcnic_83xx_get_fw_version
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	cmpq	%r12, %rax
	jle	LBB0_7
LBB0_2:
	callq	_vfree
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_md_check_extended_dump_capability
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_extend_md_capab
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
	jmp	LBB0_5
LBB0_3:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%rbx, %rdi
	callq	_qlcnic_fw_cmd_get_minidump_temp
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.8:
	movq	8(%r15), %rax
	movl	$31, (%rax)
	movl	$31, (%r15)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Supports FW dump capability\n"

L_.str.1:                               ## @.str.1
	.asciz	"Extended iSCSI dump capability and updated capture mask to 0x1f\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_minidump_template ; -- Begin function qlcnic_83xx_get_minidump_template
	.p2align	2
_qlcnic_83xx_get_minidump_template:     ; @qlcnic_83xx_get_minidump_template
	.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
	mov	x20, x0
	ldp	x19, x21, [x0, #8]
	ldr	x22, [x0]
	bl	_qlcnic_83xx_get_fw_version
	mov	x8, x0
	ldr	x0, [x21, #8]
	cmp	x0, #0
	ccmp	x8, x22, #0, ne
	b.le	LBB0_5
; %bb.1:
	bl	_vfree
	mov	x0, x20
	bl	_qlcnic_83xx_md_check_extended_dump_capability
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_qlcnic_83xx_extend_md_capab
	cmp	w0, #0
	cset	w22, eq
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	mov	x0, x20
	bl	_qlcnic_fw_cmd_get_minidump_temp
	cbz	w0, LBB0_6
LBB0_5:
	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
	ret
LBB0_6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	cbz	w22, LBB0_5
; %bb.7:
	ldr	x8, [x21, #8]
	mov	w9, #31
	str	w9, [x8]
	str	w9, [x21]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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_info
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Supports FW dump capability\n"

l_.str.1:                               ; @.str.1
	.asciz	"Extended iSCSI dump capability and updated capture mask to 0x1f\n"

.subsections_via_symbols
