	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_mqprio_resume
_cpsw_mqprio_resume:                    ## @cpsw_mqprio_resume
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 4(%rsi)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	xorl	%esi, %esi
	callq	_netdev_get_prio_tc_map
	movq	_CPSW_FIFO_SHAPERS_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rcx, %r14
	subl	%eax, %ebx
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_netdev_get_prio_tc_map
	movl	(%r14), %r15d
	subl	%eax, %r15d
	shll	$4, %r15d
	orl	%ebx, %r15d
	movl	(%r13), %edi
	movl	$2, %esi
	callq	_netdev_get_prio_tc_map
	movq	%r14, %rbx
	movl	(%r14), %r14d
	subl	%eax, %r14d
	shll	$8, %r14d
	movl	(%r13), %edi
	movl	$3, %esi
	callq	_netdev_get_prio_tc_map
	movl	(%rbx), %r12d
	subl	%eax, %r12d
	shll	$12, %r12d
	orl	%r14d, %r12d
	orl	%r15d, %r12d
	movl	(%r13), %edi
	movl	$4, %esi
	callq	_netdev_get_prio_tc_map
	movl	(%rbx), %r14d
	subl	%eax, %r14d
	shll	$16, %r14d
	movl	(%r13), %edi
	movl	$5, %esi
	callq	_netdev_get_prio_tc_map
	movl	(%rbx), %r15d
	subl	%eax, %r15d
	shll	$20, %r15d
	orl	%r14d, %r15d
	movl	(%r13), %edi
	movl	$6, %esi
	callq	_netdev_get_prio_tc_map
	movq	%rbx, %r14
	movl	(%rbx), %ebx
	subl	%eax, %ebx
	shll	$24, %ebx
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	movl	(%r13), %edi
	movl	$7, %esi
	callq	_netdev_get_prio_tc_map
	movl	(%r14), %esi
	subl	%eax, %esi
	shll	$28, %esi
	orl	%ebx, %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_CPSW_VERSION_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_CPSW1_TX_PRI_MAP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_CPSW2_TX_PRI_MAP@GOTPCREL(%rip), %rax
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax), %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_slave_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPSW_FIFO_SHAPERS_NUM,4,2      ## @CPSW_FIFO_SHAPERS_NUM
	.comm	_CPSW_VERSION_1,8,3             ## @CPSW_VERSION_1
	.comm	_CPSW1_TX_PRI_MAP,4,2           ## @CPSW1_TX_PRI_MAP
	.comm	_CPSW2_TX_PRI_MAP,4,2           ## @CPSW2_TX_PRI_MAP
	.no_dead_strip	_cpsw_mqprio_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_mqprio_resume
_cpsw_mqprio_resume:                    ; @cpsw_mqprio_resume
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x1, #8]
	ldr	w0, [x1]
	mov	w1, #0
	bl	_netdev_get_prio_tc_map
Lloh0:
	adrp	x22, _CPSW_FIFO_SHAPERS_NUM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CPSW_FIFO_SHAPERS_NUM@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w23, w8, w0
	ldr	w0, [x20]
	mov	w1, #1
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #4
	ldr	w0, [x20]
	mov	w1, #2
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #8
	ldr	w0, [x20]
	mov	w1, #3
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #12
	ldr	w0, [x20]
	mov	w1, #4
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #16
	ldr	w0, [x20]
	mov	w1, #5
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #20
	ldr	w0, [x20]
	mov	w1, #6
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w23, w23, w8, lsl #24
	ldr	w0, [x20]
	mov	w1, #7
	bl	_netdev_get_prio_tc_map
	ldr	w8, [x22]
	sub	w8, w8, w0
	orr	w1, w23, w8, lsl #28
Lloh2:
	adrp	x8, _CPSW_VERSION_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPSW_VERSION_1@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _CPSW1_TX_PRI_MAP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CPSW1_TX_PRI_MAP@GOTPAGEOFF]
Lloh7:
	adrp	x11, _CPSW2_TX_PRI_MAP@GOTPAGE
Lloh8:
	ldr	x11, [x11, _CPSW2_TX_PRI_MAP@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_slave_write
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CPSW_FIFO_SHAPERS_NUM,4,2      ; @CPSW_FIFO_SHAPERS_NUM
	.comm	_CPSW_VERSION_1,8,3             ; @CPSW_VERSION_1
	.comm	_CPSW1_TX_PRI_MAP,4,2           ; @CPSW1_TX_PRI_MAP
	.comm	_CPSW2_TX_PRI_MAP,4,2           ; @CPSW2_TX_PRI_MAP
	.no_dead_strip	_cpsw_mqprio_resume
.subsections_via_symbols
