	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_set_tunable
_qede_set_tunable:                      ## @qede_set_tunable
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_netdev_priv
	cmpl	$128, (%rbx)
	jne	LBB0_5
## %bb.1:
	movl	(%r14), %edx
	movq	_QEDE_MIN_PKT_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_QEDE_RX_HDR_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	cmpl	%ecx, %edx
	jl	LBB0_3
## %bb.2:
	cmpl	%r8d, %edx
	jg	LBB0_3
## %bb.4:
	movl	%edx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	movq	_QED_MSG_DEBUG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_DP_VERBOSE
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDE_MIN_PKT_LEN,4,2           ## @QEDE_MIN_PKT_LEN
	.comm	_QEDE_RX_HDR_SIZE,4,2           ## @QEDE_RX_HDR_SIZE
	.comm	_QED_MSG_DEBUG,4,2              ## @QED_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid rx copy break value, range is [%u, %u]"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_qede_set_tunable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_set_tunable
_qede_set_tunable:                      ; @qede_set_tunable
	.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, x2
	mov	x20, x1
	bl	_netdev_priv
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	w9, [x19]
Lloh0:
	adrp	x8, _QEDE_MIN_PKT_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QEDE_MIN_PKT_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _QEDE_RX_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QEDE_RX_HDR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	cmp	w9, w3
	ccmp	w9, w4, #0, ge
	b.le	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _QED_MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_6
LBB0_5:
	mov	w8, #0
	str	w9, [x0]
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDE_MIN_PKT_LEN,4,2           ; @QEDE_MIN_PKT_LEN
	.comm	_QEDE_RX_HDR_SIZE,4,2           ; @QEDE_RX_HDR_SIZE
	.comm	_QED_MSG_DEBUG,4,2              ; @QED_MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid rx copy break value, range is [%u, %u]"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_qede_set_tunable
.subsections_via_symbols
