	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_dump
_qlcnic_set_dump:                       ## @qlcnic_set_dump
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %rbx
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_18
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	___QLCNIC_MAINTENANCE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	leaq	L_.str.5(%rip), %rsi
LBB0_8:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_26
LBB0_18:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.19:
	movq	_qlcnic_fw_dump_level@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_24
## %bb.20:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	(%r15), %rdi
	cmpl	(%rdi,%rbx,4), %esi
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_22 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_22
LBB0_24:
	movl	(%r13), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_qlcnic_dev_request_reset
	movq	_QLCNIC_FW_RESET_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r12)
	jmp	LBB0_26
LBB0_2:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_qlcnic_check_fw_dump_state
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_12:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.13:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_enable_fw_dump_state    ## TAILCALL
LBB0_10:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.11:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_disable_fw_dump_state   ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_25:
	subl	(%rax), %r15d
	jmp	LBB0_26
LBB0_16:
	xorl	%r15d, %r15d
LBB0_26:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_23:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_set_dump_mask           ## TAILCALL
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_qlcnic_dev_request_reset
	jmp	LBB0_26
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FW dump not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"FW dump not enabled\n"

L_.str.2:                               ## @.str.2
	.asciz	"Previous dump not cleared, not forcing dump\n"

L_.str.3:                               ## @.str.3
	.asciz	"Forcing a FW dump\n"

L_.str.4:                               ## @.str.4
	.asciz	"Forcing a FW reset\n"

	.comm	_QLCNIC_FW_RESET_OWNER,4,2      ## @QLCNIC_FW_RESET_OWNER
	.comm	___QLCNIC_MAINTENANCE_MODE,4,2  ## @__QLCNIC_MAINTENANCE_MODE
L_.str.5:                               ## @.str.5
	.asciz	"Device is in non-operational state\n"

	.comm	_qlcnic_fw_dump_level,8,3       ## @qlcnic_fw_dump_level
L_.str.6:                               ## @.str.6
	.asciz	"Invalid dump level: 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qlcnic_set_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_dump
_qlcnic_set_dump:                       ; @qlcnic_set_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, ___QLCNIC_MAINTENANCE_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___QLCNIC_MAINTENANCE_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_23
; %bb.3:
Lloh5:
	adrp	x1, l_.str.5@PAGE
Lloh6:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_netdev_info
	mov	w0, #0
	b	LBB0_23
LBB0_5:
	ldr	w8, [x22]
	cbz	w8, LBB0_20
; %bb.6:
Lloh7:
	adrp	x22, _qlcnic_fw_dump_level@GOTPAGE
Lloh8:
	ldr	x22, [x22, _qlcnic_fw_dump_level@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldr	x0, [x22]
	ldr	w8, [x0, x23, lsl #2]
	cmp	w1, w8
	b.eq	LBB0_25
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_8
LBB0_10:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.6@PAGE
Lloh10:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_22
LBB0_11:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	w1, [x21]
	mov	x0, x20
	bl	_qlcnic_dev_request_reset
	mov	w0, #0
Lloh15:
	adrp	x8, _QLCNIC_FW_RESET_OWNER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QLCNIC_FW_RESET_OWNER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	bic	w8, w9, w8
	str	w8, [x20, #4]
	b	LBB0_23
LBB0_12:
	ldr	w8, [x22]
	cbz	w8, LBB0_20
; %bb.13:
	mov	x0, x20
	bl	_qlcnic_check_fw_dump_state
	cbz	w0, LBB0_24
; %bb.14:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_26
; %bb.15:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_16:
	ldr	w8, [x22]
	cbz	w8, LBB0_20
; %bb.17:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_qlcnic_enable_fw_dump_state
LBB0_18:
	ldr	w8, [x22]
	cbz	w8, LBB0_20
; %bb.19:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_qlcnic_disable_fw_dump_state
LBB0_20:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_21:
Lloh22:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	b	LBB0_21
LBB0_25:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_qlcnic_set_dump_mask
LBB0_26:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	w1, [x21]
	mov	x0, x20
	bl	_qlcnic_dev_request_reset
	mov	w0, #0
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW dump not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"FW dump not enabled\n"

l_.str.2:                               ; @.str.2
	.asciz	"Previous dump not cleared, not forcing dump\n"

l_.str.3:                               ; @.str.3
	.asciz	"Forcing a FW dump\n"

l_.str.4:                               ; @.str.4
	.asciz	"Forcing a FW reset\n"

	.comm	_QLCNIC_FW_RESET_OWNER,4,2      ; @QLCNIC_FW_RESET_OWNER
	.comm	___QLCNIC_MAINTENANCE_MODE,4,2  ; @__QLCNIC_MAINTENANCE_MODE
l_.str.5:                               ; @.str.5
	.asciz	"Device is in non-operational state\n"

	.comm	_qlcnic_fw_dump_level,8,3       ; @qlcnic_fw_dump_level
l_.str.6:                               ; @.str.6
	.asciz	"Invalid dump level: 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qlcnic_set_dump
.subsections_via_symbols
