	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lima_bcast_init
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lima_bcast_init
	.p2align	4, 0x90
_lima_bcast_init:                       ## @lima_bcast_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_lima_ip_pp0@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_lima_ip_pp7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	xorl	%ebx, %ebx
	cmpl	%eax, %r8d
	jl	LBB0_7
## %bb.1:
	movq	(%rdi), %rcx
	movq	(%rcx), %r11
	movl	%r8d, %r9d
	subl	%eax, %r9d
	xorl	%r10d, %r10d
	movq	%rax, %rdi
	movl	$0, %ebx
	cmpl	$3, %r9d
	jb	LBB0_5
## %bb.2:
	incq	%r9
	movq	%r9, %rcx
	andq	$-4, %rcx
	leaq	(%rcx,%rax), %rdi
	movd	%eax, %xmm0
	pshufd	$80, %xmm0, %xmm10              ## xmm10 = xmm0[0,0,1,1]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	paddd	%xmm10, %xmm0
	leaq	(%r11,%rax,8), %rbx
	addq	$16, %rbx
	pxor	%xmm11, %xmm11
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = <4,4,u,u>
	pxor	%xmm6, %xmm6
	pxor	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rbx,%rsi,8), %xmm4
	movdqu	(%rbx,%rsi,8), %xmm7
	pcmpeqq	%xmm11, %xmm4
	pshufd	$232, %xmm4, %xmm4              ## xmm4 = xmm4[0,2,2,3]
	pcmpeqq	%xmm11, %xmm7
	pshufd	$232, %xmm7, %xmm7              ## xmm7 = xmm7[0,2,2,3]
	movdqa	%xmm0, %xmm1
	psubd	%xmm10, %xmm1
	movdqa	%xmm1, %xmm2
	paddd	%xmm8, %xmm2
	pslld	$23, %xmm1
	paddd	%xmm5, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pandn	%xmm1, %xmm4
	por	%xmm4, %xmm6
	pslld	$23, %xmm2
	paddd	%xmm5, %xmm2
	cvttps2dq	%xmm2, %xmm1
	pandn	%xmm1, %xmm7
	por	%xmm7, %xmm3
	addq	$4, %rsi
	paddd	%xmm9, %xmm0
	cmpq	%rsi, %rcx
	jne	LBB0_3
## %bb.4:
	por	%xmm6, %xmm3
	pshufd	$85, %xmm3, %xmm0               ## xmm0 = xmm3[1,1,1,1]
	por	%xmm3, %xmm0
	movd	%xmm0, %ebx
	cmpq	%rcx, %r9
	je	LBB0_7
LBB0_5:
	incl	%r8d
	negl	%eax
	movl	%r8d, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rdi), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	cmpq	$0, (%r11,%rdi,8)
	cmovel	%r10d, %edx
	orl	%edx, %ebx
	incq	%rdi
	cmpl	%edi, %esi
	jne	LBB0_6
LBB0_7:
	movq	_LIMA_BCAST_BROADCAST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	shll	$16, %esi
	callq	_bcast_write
	movq	_LIMA_BCAST_INTERRUPT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_bcast_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_ip_pp0,4,2                ## @lima_ip_pp0
	.comm	_lima_ip_pp7,4,2                ## @lima_ip_pp7
	.comm	_LIMA_BCAST_BROADCAST_MASK,4,2  ## @LIMA_BCAST_BROADCAST_MASK
	.comm	_LIMA_BCAST_INTERRUPT_MASK,4,2  ## @LIMA_BCAST_INTERRUPT_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lima_bcast_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_lima_bcast_init
	.p2align	2
_lima_bcast_init:                       ; @lima_bcast_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _lima_ip_pp0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_ip_pp0@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x8]
Lloh3:
	adrp	x8, _lima_ip_pp7@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lima_ip_pp7@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_9
LBB0_2:
	ldr	x10, [x0]
	ldr	x10, [x10]
	sub	w11, w8, w9
	cmp	w11, #7
	b.hs	LBB0_4
; %bb.3:
	mov	w19, #0
	mov	x11, x9
	b	LBB0_7
LBB0_4:
	dup.2s	v0, w9
Lloh6:
	adrp	x12, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x12, lCPI0_0@PAGEOFF]
	add.2s	v1, v0, v1
	add	x12, x11, #1
	and	x13, x12, #0x1fffffff8
	add	x11, x13, x9
	movi.2d	v2, #0000000000000000
	movi.2s	v3, #2
	movi.2s	v4, #4
	add	x14, x10, x9, lsl #3
	add	x14, x14, #32
	movi.2s	v5, #6
	movi.2s	v6, #1
	movi.2s	v7, #8
	mov	x15, x13
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q19, q20, [x14, #-32]
	ldp	q21, q22, [x14], #64
	cmeq.2d	v19, v19, #0
	xtn.2s	v19, v19
	cmeq.2d	v20, v20, #0
	xtn.2s	v20, v20
	cmeq.2d	v21, v21, #0
	xtn.2s	v21, v21
	cmeq.2d	v22, v22, #0
	xtn.2s	v22, v22
	sub.2s	v23, v1, v0
	add.2s	v24, v23, v3
	add.2s	v25, v23, v4
	add.2s	v26, v23, v5
	ushl.2s	v23, v6, v23
	ushl.2s	v24, v6, v24
	ushl.2s	v25, v6, v25
	ushl.2s	v26, v6, v26
	bic.8b	v19, v23, v19
	bic.8b	v20, v24, v20
	bic.8b	v21, v25, v21
	bic.8b	v22, v26, v22
	orr.8b	v2, v19, v2
	orr.8b	v16, v20, v16
	orr.8b	v17, v21, v17
	orr.8b	v18, v22, v18
	add.2s	v1, v1, v7
	subs	x15, x15, #8
	b.ne	LBB0_5
; %bb.6:
	orr.8b	v0, v16, v2
	orr.8b	v0, v17, v0
	orr.8b	v0, v18, v0
	mov.s	w14, v0[1]
	fmov	w15, s0
	orr	w19, w15, w14
	cmp	x12, x13
	b.eq	LBB0_9
LBB0_7:
	sub	w9, w11, w9
	add	x10, x10, x11, lsl #3
	sub	w8, w8, w11
	add	w8, w8, #1
	mov	w11, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #8
	lsl	w13, w11, w9
	cmp	x12, #0
	csel	w12, wzr, w13, eq
	orr	w19, w12, w19
	add	w9, w9, #1
	subs	w8, w8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh8:
	adrp	x8, _LIMA_BCAST_BROADCAST_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LIMA_BCAST_BROADCAST_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	lsl	w1, w19, #16
	bl	_bcast_write
Lloh11:
	adrp	x8, _LIMA_BCAST_INTERRUPT_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LIMA_BCAST_INTERRUPT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_bcast_write
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_ip_pp0,4,2                ; @lima_ip_pp0
	.comm	_lima_ip_pp7,4,2                ; @lima_ip_pp7
	.comm	_LIMA_BCAST_BROADCAST_MASK,4,2  ; @LIMA_BCAST_BROADCAST_MASK
	.comm	_LIMA_BCAST_INTERRUPT_MASK,4,2  ; @LIMA_BCAST_INTERRUPT_MASK
.subsections_via_symbols
