	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_ioc_fwver_valid
_bfa_ioc_fwver_valid:                   ## @bfa_ioc_fwver_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	callq	_bfa_nw_ioc_fwver_get
	movq	%rbx, %rdi
	callq	_bfa_ioc_asic_gen
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_bfa_cb_image_get_chunk
	movq	-40(%rbp), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_swab32
	cmpq	%r14, %rax
	jne	LBB0_3
## %bb.2:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bfa_nw_ioc_fwver_cmp
	movl	%eax, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bfa_ioc_fwver_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfa_ioc_fwver_valid
_bfa_ioc_fwver_valid:                   ; @bfa_ioc_fwver_valid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x1, sp
	bl	_bfa_nw_ioc_fwver_get
	mov	x0, x19
	bl	_bfa_ioc_asic_gen
	mov	w1, #0
	bl	_bfa_cb_image_get_chunk
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [sp]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_swab32
	cmp	x0, x20
	b.ne	LBB0_3
; %bb.2:
	mov	x1, sp
	mov	x0, x19
	bl	_bfa_nw_ioc_fwver_cmp
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bfa_ioc_fwver_valid
.subsections_via_symbols
