	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_get_next_fwtype
_qlcnic_get_next_fwtype:                ## @qlcnic_get_next_fwtype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpl	$128, (%rax)
	movl	$129, %ecx
	je	LBB0_2
## %bb.1:
	movq	_QLCNIC_FLASH_ROMIMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_FLASH_ROMIMAGE,4,2      ## @QLCNIC_FLASH_ROMIMAGE
	.no_dead_strip	_qlcnic_get_next_fwtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_get_next_fwtype
_qlcnic_get_next_fwtype:                ; @qlcnic_get_next_fwtype
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _QLCNIC_FLASH_ROMIMAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_FLASH_ROMIMAGE@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh2:
	ldr	w9, [x9]
	mov	w11, #129
	cmp	w10, #128
	csel	w9, w11, w9, eq
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_FLASH_ROMIMAGE,4,2      ; @QLCNIC_FLASH_ROMIMAGE
	.no_dead_strip	_qlcnic_get_next_fwtype
.subsections_via_symbols
