	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_extend_md_capab    ## -- Begin function qlcnic_83xx_extend_md_capab
	.p2align	4, 0x90
_qlcnic_83xx_extend_md_capab:           ## @qlcnic_83xx_extend_md_capab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_QLCNIC_83XX_ADD_PORT0@GOTPCREL(%rip), %rax
	movq	_QLCNIC_83XX_ADD_PORT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	_QLCNIC_83XX_EXTENDED_MEM_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	%ecx, 12(%rax)
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qlcnic_issue_cmd
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP,4,2 ## @QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP
	.comm	_QLCNIC_83XX_ADD_PORT0,4,2      ## @QLCNIC_83XX_ADD_PORT0
	.comm	_QLCNIC_83XX_ADD_PORT1,4,2      ## @QLCNIC_83XX_ADD_PORT1
	.comm	_QLCNIC_83XX_EXTENDED_MEM_SIZE,8,3 ## @QLCNIC_83XX_EXTENDED_MEM_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to issue extend iSCSI minidump capability\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_extend_md_capab    ; -- Begin function qlcnic_83xx_extend_md_capab
	.p2align	2
_qlcnic_83xx_extend_md_capab:           ; @qlcnic_83xx_extend_md_capab
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_qlcnic_alloc_mbx_args
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _QLCNIC_83XX_ADD_PORT0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_83XX_ADD_PORT0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _QLCNIC_83XX_ADD_PORT1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLCNIC_83XX_ADD_PORT1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [sp, #8]
Lloh9:
	adrp	x10, _QLCNIC_83XX_EXTENDED_MEM_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QLCNIC_83XX_EXTENDED_MEM_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w8, w10, [x9, #4]
	str	w10, [x9, #12]
	add	x1, sp, #8
	mov	x0, x19
	bl	_qlcnic_issue_cmd
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP,4,2 ; @QLCNIC_CMD_83XX_EXTEND_ISCSI_DUMP_CAP
	.comm	_QLCNIC_83XX_ADD_PORT0,4,2      ; @QLCNIC_83XX_ADD_PORT0
	.comm	_QLCNIC_83XX_ADD_PORT1,4,2      ; @QLCNIC_83XX_ADD_PORT1
	.comm	_QLCNIC_83XX_EXTENDED_MEM_SIZE,8,3 ; @QLCNIC_83XX_EXTENDED_MEM_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to issue extend iSCSI minidump capability\n"

.subsections_via_symbols
