	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bits_get
_bits_get:                              ## @bits_get
	.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	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movl	%edx, %ecx
	movl	%edx, %eax
	sarl	$31, %eax
	andl	%edx, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rcx), %rdx
	cmpq	$0, -8(%rbx,%rcx,8)
	movq	%rdx, %rcx
	je	LBB0_2
## %bb.4:
	incl	%edx
	movl	%edx, %eax
LBB0_5:
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movslq	%ecx, %r15
	movq	%r15, 8(%r14)
	movq	%r15, %rdi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	jmp	LBB0_8
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
LBB0_8:
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_SNMP_ERR_RES_UNAVAIL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.comm	_SNMP_ERR_RES_UNAVAIL,4,2       ## @SNMP_ERR_RES_UNAVAIL
	.no_dead_strip	_bits_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bits_get
_bits_get:                              ; @bits_get
	.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, x0
	cbz	x1, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	w9, w2
	cmp	w2, #0
	csel	w8, w2, wzr, lt
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x10, x9, #1
	add	x9, x19, x9, lsl #3
	ldur	x11, [x9, #-8]
	mov	x9, x10
	cbz	x11, LBB0_2
; %bb.4:
	add	w8, w10, #1
LBB0_5:
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	sxtw	x21, w8
	str	x21, [x20, #8]
	mov	x0, x21
	bl	_malloc
	str	x0, [x20]
	cbz	x0, LBB0_9
; %bb.6:
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	b	LBB0_8
LBB0_7:
	stp	xzr, xzr, [x20]
LBB0_8:
Lloh0:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x8, _SNMP_ERR_RES_UNAVAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNMP_ERR_RES_UNAVAIL@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.comm	_SNMP_ERR_RES_UNAVAIL,4,2       ; @SNMP_ERR_RES_UNAVAIL
	.no_dead_strip	_bits_get
.subsections_via_symbols
