	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_oct2tc                    ## -- Begin function snmp_oct2tc
	.p2align	4, 0x90
_snmp_oct2tc:                           ## @snmp_oct2tc
	.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, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_SNMP_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	cmovbl	%eax, %ebx
	movq	_text_convs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rax
	testq	%rax, %rax
	leal	3(%r15,%r15), %r13d
	cmovgl	%eax, %r13d
	movl	%r13d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	_text_convs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	*8(%rax,%rbx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_4
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_UNKNOWN,4,2               ## @SNMP_UNKNOWN
	.comm	_text_convs,8,3                 ## @text_convs
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed - %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_oct2tc                    ; -- Begin function snmp_oct2tc
	.p2align	2
_snmp_oct2tc:                           ; @snmp_oct2tc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _SNMP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	csel	w23, w8, w0, lo
Lloh3:
	adrp	x24, _text_convs@GOTPAGE
Lloh4:
	ldr	x24, [x24, _text_convs@GOTPAGEOFF]
	ldr	x8, [x24]
	lsl	x9, x23, #4
	ldr	x8, [x8, x9]
	lsl	w9, w1, #1
	add	w9, w9, #3
	cmp	x8, #0
	csel	w22, w8, w9, gt
	mov	x0, x22
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	ldr	x8, [x24]
	add	x8, x8, x23, lsl #4
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	blr	x8
	cbnz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_free
	mov	x21, #0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_UNKNOWN,4,2               ; @SNMP_UNKNOWN
	.comm	_text_convs,8,3                 ; @text_convs
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed - %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
