	.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, %r12
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %r13
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_20
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	_QLCNIC_CRB_DEV_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_QLCRD32
	movq	_QLCNIC_DEV_FAILED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_19
## %bb.18:
	xorl	%r15d, %r15d
	movq	_QLCNIC_DEV_BADBAD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_19:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_6
LBB0_20:
	cmpq	$0, 8(%r13)
	je	LBB0_3
## %bb.21:
	movq	_qlcnic_fw_dump_level@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_26
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	(%r15), %rdi
	cmpl	(%rdi,%rbx,4), %edx
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_24
LBB0_26:
	movl	(%r12), %edx
	leaq	L_.str.9(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_qlcnic_dev_request_reset
	movq	_QLCNIC_FW_RESET_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	jmp	LBB0_28
LBB0_2:
	cmpq	$0, 8(%r13)
	je	LBB0_3
## %bb.4:
	cmpl	$0, (%r13)
	je	LBB0_5
## %bb.7:
	cmpl	$0, 16(%r13)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_13:
	cmpq	$0, 8(%r13)
	je	LBB0_3
## %bb.14:
	xorl	%r15d, %r15d
	cmpl	$0, (%r13)
	jne	LBB0_28
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	$1, (%r13)
	jmp	LBB0_28
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_27:
	subl	(%rax), %r15d
	jmp	LBB0_28
LBB0_10:
	xorl	%r15d, %r15d
	cmpl	$0, (%r13)
	je	LBB0_28
## %bb.11:
	cmpq	$0, 8(%r13)
	je	LBB0_28
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	$0, (%r13)
	jmp	LBB0_28
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_28:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	8(%r13), %rax
	movl	%edx, (%rax)
	leaq	L_.str.8(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_28
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_qlcnic_dev_request_reset
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_13
	.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	_ENOTSUPP,4,2                   ## @ENOTSUPP
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	"Disabling FW dump\n"

L_.str.5:                               ## @.str.5
	.asciz	"Enabling FW dump\n"

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

	.comm	_QLCNIC_FW_RESET_OWNER,4,2      ## @QLCNIC_FW_RESET_OWNER
	.comm	_QLCNIC_CRB_DEV_STATE,4,2       ## @QLCNIC_CRB_DEV_STATE
	.comm	_QLCNIC_DEV_FAILED,4,2          ## @QLCNIC_DEV_FAILED
	.comm	_QLCNIC_DEV_BADBAD,4,2          ## @QLCNIC_DEV_BADBAD
L_.str.7:                               ## @.str.7
	.asciz	"Device in FAILED state\n"

	.comm	_qlcnic_fw_dump_level,8,3       ## @qlcnic_fw_dump_level
L_.str.8:                               ## @.str.8
	.asciz	"Driver mask changed to: 0x%x\n"

L_.str.9:                               ## @.str.9
	.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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x22, [x0, #8]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
	mov	x21, x0
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_CRB_DEV_STATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLCNIC_CRB_DEV_STATE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_QLCRD32
Lloh5:
	adrp	x8, _QLCNIC_DEV_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QLCNIC_DEV_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _QLCNIC_DEV_BADBAD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QLCNIC_DEV_BADBAD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_26
; %bb.3:
Lloh11:
	adrp	x1, l_.str.7@PAGE
Lloh12:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_25
LBB0_4:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_18
; %bb.5:
Lloh13:
	adrp	x21, _qlcnic_fw_dump_level@GOTPAGE
Lloh14:
	ldr	x21, [x21, _qlcnic_fw_dump_level@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	x0, [x21]
	ldr	w9, [x0, x23, lsl #2]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_7
LBB0_9:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.9@PAGE
Lloh16:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_10:
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	w1, [x20]
	mov	x0, x21
	bl	_qlcnic_dev_request_reset
	mov	w0, #0
Lloh21:
	adrp	x8, _QLCNIC_FW_RESET_OWNER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QLCNIC_FW_RESET_OWNER@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	b	LBB0_27
LBB0_11:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_18
; %bb.12:
	ldr	w8, [x22]
	cbz	w8, LBB0_23
; %bb.13:
	ldr	w8, [x22, #16]
	cbz	w8, LBB0_28
; %bb.14:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_15:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	w8, [x22]
	cbnz	w8, LBB0_26
; %bb.17:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	w0, #0
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_27
LBB0_18:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh30:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_27
LBB0_20:
	ldr	w8, [x22]
	cbz	w8, LBB0_26
; %bb.21:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_26
; %bb.22:
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	w0, #0
	str	wzr, [x22]
	b	LBB0_27
LBB0_23:
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_24:
	ldr	x9, [x22, #8]
	str	w8, [x9]
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_25:
	mov	x0, x19
	bl	_netdev_info
LBB0_26:
	mov	w0, #0
LBB0_27:
	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_28:
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	w1, [x20]
	mov	x0, x21
	bl	_qlcnic_dev_request_reset
	b	LBB0_26
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
                                        ; -- 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	"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	"Disabling FW dump\n"

l_.str.5:                               ; @.str.5
	.asciz	"Enabling FW dump\n"

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

	.comm	_QLCNIC_FW_RESET_OWNER,4,2      ; @QLCNIC_FW_RESET_OWNER
	.comm	_QLCNIC_CRB_DEV_STATE,4,2       ; @QLCNIC_CRB_DEV_STATE
	.comm	_QLCNIC_DEV_FAILED,4,2          ; @QLCNIC_DEV_FAILED
	.comm	_QLCNIC_DEV_BADBAD,4,2          ; @QLCNIC_DEV_BADBAD
l_.str.7:                               ; @.str.7
	.asciz	"Device in FAILED state\n"

	.comm	_qlcnic_fw_dump_level,8,3       ; @qlcnic_fw_dump_level
l_.str.8:                               ; @.str.8
	.asciz	"Driver mask changed to: 0x%x\n"

l_.str.9:                               ; @.str.9
	.asciz	"Invalid dump level: 0x%x\n"

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