	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spi_nor_set_erase_type
_spi_nor_set_erase_type:                ## @spi_nor_set_erase_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	bsfl	%esi, %ecx
	movl	$-1, %eax
	cmovel	%eax, %ecx
	movl	%esi, 8(%rdi)
	shll	%cl, %eax
	movl	%edx, 12(%rdi)
	movl	%ecx, (%rdi)
	notl	%eax
	movl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spi_nor_set_erase_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spi_nor_set_erase_type
_spi_nor_set_erase_type:                ; @spi_nor_set_erase_type
	.cfi_startproc
; %bb.0:
	stp	w1, w2, [x0, #8]
	rbit	w8, w1
	clz	w8, w8
	cmp	w1, #0
	csinv	w8, w8, wzr, ne
	mov	w9, #-1
	lsl	w9, w9, w8
	mvn	w9, w9
	stp	w8, w9, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spi_nor_set_erase_type
.subsections_via_symbols
