	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_bitset_last
_zend_bitset_last:                      ## @zend_bitset_last
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leal	(,%rsi,8), %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rsi
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi,%rsi,4), %r14d
	addl	$-8, %ebx
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.4:
	movq	_ZEND_BITSET_ELM_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	decl	%ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_Z_UL
	cmpl	%eax, %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_Z_UL
	movl	%eax, %ecx
	sarl	%cl, %r14d
	incl	%ebx
	jmp	LBB0_6
LBB0_2:
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZEND_BITSET_ELM_SIZE,4,2       ## @ZEND_BITSET_ELM_SIZE
	.no_dead_strip	_zend_bitset_last
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_bitset_last
_zend_bitset_last:                      ; @zend_bitset_last
	.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
	lsl	w8, w1, #3
	sub	x9, x0, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x1, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w20, [x9, x1, lsl #2]
	sub	x1, x1, #1
	sub	w8, w8, #8
	cbz	w20, LBB0_1
; %bb.3:
Lloh0:
	adrp	x9, _ZEND_BITSET_ELM_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZEND_BITSET_ELM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w8, w8, w9
	sub	w19, w8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_Z_UL
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_Z_UL
	asr	w20, w20, w0
	add	w19, w19, #1
	b	LBB0_4
LBB0_6:
	mov	w19, #-1
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ZEND_BITSET_ELM_SIZE,4,2       ; @ZEND_BITSET_ELM_SIZE
	.no_dead_strip	_zend_bitset_last
.subsections_via_symbols
