	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_sms2enable_mode
_stm32_sms2enable_mode:                 ## @stm32_sms2enable_mode
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	testl	%edi, %edi
	je	LBB0_6
## %bb.1:
	cmpl	$6, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$5, %eax
	jne	LBB0_5
## %bb.3:
	movl	$1, %eax
	retq
LBB0_4:
	movl	$2, %eax
	retq
LBB0_5:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stm32_sms2enable_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_sms2enable_mode
_stm32_sms2enable_mode:                 ; @stm32_sms2enable_mode
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_6
; %bb.1:
	cmp	w0, #6
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #5
	b.ne	LBB0_5
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
	mov	w0, #2
	ret
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stm32_sms2enable_mode
.subsections_via_symbols
