	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moxa_check_fw_model
_moxa_check_fw_model:                   ## @moxa_check_fw_model
	.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), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.6:
	xorl	%eax, %eax
	cmpl	$1, %esi
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$3, %esi
	jne	LBB0_4
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_moxa_check_fw_model
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moxa_check_fw_model
_moxa_check_fw_model:                   ; @moxa_check_fw_model
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_3
; %bb.1:
	cmp	w1, #1
	b.ne	LBB0_8
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.4:
	cmp	w1, #3
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #0
	ret
LBB0_6:
	cmp	w1, #2
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_moxa_check_fw_model
.subsections_via_symbols
