	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_s29gl064n_sectors
_fixup_s29gl064n_sectors:               ## @fixup_s29gl064n_sectors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpw	$63, %cx
	jne	LBB0_1
## %bb.2:
	orl	$64, %ecx
	movl	%ecx, (%rax)
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n"

	.no_dead_strip	_fixup_s29gl064n_sectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_s29gl064n_sectors
_fixup_s29gl064n_sectors:               ; @fixup_s29gl064n_sectors
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	and	w10, w9, #0xffff
	cmp	w10, #63
	b.ne	LBB0_2
; %bb.1:
	orr	w9, w9, #0x40
	str	w9, [x8]
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_warn
LBB0_2:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n"

	.no_dead_strip	_fixup_s29gl064n_sectors
.subsections_via_symbols
