	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_reg
_alloc_reg:                             ## @alloc_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BPF_MEMWORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movq	(%rdi), %r8
	movq	8(%rdi), %rax
	leal	1(%rcx), %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rax
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 8(%rdi)
	decl	%esi
	cmpl	$1, %esi
	jle	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r8,%rax,4)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	movq	%rax, %rdx
	shrq	$32, %rdx
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %eax
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str(%rip), %rsi
	callq	_bpf_error
                                        ## implicit-def: $eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movl	$1, (%r8,%rax,4)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BPF_MEMWORDS,4,2               ## @BPF_MEMWORDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many registers needed to evaluate expression"

	.no_dead_strip	_alloc_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_reg
_alloc_reg:                             ; @alloc_reg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BPF_MEMWORDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BPF_MEMWORDS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	ldp	x10, x8, [x0]
	add	w11, w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x8, lsl #2]
	cbz	w12, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	udiv	x12, x8, x9
	msub	x8, x12, x9, x8
	str	x8, [x0, #8]
	sub	w11, w11, #1
	cmp	w11, #1
	b.gt	LBB0_2
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bpf_error
                                        ; implicit-def: $w8
	b	LBB0_6
LBB0_5:
	mov	w9, #1
	str	w9, [x10, x8, lsl #2]
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BPF_MEMWORDS,4,2               ; @BPF_MEMWORDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many registers needed to evaluate expression"

	.no_dead_strip	_alloc_reg
.subsections_via_symbols
