	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_snmpd_engine              ## -- Begin function init_snmpd_engine
	.p2align	4, 0x90
_init_snmpd_engine:                     ## @init_snmpd_engine
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_snmpd_engine@GOTPCREL(%rip), %r15
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r15)
	movl	$1500, 8(%r15)                  ## imm = 0x5DC
	movq	_OID_freeBSD@GOTPCREL(%rip), %rax
	movzbl	3(%rax), %ecx
	orl	$128, %ecx
	movq	16(%r15), %rdx
	movl	%ecx, (%rdx)
	movl	(%rax), %eax
	movzbl	%ah, %ecx
	movzbl	%al, %esi
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, 4(%rdx)
	movl	%ecx, 8(%rdx)
	movl	%esi, 12(%rdx)
	movl	$128, 16(%rdx)
	movl	$5, 24(%r15)
	movq	_KERN_HOSTID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_act_getkernint
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movq	_SNMP_ENGINE_ID_SIZ@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movslq	24(%r15), %rbx
	subl	%ebx, %edx
	shlq	$2, %rbx
	addq	16(%r15), %rbx
	cmpl	%edx, %eax
	jle	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movl	(%r12), %eax
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_strlen
	addl	24(%r15), %eax
LBB0_5:
	movl	%eax, 24(%r15)
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snmpd_engine,32,3              ## @snmpd_engine
	.comm	_OID_freeBSD,4,2                ## @OID_freeBSD
	.comm	_KERN_HOSTID,4,2                ## @KERN_HOSTID
	.comm	_SNMP_ENGINE_ID_SIZ,4,2         ## @SNMP_ENGINE_ID_SIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function init_snmpd_engine
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_init_snmpd_engine
	.p2align	2
_init_snmpd_engine:                     ; @init_snmpd_engine
	.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
Lloh0:
	adrp	x21, _snmpd_engine@GOTPAGE
Lloh1:
	ldr	x21, [x21, _snmpd_engine@GOTPAGEOFF]
	movi.2s	v0, #1
	str	d0, [x21]
	mov	w8, #1500
	str	w8, [x21, #8]
Lloh2:
	adrp	x8, _OID_freeBSD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OID_freeBSD@GOTPAGEOFF]
	ldrb	w9, [x8, #3]
	orr	w9, w9, #0x80
	ldr	x10, [x21, #16]
	str	w9, [x10]
	ldr	w8, [x8]
	dup.2s	v0, w8
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [x10, #4]
	and	w8, w8, #0xff
	mov	w9, #128
	stp	w8, w9, [x10, #12]
	mov	w8, #5
	str	w8, [x21, #24]
Lloh6:
	adrp	x8, _KERN_HOSTID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KERN_HOSTID@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_act_getkernint
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_strlen
Lloh9:
	adrp	x22, _SNMP_ENGINE_ID_SIZ@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SNMP_ENGINE_ID_SIZ@GOTPAGEOFF]
	ldr	w8, [x22]
	ldrsw	x9, [x21, #24]
	ldr	x10, [x21, #16]
	add	x20, x10, x9, lsl #2
	sub	w2, w8, w9
	cmp	w0, w2
	b.le	LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_memcpy
	ldr	w8, [x22]
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_memcpy
	mov	x0, x19
	bl	_strlen
	ldr	w8, [x21, #24]
	add	w8, w8, w0
LBB0_5:
	str	w8, [x21, #24]
	mov	x0, x19
	bl	_free
	mov	w0, #0
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_snmpd_engine,32,3              ; @snmpd_engine
	.comm	_OID_freeBSD,4,2                ; @OID_freeBSD
	.comm	_KERN_HOSTID,4,2                ; @KERN_HOSTID
	.comm	_SNMP_ENGINE_ID_SIZ,4,2         ; @SNMP_ENGINE_ID_SIZ
.subsections_via_symbols
