	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function snmp_oct2bits
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	4                               ## 0x4
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_snmp_oct2bits:                         ## @snmp_oct2bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	cmpl	$8, %edi
	ja	LBB0_12
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.3:
	xorl	%ecx, %ecx
	testl	%edi, %edi
	je	LBB0_4
## %bb.5:
	movl	%edi, %eax
	cmpl	$4, %edi
	jae	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_4:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_7:
	movl	%eax, %ecx
	andl	$-4, %ecx
	movzwl	-1(%rsi,%rax), %edx
	movd	%edx, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,0,0,0]
	pshufb	%xmm1, %xmm0
	movzwl	-3(%rsi,%rax), %edx
	movd	%edx, %xmm2
	pshufb	%xmm1, %xmm2
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm2, %xmm1
	movdqa	%xmm0, %xmm2
	pslld	$8, %xmm2
	pshufb	LCPI0_1(%rip), %xmm1            ## xmm1 = zero,zero,xmm1[0,1],zero,zero,zero,xmm1[4,u,u,u,u,u,u,u,u]
	pblendw	$243, %xmm0, %xmm2              ## xmm2 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
	pmovsxdq	%xmm2, %xmm0
	pmovsxdq	%xmm1, %xmm1
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rdx
	cmpq	%rax, %rcx
	je	LBB0_11
## %bb.8:
	andl	$3, %eax
	shll	$3, %ecx
LBB0_9:
	incq	%rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%rsi,%rax), %edi
	shll	%cl, %edi
	movslq	%edi, %rdi
	addq	%rdi, %rdx
	addl	$8, %ecx
	decq	%rax
	cmpq	$1, %rax
	ja	LBB0_10
LBB0_11:
	movb	$0, (%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%llx."

	.no_dead_strip	_snmp_oct2bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_oct2bits
_snmp_oct2bits:                         ; @snmp_oct2bits
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x2, #0
	cmp	w0, #8
	b.hi	LBB0_7
; %bb.1:
	cbz	x1, LBB0_7
; %bb.2:
	cbz	x19, LBB0_7
; %bb.3:
	mov	x2, #0
	cbz	w0, LBB0_6
; %bb.4:
	mov	w9, w0
	and	w8, w9, #0x1ffffff8
	lsl	w8, w8, #3
	and	x10, x9, #0x7
	cmp	w0, #8
	csel	w8, wzr, w8, lo
	csel	x9, x9, x10, lo
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w10, [x1, x9]
	lsl	w10, w10, w8
	add	x2, x2, w10, sxtw
	add	w8, w8, #8
	subs	x9, x9, #1
	b.hi	LBB0_5
LBB0_6:
	strb	wzr, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x2, x19
LBB0_7:
	mov	x0, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%llx."

	.no_dead_strip	_snmp_oct2bits
.subsections_via_symbols
