	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_buffers                  ## -- Begin function check_buffers
	.p2align	4, 0x90
_check_buffers:                         ## @check_buffers
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_good_buf@GOTPCREL(%rip), %rax
	movl	%edi, %edi
	shlq	$3, %rdi
	addq	(%rax), %rdi
	movq	_temp_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_prt
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_prt
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.2:
	movq	_temp_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_badoff@GOTPCREL(%rip), %r8
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r9d, %r9d
	xorl	%esi, %esi
	movq	_good_buf@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%esi
	movl	%ebx, (%r8)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	addq	$8, %r15
	incl	%r13d
	decl	%r14d
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	movl	%ebx, %r12d
	movzbl	(%rdi,%r15), %ecx
	xorb	(%rax,%r12,8), %cl
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%esi, %esi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	andl	$1, %eax
	addl	%r13d, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	addq	%r15, %rdi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_short_at
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shlq	$3, %r12
	movq	_good_buf@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r12, %rdi
	callq	_short_at
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_prt
	movq	_badoff@GOTPCREL(%rip), %r8
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	_good_buf@GOTPCREL(%rip), %rdx
	movq	_temp_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	(%rdi,%rax,8), %r9d
	jmp	LBB0_6
LBB0_8:
	testl	%esi, %esi
	je	LBB0_12
## %bb.9:
	movl	%r9d, %ebx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_prt
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movzbl	%bl, %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_prt
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_13
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.5(%rip), %rdi
LBB0_13:
	xorl	%eax, %eax
	callq	_prt
LBB0_14:
	movl	$110, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_report_failure                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_good_buf,8,3                   ## @good_buf
	.comm	_temp_buf,8,3                   ## @temp_buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"READ BAD DATA: offset = 0x%x, size = 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"OFFSET\tGOOD\tBAD\tRANGE\n"

L_.str.2:                               ## @.str.2
	.asciz	"0x%5x\t0x%04x\t0x%04x"

	.comm	_badoff,4,2                     ## @badoff
L_.str.3:                               ## @.str.3
	.asciz	"\t0x%5x\n"

L_.str.4:                               ## @.str.4
	.asciz	"operation# (mod 256) for the bad data may be %u\n"

L_.str.5:                               ## @.str.5
	.asciz	"operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops\n"

L_.str.6:                               ## @.str.6
	.asciz	"????????????????\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_buffers                  ; -- Begin function check_buffers
	.p2align	2
_check_buffers:                         ; @check_buffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _good_buf@GOTPAGE
Lloh1:
	ldr	x23, [x23, _good_buf@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x0, x8, w0, uxtw #3
Lloh2:
	adrp	x8, _temp_buf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _temp_buf@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	mov	x2, x19
	bl	_memcmp
	cbz	x0, LBB0_12
; %bb.1:
	mov	x8, x20
	stp	x8, x19, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_prt
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_prt
	cbz	w19, LBB0_11
; %bb.2:
	mov	w26, #0
	mov	x27, #0
	mov	w21, #0
	mov	w22, #0
	mov	w25, #0
Lloh9:
	adrp	x8, _temp_buf@GOTPAGE
Lloh10:
	ldr	x8, [x8, _temp_buf@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x28, _badoff@GOTPAGE
Lloh13:
	ldr	x28, [x28, _badoff@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	str	w20, [x28]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	add	x27, x27, #8
	add	w26, w26, #1
	subs	w19, w19, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x9, [x9, w20, uxtw #3]
	add	x0, x8, x27
	ldr	w10, [x0]
	eor	w9, w10, w9
	tst	x9, #0xff
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w25, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w20, #0x1
	add	w22, w26, w8
	mov	w24, w20
	bl	_short_at
	mov	x21, x0
	ldr	x8, [x23]
	add	x0, x8, x24, lsl #3
	bl	_short_at
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x21, [sp, #8]
	str	x20, [sp]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_prt
Lloh16:
	adrp	x8, _temp_buf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _temp_buf@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x22, [x8, w22, uxtw #3]
	b	LBB0_3
LBB0_8:
	cbz	w25, LBB0_11
; %bb.9:
	str	x25, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_prt
	cbz	w21, LBB0_13
; %bb.10:
	and	w8, w22, #0xff
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_14:
	bl	_prt
	mov	w0, #110
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_report_failure
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_good_buf,8,3                   ; @good_buf
	.comm	_temp_buf,8,3                   ; @temp_buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"READ BAD DATA: offset = 0x%x, size = 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"OFFSET\tGOOD\tBAD\tRANGE\n"

l_.str.2:                               ; @.str.2
	.asciz	"0x%5x\t0x%04x\t0x%04x"

	.comm	_badoff,4,2                     ; @badoff
l_.str.3:                               ; @.str.3
	.asciz	"\t0x%5x\n"

l_.str.4:                               ; @.str.4
	.asciz	"operation# (mod 256) for the bad data may be %u\n"

l_.str.5:                               ; @.str.5
	.asciz	"operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops\n"

l_.str.6:                               ; @.str.6
	.asciz	"????????????????\n"

.subsections_via_symbols
