	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_eth_open
_dpaa2_eth_open:                        ## @dpaa2_eth_open
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	8(%rax), %esi
	movq	%rax, %rdi
	callq	_seed_pool
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_2:
	movq	%r14, %rdi
	callq	_netif_tx_stop_all_queues
	movq	%rbx, %rdi
	callq	_enable_ch_napi
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_dpni_enable
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_link_state_update
	testl	%eax, %eax
	jns	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	%rbx, %rdi
	callq	_disable_ch_napi
	movq	%rbx, %rdi
	callq	_drain_pool
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Buffer seeding failed for DPBP %d (bpid=%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"dpni_enable() failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"Can't update link state\n"

	.no_dead_strip	_dpaa2_eth_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_eth_open
_dpaa2_eth_open:                        ; @dpaa2_eth_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w1, [x0, #8]
	bl	_seed_pool
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
LBB0_2:
	mov	x0, x20
	bl	_netif_tx_stop_all_queues
	mov	x0, x19
	bl	_enable_ch_napi
	mov	x0, x20
	bl	_netif_carrier_off
	ldp	w2, w0, [x19]
	mov	w1, #0
	bl	_dpni_enable
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_link_state_update
	tbnz	w0, #31, LBB0_6
; %bb.4:
	mov	w21, #0
	b	LBB0_8
LBB0_5:
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_netdev_err
	mov	x0, x19
	bl	_disable_ch_napi
	mov	x0, x19
	bl	_drain_pool
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Buffer seeding failed for DPBP %d (bpid=%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"dpni_enable() failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"Can't update link state\n"

	.no_dead_strip	_dpaa2_eth_open
.subsections_via_symbols
