	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_set_dump
_qede_set_dump:                         ## @qede_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movl	16(%rax), %esi
	movq	_QEDE_DUMP_CMD_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %edx
	movq	_QEDE_DUMP_CMD_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jle	LBB0_10
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	jmp	LBB0_3
LBB0_4:
	movq	24(%rax), %rdx
	movq	_QEDE_DUMP_MAX_ARGS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_3:
	callq	_DP_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_11
LBB0_10:
	movl	%edx, 16(%rax)
	movq	$0, 24(%rax)
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_6:
	cmpl	$129, %esi
	je	LBB0_9
## %bb.7:
	xorl	%ecx, %ecx
	cmpl	$128, %esi
	jne	LBB0_11
## %bb.8:
	movl	(%rbx), %esi
	movq	32(%rax), %rdi
	movl	%esi, (%rdi,%rdx,4)
	incq	%rdx
	movq	%rdx, 24(%rax)
LBB0_11:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDE_DUMP_CMD_NONE,4,2         ## @QEDE_DUMP_CMD_NONE
	.comm	_QEDE_DUMP_CMD_MAX,4,2          ## @QEDE_DUMP_CMD_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid command %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QEDE_DUMP_MAX_ARGS,8,3         ## @QEDE_DUMP_MAX_ARGS
L_.str.1:                               ## @.str.1
	.asciz	"Arg count = %d\n"

	.no_dead_strip	_qede_set_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_set_dump
_qede_set_dump:                         ; @qede_set_dump
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _QEDE_DUMP_CMD_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QEDE_DUMP_CMD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	ldr	w2, [x19]
Lloh3:
	adrp	x8, _QEDE_DUMP_CMD_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QEDE_DUMP_CMD_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w2, w8
	b.le	LBB0_6
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	x2, [x0, #24]
Lloh8:
	adrp	x9, _QEDE_DUMP_MAX_ARGS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QEDE_DUMP_MAX_ARGS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x2, x9
	b.ne	LBB0_7
; %bb.4:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
LBB0_5:
	bl	_DP_ERR
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_12
LBB0_6:
	mov	w8, #0
	str	w2, [x0, #16]
	str	xzr, [x0, #24]
	b	LBB0_12
LBB0_7:
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.9:
	mov	w8, #0
	ldr	w9, [x19]
	ldr	x10, [x0, #32]
	str	w9, [x10, x2, lsl #2]
	add	x9, x2, #1
	str	x9, [x0, #24]
	b	LBB0_12
LBB0_10:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x3, [x8]
	ldr	w0, [x0]
	ldr	w1, [x19]
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_11:
	mov	w8, #0
LBB0_12:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDE_DUMP_CMD_NONE,4,2         ; @QEDE_DUMP_CMD_NONE
	.comm	_QEDE_DUMP_CMD_MAX,4,2          ; @QEDE_DUMP_CMD_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid command %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QEDE_DUMP_MAX_ARGS,8,3         ; @QEDE_DUMP_MAX_ARGS
l_.str.1:                               ; @.str.1
	.asciz	"Arg count = %d\n"

	.no_dead_strip	_qede_set_dump
.subsections_via_symbols
