	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tbm_extract_page_tuple
_tbm_extract_page_tuple:                ## @tbm_extract_page_tuple
	.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
	movq	_WORDS_PER_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %r8
	movq	_BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%r14d, %r14d
	xorl	%r11d, %r11d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	addl	%r10d, %r11d
	cmpq	%r9, %r14
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r8,%r14,4), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r11d, %rcx
	incq	%rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	%edi, %edx
	sarl	%edx
	incq	%rcx
	cmpl	$1, %edi
	movl	%edx, %edi
	jbe	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %dil
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rsi), %rbx
	movslq	%eax, %rdx
	incl	%eax
	movq	%rcx, (%rbx,%rdx,8)
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WORDS_PER_PAGE,4,2             ## @WORDS_PER_PAGE
	.comm	_BITS_PER_BITMAPWORD,4,2        ## @BITS_PER_BITMAPWORD
	.no_dead_strip	_tbm_extract_page_tuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tbm_extract_page_tuple
_tbm_extract_page_tuple:                ; @tbm_extract_page_tuple
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _WORDS_PER_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WORDS_PER_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x8, x0
	mov	x10, #0
	mov	w11, #0
	mov	w0, #0
	ldr	x8, [x8]
Lloh3:
	adrp	x12, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh4:
	ldr	x12, [x12, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	add	w11, w11, w12
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w13, [x8, x10, lsl #2]
	cbz	w13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x14, w11
	add	x14, x14, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	asr	w15, w13, #1
	add	x14, x14, #1
	cmp	w13, #1
	mov	x13, x15
	b.ls	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w13, #0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x15, [x1]
	str	x14, [x15, w0, sxtw #3]
	add	w0, w0, #1
	b	LBB0_5
LBB0_8:
	ret
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WORDS_PER_PAGE,4,2             ; @WORDS_PER_PAGE
	.comm	_BITS_PER_BITMAPWORD,4,2        ; @BITS_PER_BITMAPWORD
	.no_dead_strip	_tbm_extract_page_tuple
.subsections_via_symbols
