	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan                    ## -- Begin function matrix_scan
	.p2align	4, 0x90
_matrix_scan:                           ## @matrix_scan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_is_modified@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_m0110_recv_key
	movq	%rax, %rbx
	movq	_M0110_NULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.1:
	movq	_M0110_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.2:
	movl	$1, (%r15)
	movq	%rbx, %rdi
	callq	_register_key
	movq	_debug_enable@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_print
	movq	%rbx, %rdi
	callq	_phex
	leaq	L_.str.1(%rip), %rdi
	callq	_print
LBB0_4:
	xorl	%eax, %eax
	callq	_matrix_scan_quantum
	movl	$1, %r14d
LBB0_5:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_is_modified,4,2                ## @is_modified
	.comm	_M0110_NULL,8,3                 ## @M0110_NULL
	.comm	_M0110_ERROR,8,3                ## @M0110_ERROR
	.comm	_debug_enable,8,3               ## @debug_enable
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"["

L_.str.1:                               ## @.str.1
	.asciz	"]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan                    ; -- Begin function matrix_scan
	.p2align	2
_matrix_scan:                           ; @matrix_scan
	.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	x20, _is_modified@GOTPAGE
Lloh1:
	ldr	x20, [x20, _is_modified@GOTPAGEOFF]
	str	wzr, [x20]
	bl	_m0110_recv_key
Lloh2:
	adrp	x8, _M0110_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M0110_NULL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _M0110_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M0110_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x20]
	bl	_register_key
Lloh8:
	adrp	x8, _debug_enable@GOTPAGE
Lloh9:
	ldr	x8, [x8, _debug_enable@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print
	mov	x0, x19
	bl	_phex
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_print
LBB0_4:
	bl	_matrix_scan_quantum
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_is_modified,4,2                ; @is_modified
	.comm	_M0110_NULL,8,3                 ; @M0110_NULL
	.comm	_M0110_ERROR,8,3                ; @M0110_ERROR
	.comm	_debug_enable,8,3               ; @debug_enable
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"["

l_.str.1:                               ; @.str.1
	.asciz	"]\n"

.subsections_via_symbols
