	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpni_irq0_handler_thread
_dpni_irq0_handler_thread:              ## @dpni_irq0_handler_thread
	.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	%rsi, %rbx
	movl	$-1, -28(%rbp)
	movq	%rsi, %rdi
	callq	_to_fsl_mc_device
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movl	(%r15), %edx
	movl	4(%r15), %edi
	movq	_DPNI_IRQ_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-28(%rbp), %r8
	xorl	%esi, %esi
	callq	_dpni_get_irq_status
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_netdev_err
	jmp	LBB0_6
LBB0_2:
	movl	-28(%rbp), %eax
	movq	_DPNI_IRQ_EVENT_LINK_CHANGED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netdev_priv
	movl	%eax, %edi
	callq	_link_state_update
	movl	-28(%rbp), %eax
LBB0_4:
	movq	_DPNI_IRQ_EVENT_ENDPOINT_CHANGED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_netdev_priv
	movl	%eax, %edi
	callq	_set_mac_addr
LBB0_6:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPNI_IRQ_INDEX,4,2             ## @DPNI_IRQ_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get irq status (err %d)\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_DPNI_IRQ_EVENT_LINK_CHANGED,4,2 ## @DPNI_IRQ_EVENT_LINK_CHANGED
	.comm	_DPNI_IRQ_EVENT_ENDPOINT_CHANGED,4,2 ## @DPNI_IRQ_EVENT_ENDPOINT_CHANGED
	.no_dead_strip	_dpni_irq0_handler_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpni_irq0_handler_thread
_dpni_irq0_handler_thread:              ; @dpni_irq0_handler_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	w8, #-1
	str	w8, [sp, #12]
	mov	x0, x1
	bl	_to_fsl_mc_device
	mov	x20, x0
	mov	x0, x19
	bl	_dev_get_drvdata
	mov	x19, x0
	ldp	w2, w0, [x20]
Lloh0:
	adrp	x8, _DPNI_IRQ_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPNI_IRQ_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	w1, #0
	bl	_dpni_get_irq_status
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_err
	b	LBB0_6
LBB0_2:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _DPNI_IRQ_EVENT_LINK_CHANGED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DPNI_IRQ_EVENT_LINK_CHANGED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_netdev_priv
	bl	_link_state_update
	ldr	w8, [sp, #12]
LBB0_4:
Lloh8:
	adrp	x9, _DPNI_IRQ_EVENT_ENDPOINT_CHANGED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DPNI_IRQ_EVENT_ENDPOINT_CHANGED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_netdev_priv
	bl	_set_mac_addr
LBB0_6:
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DPNI_IRQ_INDEX,4,2             ; @DPNI_IRQ_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get irq status (err %d)\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_DPNI_IRQ_EVENT_LINK_CHANGED,4,2 ; @DPNI_IRQ_EVENT_LINK_CHANGED
	.comm	_DPNI_IRQ_EVENT_ENDPOINT_CHANGED,4,2 ; @DPNI_IRQ_EVENT_ENDPOINT_CHANGED
	.no_dead_strip	_dpni_irq0_handler_thread
.subsections_via_symbols
