	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmnand_sector_1k_shift
_brcmnand_sector_1k_shift:              ## @brcmnand_sector_1k_shift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	$9, %eax
	cmpl	$1793, %ecx                     ## imm = 0x701
	jg	LBB0_3
## %bb.1:
	movl	$7, %eax
	cmpl	$1535, %ecx                     ## imm = 0x5FF
	jg	LBB0_3
## %bb.2:
	cmpl	$1280, %ecx                     ## imm = 0x500
	movl	$6, %ecx
	movl	$-1, %eax
	cmovgel	%ecx, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_brcmnand_sector_1k_shift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmnand_sector_1k_shift
_brcmnand_sector_1k_shift:              ; @brcmnand_sector_1k_shift
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #9
	mov	w10, #7
	cmp	w8, #1279
	mov	w11, #6
	csinv	w11, w11, wzr, gt
	cmp	w8, #1535
	csel	w10, w10, w11, gt
	cmp	w8, #1793
	csel	w0, w9, w10, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_brcmnand_sector_1k_shift
.subsections_via_symbols
