	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_create_v2_trap
_snmp_create_v2_trap:                   ## @snmp_create_v2_trap
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	44(%rbx), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_SNMP_V2c@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_SNMP_PDU_TRAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_trap_reqid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_reqid_next
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rax
	movq	_oid_sysUpTime@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 24(%rax)
	movq	8(%rbx), %rax
	movq	32(%rax), %rcx
	movslq	24(%rax), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 24(%rax)
	movq	$0, (%rcx,%rdx,8)
	movq	_SNMP_SYNTAX_TIMETICKS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	xorl	%eax, %eax
	callq	_get_ticks
	movq	_start_tick@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	_oid_snmpTrapOID@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 64(%rcx)
	movq	8(%rbx), %rax
	movq	72(%rax), %rcx
	movslq	64(%rax), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 64(%rax)
	movq	$0, (%rcx,%rdx,8)
	movq	_SNMP_SYNTAX_OID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movl	(%r14), %ecx
	movl	%ecx, 40(%rax)
	movl	$2, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_V2c,4,2                   ## @SNMP_V2c
	.comm	_SNMP_PDU_TRAP2,4,2             ## @SNMP_PDU_TRAP2
	.comm	_trap_reqid,4,2                 ## @trap_reqid
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.comm	_oid_sysUpTime,16,3             ## @oid_sysUpTime
	.comm	_SNMP_SYNTAX_TIMETICKS,4,2      ## @SNMP_SYNTAX_TIMETICKS
	.comm	_start_tick,8,3                 ## @start_tick
	.comm	_oid_snmpTrapOID,16,3           ## @oid_snmpTrapOID
	.comm	_SNMP_SYNTAX_OID,4,2            ## @SNMP_SYNTAX_OID
	.no_dead_strip	_snmp_create_v2_trap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_create_v2_trap
_snmp_create_v2_trap:                   ; @snmp_create_v2_trap
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w0, [x19, #44]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
Lloh0:
	adrp	x8, _SNMP_V2c@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_V2c@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SNMP_PDU_TRAP2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNMP_PDU_TRAP2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh6:
	adrp	x8, _trap_reqid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _trap_reqid@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_reqid_next
	str	w0, [x19, #32]
	str	xzr, [x19, #24]
Lloh9:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _oid_sysUpTime@GOTPAGE
Lloh13:
	ldr	x9, [x9, _oid_sysUpTime@GOTPAGEOFF]
Lloh14:
	ldr	q0, [x9]
	stur	q0, [x8, #24]
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #32]
	ldrsw	x10, [x8, #24]
	add	w11, w10, #1
	str	w11, [x8, #24]
	str	xzr, [x9, x10, lsl #3]
Lloh15:
	adrp	x9, _SNMP_SYNTAX_TIMETICKS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SNMP_SYNTAX_TIMETICKS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	bl	_get_ticks
Lloh18:
	adrp	x8, _start_tick@GOTPAGE
Lloh19:
	ldr	x8, [x8, _start_tick@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	sub	x8, x0, x8
	ldr	x9, [x19, #8]
Lloh21:
	adrp	x10, _oid_snmpTrapOID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _oid_snmpTrapOID@GOTPAGEOFF]
	str	x8, [x9, #8]
Lloh23:
	ldr	q0, [x10]
	str	q0, [x9, #64]
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #72]
	ldrsw	x10, [x8, #64]
	add	w11, w10, #1
	str	w11, [x8, #64]
	str	xzr, [x9, x10, lsl #3]
Lloh24:
	adrp	x9, _SNMP_SYNTAX_OID@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SNMP_SYNTAX_OID@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	str	w9, [x8, #56]
	ldr	w9, [x20]
	str	w9, [x8, #40]
	mov	w8, #2
	str	w8, [x19]
	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	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_V2c,4,2                   ; @SNMP_V2c
	.comm	_SNMP_PDU_TRAP2,4,2             ; @SNMP_PDU_TRAP2
	.comm	_trap_reqid,4,2                 ; @trap_reqid
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.comm	_oid_sysUpTime,16,3             ; @oid_sysUpTime
	.comm	_SNMP_SYNTAX_TIMETICKS,4,2      ; @SNMP_SYNTAX_TIMETICKS
	.comm	_start_tick,8,3                 ; @start_tick
	.comm	_oid_snmpTrapOID,16,3           ; @oid_snmpTrapOID
	.comm	_SNMP_SYNTAX_OID,4,2            ; @SNMP_SYNTAX_OID
	.no_dead_strip	_snmp_create_v2_trap
.subsections_via_symbols
