	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spi_nor_smpt_addr_width
_spi_nor_smpt_addr_width:               ## @spi_nor_smpt_addr_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMPT_CMD_ADDRESS_LEN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	addl	$-129, %esi
	cmpl	$3, %esi
	movslq	%esi, %rax
	leaq	l_switch.table.spi_nor_smpt_addr_width(%rip), %rcx
	leaq	(%rcx,%rax,4), %rax
	cmovaeq	%rdi, %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMPT_CMD_ADDRESS_LEN_MASK,4,2  ## @SMPT_CMD_ADDRESS_LEN_MASK
	.no_dead_strip	_spi_nor_smpt_addr_width
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.spi_nor_smpt_addr_width
l_switch.table.spi_nor_smpt_addr_width:
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spi_nor_smpt_addr_width
_spi_nor_smpt_addr_width:               ; @spi_nor_smpt_addr_width
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SMPT_CMD_ADDRESS_LEN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMPT_CMD_ADDRESS_LEN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, l_switch.table.spi_nor_smpt_addr_width@PAGE
Lloh4:
	add	x9, x9, l_switch.table.spi_nor_smpt_addr_width@PAGEOFF
	sub	w8, w8, #129
	add	x9, x9, w8, sxtw #2
	cmp	w8, #3
	csel	x8, x9, x0, lo
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMPT_CMD_ADDRESS_LEN_MASK,4,2  ; @SMPT_CMD_ADDRESS_LEN_MASK
	.no_dead_strip	_spi_nor_smpt_addr_width
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.spi_nor_smpt_addr_width
l_switch.table.spi_nor_smpt_addr_width:
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	0                               ; 0x0

.subsections_via_symbols
