	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa_eth_init_ports
_dpaa_eth_init_ports:                   ## @dpaa_eth_init_ports
	.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
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	_RX@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	_TX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	leaq	(%r8,%rcx,4), %rcx
	callq	_dpaa_eth_init_tx_port
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %ecx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	movq	(%r14), %rax
	leaq	(%r12,%rax,4), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_dpaa_eth_init_rx_port
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX,8,3                         ## @RX
	.comm	_TX,8,3                         ## @TX
	.no_dead_strip	_dpaa_eth_init_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa_eth_init_ports
_dpaa_eth_init_ports:                   ; @dpaa_eth_init_ports
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _RX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RX@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x23, [x8, x9, lsl #3]
Lloh2:
	adrp	x9, _TX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TX@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	ldp	w2, w1, [x3, #12]
	add	x3, x4, x9, lsl #2
	bl	_dpaa_eth_init_tx_port
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldp	w4, w3, [x22, #4]
	ldr	w5, [x22]
	ldr	x8, [x24]
	add	x6, x20, x8, lsl #2
	mov	x0, x23
	mov	x1, x21
	mov	x2, 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	_dpaa_eth_init_rx_port
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RX,8,3                         ; @RX
	.comm	_TX,8,3                         ; @TX
	.no_dead_strip	_dpaa_eth_init_ports
.subsections_via_symbols
