	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_bcast_enable              ## -- Begin function lima_bcast_enable
	.p2align	4, 0x90
_lima_bcast_enable:                     ## @lima_bcast_enable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	8(%rdi), %r15
	movq	_lima_pipe_pp@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_LIMA_BCAST_BROADCAST_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_bcast_read
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.1:
	movq	(%r15,%r12,8), %rsi
	movq	_lima_ip_pp0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %r9d
	leaq	-1(%r9), %rdi
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rbx
	movq	8(%rsi,%rdi,8), %rdx
	movl	(%rbx), %ebx
	subl	%ecx, %ebx
	btsl	%ebx, %eax
	movl	(%rdx), %edx
	subl	%ecx, %edx
	btsl	%edx, %eax
	movq	16(%rsi,%rdi,8), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	btsl	%edx, %eax
	movq	24(%rsi,%rdi,8), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	btsl	%edx, %eax
	addq	$4, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rsi,%rdi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	movl	(%rdi), %edi
	subl	%ecx, %edi
	btsl	%edi, %eax
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_7
LBB0_8:
	movl	(%r14), %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcast_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_pipe_pp,4,2               ## @lima_pipe_pp
	.comm	_lima_ip_bcast,4,2              ## @lima_ip_bcast
	.comm	_LIMA_BCAST_BROADCAST_MASK,4,2  ## @LIMA_BCAST_BROADCAST_MASK
	.comm	_lima_ip_pp0,4,2                ## @lima_ip_pp0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lima_bcast_enable              ; -- Begin function lima_bcast_enable
	.p2align	2
_lima_bcast_enable:                     ; @lima_bcast_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _lima_pipe_pp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_pipe_pp@GOTPAGEOFF]
Lloh2:
	ldrsw	x22, [x8]
Lloh3:
	adrp	x20, _LIMA_BCAST_BROADCAST_MASK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _LIMA_BCAST_BROADCAST_MASK@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_bcast_read
	and	w1, w0, #0xffff0000
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x21, x22, lsl #3]
Lloh5:
	adrp	x8, _lima_ip_pp0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lima_ip_pp0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w10, w19
	cmp	w19, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	mov	w14, #0
	mov	w13, #0
	mov	w12, #0
	and	x11, x10, #0xfffffffc
	add	x15, x9, #16
	mov	w16, #1
	mov	x17, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x2, [x15, #-16]
	ldp	x3, x4, [x15], #32
	ldr	w0, [x0]
	ldr	w2, [x2]
	ldr	w3, [x3]
	sub	w0, w0, w8
	sub	w2, w2, w8
	ldr	w4, [x4]
	sub	w3, w3, w8
	sub	w4, w4, w8
	lsl	w0, w16, w0
	lsl	w2, w16, w2
	lsl	w3, w16, w3
	lsl	w4, w16, w4
	orr	w1, w0, w1
	orr	w14, w2, w14
	orr	w13, w3, w13
	orr	w12, w4, w12
	subs	x17, x17, #4
	b.ne	LBB0_4
; %bb.5:
	orr	w14, w14, w1
	orr	w13, w13, w14
	orr	w1, w12, w13
	cmp	x11, x10
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x11, lsl #3
	sub	x10, x10, x11
	mov	w11, #1
LBB0_7:                                 ; =>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_7
LBB0_8:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bcast_write
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_pipe_pp,4,2               ; @lima_pipe_pp
	.comm	_lima_ip_bcast,4,2              ; @lima_ip_bcast
	.comm	_LIMA_BCAST_BROADCAST_MASK,4,2  ; @LIMA_BCAST_BROADCAST_MASK
	.comm	_lima_ip_pp0,4,2                ; @lima_ip_pp0
.subsections_via_symbols
