	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_setup_tc
_xgbe_setup_tc:                         ## @xgbe_setup_tc
	.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
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %rdi
	movq	_TC_SETUP_QDISC_MQPRIO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.3:
	movq	_TC_MQPRIO_HW_OFFLOAD_TCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	(%r14), %rax
	cmpq	16(%rdi), %rax
	jle	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	%rax, 8(%rdi)
	callq	*(%rdi)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TC_SETUP_QDISC_MQPRIO,4,2      ## @TC_SETUP_QDISC_MQPRIO
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_TC_MQPRIO_HW_OFFLOAD_TCS,4,2   ## @TC_MQPRIO_HW_OFFLOAD_TCS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_xgbe_setup_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_setup_tc
_xgbe_setup_tc:                         ; @xgbe_setup_tc
	.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
Lloh0:
	adrp	x8, _TC_SETUP_QDISC_MQPRIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TC_SETUP_QDISC_MQPRIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _TC_MQPRIO_HW_OFFLOAD_TCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TC_MQPRIO_HW_OFFLOAD_TCS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x0, #16]
	cmp	x8, x9
	b.le	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	str	x8, [x0, #8]
	ldr	x8, [x0]
	blr	x8
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TC_SETUP_QDISC_MQPRIO,4,2      ; @TC_SETUP_QDISC_MQPRIO
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_TC_MQPRIO_HW_OFFLOAD_TCS,4,2   ; @TC_MQPRIO_HW_OFFLOAD_TCS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_xgbe_setup_tc
.subsections_via_symbols
