	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_dlbu_enable               ## -- Begin function lima_dlbu_enable
	.p2align	4, 0x90
_lima_dlbu_enable:                      ## @lima_dlbu_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	_lima_pipe_pp@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %r10
	movq	_lima_ip_pp0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %r9d
	leaq	-1(%r9), %rsi
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_1:
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_4:
	andl	$-4, %r9d
	xorl	%edi, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rdi,8), %rcx
	movq	8(%r10,%rdi,8), %rdx
	movl	(%rcx), %ecx
	subl	%eax, %ecx
	btsl	%ecx, %esi
	movl	(%rdx), %ecx
	subl	%eax, %ecx
	btsl	%ecx, %esi
	movq	16(%r10,%rdi,8), %rcx
	movl	(%rcx), %ecx
	subl	%eax, %ecx
	btsl	%ecx, %esi
	movq	24(%r10,%rdi,8), %rcx
	movl	(%rcx), %ecx
	subl	%eax, %ecx
	btsl	%ecx, %esi
	addq	$4, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_5
LBB0_6:
	testq	%r8, %r8
	je	LBB0_9
## %bb.7:
	leaq	(%r10,%rdi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	movl	(%rdi), %edi
	subl	%eax, %edi
	btsl	%edi, %esi
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_8
LBB0_9:
	movq	_LIMA_DLBU_PP_ENABLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_dlbu_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_pipe_pp,4,2               ## @lima_pipe_pp
	.comm	_lima_ip_dlbu,4,2               ## @lima_ip_dlbu
	.comm	_lima_ip_pp0,4,2                ## @lima_ip_pp0
	.comm	_LIMA_DLBU_PP_ENABLE_MASK,4,2   ## @LIMA_DLBU_PP_ENABLE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_dlbu_enable               ; -- Begin function lima_dlbu_enable
	.p2align	2
_lima_dlbu_enable:                      ; @lima_dlbu_enable
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _lima_pipe_pp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_pipe_pp@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x9, [x9, x8, lsl #3]
Lloh3:
	adrp	x8, _lima_ip_pp0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lima_ip_pp0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w10, w1
	cmp	w1, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	w1, #0
	b	LBB0_7
LBB0_3:
	mov	w1, #0
	b	LBB0_9
LBB0_4:
	mov	w14, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	and	x11, x10, #0xfffffffc
	add	x16, x9, #16
	mov	w17, #1
	mov	x0, x11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x2, [x16, #-16]
	ldp	x3, x4, [x16], #32
	ldr	w1, [x1]
	ldr	w2, [x2]
	ldr	w3, [x3]
	sub	w1, w1, w8
	sub	w2, w2, w8
	ldr	w4, [x4]
	sub	w3, w3, w8
	sub	w4, w4, w8
	lsl	w1, w17, w1
	lsl	w2, w17, w2
	lsl	w3, w17, w3
	lsl	w4, w17, w4
	orr	w14, w1, w14
	orr	w15, w2, w15
	orr	w13, w3, w13
	orr	w12, w4, w12
	subs	x0, x0, #4
	b.ne	LBB0_5
; %bb.6:
	orr	w14, w15, w14
	orr	w13, w13, w14
	orr	w1, w12, w13
	cmp	x11, x10
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x11, lsl #3
	sub	x10, x10, x11
	mov	w11, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9], #8
	ldr	w12, [x12]
	sub	w12, w12, w8
	lsl	w12, w11, w12
	orr	w1, w12, w1
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
Lloh6:
	adrp	x8, _LIMA_DLBU_PP_ENABLE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LIMA_DLBU_PP_ENABLE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	_dlbu_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_pipe_pp,4,2               ; @lima_pipe_pp
	.comm	_lima_ip_dlbu,4,2               ; @lima_ip_dlbu
	.comm	_lima_ip_pp0,4,2                ; @lima_ip_pp0
	.comm	_LIMA_DLBU_PP_ENABLE_MASK,4,2   ; @LIMA_DLBU_PP_ENABLE_MASK
.subsections_via_symbols
