	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_tt_add_mapping
_ttm_tt_add_mapping:                    ## @ttm_tt_add_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TTM_PAGE_FLAG_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	16(%rdi), %rax
	movq	24(%rdi), %rdx
	movl	(%rax), %eax
	leaq	-1(%rsi), %rdi
	movl	%esi, %r8d
	andl	$7, %r8d
	cmpq	$7, %rdi
	jae	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_4:
	andq	$-8, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	8(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	16(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	24(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	32(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	40(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	48(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	movq	56(%rdx,%rdi,8), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_5
LBB0_6:
	testq	%r8, %r8
	je	LBB0_9
## %bb.7:
	leaq	(%rdx,%rdi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rcx
	movl	%eax, (%rcx)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_TTM_PAGE_FLAG_SG,4,2           ## @TTM_PAGE_FLAG_SG
	.no_dead_strip	_ttm_tt_add_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_tt_add_mapping
_ttm_tt_add_mapping:                    ; @ttm_tt_add_mapping
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TTM_PAGE_FLAG_SG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TTM_PAGE_FLAG_SG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.1:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_9
; %bb.2:
	ldp	x8, x10, [x0, #16]
	ldr	w8, [x8]
	cmp	x9, #4
	b.hs	LBB0_4
; %bb.3:
	mov	x11, #0
	b	LBB0_7
LBB0_4:
	and	x11, x9, #0xfffffffffffffffc
	add	x12, x10, #16
	mov	x13, x11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x14, x15, [x12, #-16]
	ldp	x16, x17, [x12], #32
	str	w8, [x14]
	str	w8, [x15]
	str	w8, [x16]
	str	w8, [x17]
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x11
	b.eq	LBB0_9
LBB0_7:
	sub	x9, x9, x11
	add	x10, x10, x11, lsl #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	str	w8, [x11]
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTM_PAGE_FLAG_SG,4,2           ; @TTM_PAGE_FLAG_SG
	.no_dead_strip	_ttm_tt_add_mapping
.subsections_via_symbols
