	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sx_pude_event_func
_mlxsw_sx_pude_event_func:              ## @mlxsw_sx_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_mlxsw_reg_pude_local_port_get
	movq	%rax, %r12
	movq	16(%r13), %rax
	movq	(%rax,%r12,8), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_mlxsw_reg_pude_oper_status_get
	movl	%eax, %r15d
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_mlxsw_core_port_type_get
	movq	_DEVLINK_PORT_TYPE_ETH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sx_pude_eth_event_func   ## TAILCALL
LBB0_4:
	movq	8(%r13), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_2:
	movq	_DEVLINK_PORT_TYPE_IB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.6:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sx_pude_ib_event_func    ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Port %d: Link event received for non-existent port\n"

	.comm	_DEVLINK_PORT_TYPE_ETH,4,2      ## @DEVLINK_PORT_TYPE_ETH
	.comm	_DEVLINK_PORT_TYPE_IB,4,2       ## @DEVLINK_PORT_TYPE_IB
	.no_dead_strip	_mlxsw_sx_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_sx_pude_event_func
_mlxsw_sx_pude_event_func:              ; @mlxsw_sx_pude_event_func
	.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	x22, x2
	mov	x20, x1
	mov	x0, x1
	bl	_mlxsw_reg_pude_local_port_get
	mov	x21, x0
	ldr	x8, [x22, #16]
	ldr	x19, [x8, x0, lsl #3]
	cbz	x19, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_mlxsw_reg_pude_oper_status_get
	mov	x20, x0
	ldr	w0, [x22]
	mov	x1, x21
	bl	_mlxsw_core_port_type_get
Lloh0:
	adrp	x8, _DEVLINK_PORT_TYPE_ETH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEVLINK_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	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	_mlxsw_sx_pude_eth_event_func
LBB0_3:
	ldr	x8, [x22, #8]
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	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	_dev_warn
LBB0_4:
Lloh5:
	adrp	x8, _DEVLINK_PORT_TYPE_IB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEVLINK_PORT_TYPE_IB@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	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	_mlxsw_sx_pude_ib_event_func
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Port %d: Link event received for non-existent port\n"

	.comm	_DEVLINK_PORT_TYPE_ETH,4,2      ; @DEVLINK_PORT_TYPE_ETH
	.comm	_DEVLINK_PORT_TYPE_IB,4,2       ; @DEVLINK_PORT_TYPE_IB
	.no_dead_strip	_mlxsw_sx_pude_event_func
.subsections_via_symbols
