	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_mtl_configuration
_stmmac_mtl_configuration:              ## @stmmac_mtl_configuration
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %r14d
	movl	4(%rax), %r15d
	cmpl	$2, %r15d
	jge	LBB0_1
## %bb.2:
	cmpl	$2, %r14d
	jge	LBB0_3
LBB0_4:
	cmpl	$2, %r15d
	jl	LBB0_6
LBB0_5:
	movl	8(%rbx), %esi
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_stmmac_prog_mtl_tx_algorithms
	movq	%rbx, %rdi
	callq	_stmmac_configure_cbs
LBB0_6:
	movq	%rbx, %rdi
	callq	_stmmac_rx_queue_dma_chan_map
	movq	%rbx, %rdi
	callq	_stmmac_mac_enable_rx_queues
	cmpl	$2, %r14d
	jge	LBB0_7
## %bb.8:
	cmpl	$2, %r15d
	jge	LBB0_9
LBB0_10:
	cmpl	$2, %r14d
	jl	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	callq	_stmmac_mac_config_rx_queues_routing
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stmmac_mac_config_rss          ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_stmmac_set_tx_queue_weight
	cmpl	$2, %r14d
	jl	LBB0_4
LBB0_3:
	movl	8(%rbx), %esi
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	callq	_stmmac_prog_mtl_rx_algorithms
	cmpl	$2, %r15d
	jge	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_stmmac_mac_config_rx_queues_prio
	cmpl	$2, %r15d
	jl	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_stmmac_mac_config_tx_queues_prio
	cmpl	$2, %r14d
	jge	LBB0_12
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stmmac_mtl_configuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_mtl_configuration
_stmmac_mtl_configuration:              ; @stmmac_mtl_configuration
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldp	w20, w21, [x8]
	cmp	w21, #2
	b.ge	LBB0_8
; %bb.1:
	cmp	w20, #2
	b.ge	LBB0_9
LBB0_2:
	cmp	w21, #2
	b.lt	LBB0_4
LBB0_3:
	ldr	w1, [x19, #8]
	ldr	x8, [x19]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_stmmac_prog_mtl_tx_algorithms
	mov	x0, x19
	bl	_stmmac_configure_cbs
LBB0_4:
	mov	x0, x19
	bl	_stmmac_rx_queue_dma_chan_map
	mov	x0, x19
	bl	_stmmac_mac_enable_rx_queues
	cmp	w20, #2
	b.ge	LBB0_10
; %bb.5:
	cmp	w21, #2
	b.ge	LBB0_11
LBB0_6:
	cmp	w20, #2
	b.lt	LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_stmmac_mac_config_rx_queues_routing
	mov	x0, x19
	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
	b	_stmmac_mac_config_rss
LBB0_8:
	mov	x0, x19
	bl	_stmmac_set_tx_queue_weight
	cmp	w20, #2
	b.lt	LBB0_2
LBB0_9:
	ldr	w1, [x19, #8]
	ldr	x8, [x19]
	ldr	w2, [x8, #12]
	mov	x0, x19
	bl	_stmmac_prog_mtl_rx_algorithms
	cmp	w21, #2
	b.ge	LBB0_3
	b	LBB0_4
LBB0_10:
	mov	x0, x19
	bl	_stmmac_mac_config_rx_queues_prio
	cmp	w21, #2
	b.lt	LBB0_6
LBB0_11:
	mov	x0, x19
	bl	_stmmac_mac_config_tx_queues_prio
	cmp	w20, #2
	b.ge	LBB0_7
LBB0_12:
	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_mtl_configuration
.subsections_via_symbols
