	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expander_read_row              ## -- Begin function expander_read_row
	.p2align	4, 0x90
_expander_read_row:                     ## @expander_read_row
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_expander_read_cols
	movq	_MATRIX_COLS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.3:
	movl	$-1, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_expander_get_col
	movl	(%r15), %edx
	leal	(%r12,%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rsi
	testq	%rax, %rax
	cmoveq	%rax, %rsi
	orq	%rsi, %r14
	incl	%ebx
	decl	%r12d
	cmpl	%edx, %ebx
	jl	LBB0_4
	jmp	LBB0_2
LBB0_1:
	xorl	%r14d, %r14d
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MATRIX_COLS,4,2                ## @MATRIX_COLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expander_read_row              ; -- Begin function expander_read_row
	.p2align	2
_expander_read_row:                     ; @expander_read_row
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_expander_read_cols
Lloh0:
	adrp	x21, _MATRIX_COLS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MATRIX_COLS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
	mov	x19, #0
	mov	w22, #-1
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_expander_get_col
	ldr	w8, [x21]
	add	w9, w22, w8
	lsl	x9, x23, x9
	cmp	x0, #0
	csel	x9, xzr, x9, eq
	orr	x19, x19, x9
	add	w20, w20, #1
	sub	w22, w22, #1
	cmp	w20, w8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MATRIX_COLS,4,2                ; @MATRIX_COLS
.subsections_via_symbols
