	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_trap
_link_trap:                             ## @link_trap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_oid_ifIndex@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, -16(%rbp)
	movl	(%rdi), %r8d
	movq	-8(%rbp), %rcx
	movslq	-16(%rbp), %rdx
	leal	1(%rdx), %eax
	movl	%eax, -16(%rbp)
	movl	%r8d, (%rcx,%rdx,4)
	movq	_SNMP_SYNTAX_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -24(%rbp)
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_oid_linkDown@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	movq	_oid_linkUp@GOTPCREL(%rip), %rdi
LBB0_3:
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_snmp_send_trap
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_oid_ifIndex,16,3               ## @oid_ifIndex
	.comm	_SNMP_SYNTAX_INTEGER,4,2        ## @SNMP_SYNTAX_INTEGER
	.comm	_oid_linkUp,4,2                 ## @oid_linkUp
	.comm	_oid_linkDown,4,2               ## @oid_linkDown
	.no_dead_strip	_link_trap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_trap
_link_trap:                             ; @link_trap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _oid_ifIndex@GOTPAGE
Lloh1:
	ldr	x8, [x8, _oid_ifIndex@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	stur	q0, [sp, #16]
	ldr	w8, [x0]
	ldr	x9, [sp, #24]
	ldrsw	x10, [sp, #16]
	add	w11, w10, #1
	str	w11, [sp, #16]
	str	w8, [x9, x10, lsl #2]
Lloh3:
	adrp	x8, _SNMP_SYNTAX_INTEGER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNMP_SYNTAX_INTEGER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	stp	w9, w8, [sp, #8]
Lloh6:
	adrp	x8, _oid_linkUp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _oid_linkUp@GOTPAGEOFF]
Lloh8:
	adrp	x9, _oid_linkDown@GOTPAGE
Lloh9:
	ldr	x9, [x9, _oid_linkDown@GOTPAGEOFF]
	cmp	w1, #0
	csel	x0, x9, x8, eq
	add	x1, sp, #8
	mov	x2, #0
	bl	_snmp_send_trap
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_oid_ifIndex,16,3               ; @oid_ifIndex
	.comm	_SNMP_SYNTAX_INTEGER,4,2        ; @SNMP_SYNTAX_INTEGER
	.comm	_oid_linkUp,4,2                 ; @oid_linkUp
	.comm	_oid_linkDown,4,2               ; @oid_linkDown
	.no_dead_strip	_link_trap
.subsections_via_symbols
