	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_set_tx_queue_weight
_stmmac_set_tx_queue_weight:            ## @stmmac_set_tx_queue_weight
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rax), %rax
	movq	(%rax), %rdx
	movl	(%rdi), %esi
	xorl	%ecx, %ecx
	callq	_stmmac_set_mtl_tx_queue_weight
	cmpq	$1, %r15
	je	LBB0_4
## %bb.2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_stmmac_set_mtl_tx_queue_weight
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stmmac_set_tx_queue_weight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_set_tx_queue_weight
_stmmac_set_tx_queue_weight:            ; @stmmac_set_tx_queue_weight
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	cbz	x21, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x8, #8]
	ldr	x2, [x8]
	ldr	w1, [x0]
	mov	x3, #0
	bl	_stmmac_set_mtl_tx_queue_weight
	cmp	x21, #1
	b.eq	LBB0_4
; %bb.2:
	mov	w20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x2, [x8, x20, lsl #3]
	ldr	w1, [x19]
	mov	x0, x19
	mov	x3, x20
	bl	_stmmac_set_mtl_tx_queue_weight
	add	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stmmac_set_tx_queue_weight
.subsections_via_symbols
