	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_pude_event_func
_mlxsw_sp_pude_event_func:              ## @mlxsw_sp_pude_event_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_mlxsw_reg_pude_local_port_get
	movq	(%r14), %rcx
	movq	(%rcx,%rax,8), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_mlxsw_reg_pude_oper_status_get
	movq	_MLXSW_PORT_OPER_STATUS_UP@GOTPCREL(%rip), %rcx
	movl	(%r14), %edi
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.4:
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
	movl	(%r14), %edi
	callq	_netif_carrier_on
	addq	$4, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlxsw_core_schedule_dw         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_info
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_carrier_off              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_PORT_OPER_STATUS_UP,4,2  ## @MLXSW_PORT_OPER_STATUS_UP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link up\n"

L_.str.1:                               ## @.str.1
	.asciz	"link down\n"

	.no_dead_strip	_mlxsw_sp_pude_event_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_pude_event_func
_mlxsw_sp_pude_event_func:              ; @mlxsw_sp_pude_event_func
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	mov	x0, x1
	bl	_mlxsw_reg_pude_local_port_get
	ldr	x8, [x19]
	ldr	x19, [x8, x0, lsl #3]
	cbz	x19, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_mlxsw_reg_pude_oper_status_get
	mov	x8, x0
Lloh0:
	adrp	x9, _MLXSW_PORT_OPER_STATUS_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLXSW_PORT_OPER_STATUS_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w0, [x19]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
	ldr	w0, [x19], #4
	bl	_netif_carrier_on
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlxsw_core_schedule_dw
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_info
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_carrier_off
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_PORT_OPER_STATUS_UP,4,2  ; @MLXSW_PORT_OPER_STATUS_UP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link up\n"

l_.str.1:                               ; @.str.1
	.asciz	"link down\n"

	.no_dead_strip	_mlxsw_sp_pude_event_func
.subsections_via_symbols
