	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa5246a_extract_pagenum_from_infobits
_saa5246a_extract_pagenum_from_infobits: ## @saa5246a_extract_pagenum_from_infobits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	(%rdi), %eax
	movq	_ROW25_COLUMN0_PAGE_UNITS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	andl	%eax, %ecx
	movzbl	1(%rdi), %edx
	movq	_ROW25_COLUMN1_PAGE_TENS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	andl	%edx, %eax
	movq	_ROW25_COLUMN8_PAGE_HUNDREDS@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	andb	8(%rdi), %dl
	movzbl	%dl, %edx
	movl	$8, %esi
	cmovnel	%edx, %esi
	movzbl	%sil, %edx
	shll	$8, %edx
	shll	$4, %eax
	orl	%ecx, %eax
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROW25_COLUMN0_PAGE_UNITS,1,0   ## @ROW25_COLUMN0_PAGE_UNITS
	.comm	_ROW25_COLUMN1_PAGE_TENS,1,0    ## @ROW25_COLUMN1_PAGE_TENS
	.comm	_ROW25_COLUMN8_PAGE_HUNDREDS,1,0 ## @ROW25_COLUMN8_PAGE_HUNDREDS
	.no_dead_strip	_saa5246a_extract_pagenum_from_infobits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa5246a_extract_pagenum_from_infobits
_saa5246a_extract_pagenum_from_infobits: ; @saa5246a_extract_pagenum_from_infobits
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ROW25_COLUMN0_PAGE_UNITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROW25_COLUMN0_PAGE_UNITS@GOTPAGEOFF]
	ldrb	w9, [x0]
	ldrb	w8, [x8]
	and	w8, w8, w9
	ldrb	w9, [x0, #1]
Lloh2:
	adrp	x10, _ROW25_COLUMN1_PAGE_TENS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ROW25_COLUMN1_PAGE_TENS@GOTPAGEOFF]
	ldrb	w10, [x10]
	and	w9, w10, w9
	ldrb	w10, [x0, #8]
Lloh4:
	adrp	x11, _ROW25_COLUMN8_PAGE_HUNDREDS@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ROW25_COLUMN8_PAGE_HUNDREDS@GOTPAGEOFF]
	ldrb	w11, [x11]
	ands	w10, w11, w10
	mov	w11, #8
	csel	w10, w11, w10, eq
	orr	w8, w8, w9, lsl #4
	orr	w0, w8, w10, lsl #8
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ROW25_COLUMN0_PAGE_UNITS,1,0   ; @ROW25_COLUMN0_PAGE_UNITS
	.comm	_ROW25_COLUMN1_PAGE_TENS,1,0    ; @ROW25_COLUMN1_PAGE_TENS
	.comm	_ROW25_COLUMN8_PAGE_HUNDREDS,1,0 ; @ROW25_COLUMN8_PAGE_HUNDREDS
	.no_dead_strip	_saa5246a_extract_pagenum_from_infobits
.subsections_via_symbols
