	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tbm_union                      ## -- Begin function tbm_union
	.p2align	4, 0x90
_tbm_union:                             ## @tbm_union
	.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	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$0, 24(%r14)
	sete	%dil
	callq	_Assert
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	movq	_TBM_ONE_PAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.6:
	addq	$20, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tbm_union_page                 ## TAILCALL
LBB0_2:
	movq	_TBM_HASH@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movl	16(%rbx), %edi
	leaq	-28(%rbp), %r15
	movq	%r15, %rsi
	callq	_pagetable_start_iterate
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_pagetable_iterate
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	-28(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_tbm_union_page
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_pagetable_iterate
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBM_ONE_PAGE,8,3               ## @TBM_ONE_PAGE
	.comm	_TBM_HASH,8,3                   ## @TBM_HASH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tbm_union                      ; -- Begin function tbm_union
	.p2align	2
_tbm_union:                             ; @tbm_union
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _TBM_ONE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TBM_ONE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x1, x20, #20
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_tbm_union_page
LBB0_3:
Lloh3:
	adrp	x9, _TBM_HASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TBM_HASH@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x20, #16]
	add	x1, sp, #12
	bl	_pagetable_start_iterate
	ldr	w0, [x20, #16]
	add	x1, sp, #12
	bl	_pagetable_iterate
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_tbm_union_page
	ldr	w0, [x20, #16]
	add	x1, sp, #12
	bl	_pagetable_iterate
	mov	x1, x0
	cbnz	x0, LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TBM_ONE_PAGE,8,3               ; @TBM_ONE_PAGE
	.comm	_TBM_HASH,8,3                   ; @TBM_HASH
.subsections_via_symbols
