	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_set_fw_version             ## -- Begin function igb_set_fw_version
	.p2align	4, 0x90
_igb_set_fw_version:                    ## @igb_set_fw_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_igb_get_fw_version
	movl	4(%rbx), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_igb_get_flash_presence_i210
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	cmpl	$0, -24(%rbp)
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %r9d
	movl	-40(%rbp), %r10d
	movl	-36(%rbp), %r11d
	movl	-32(%rbp), %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_snprintf
	addq	$32, %rsp
	jmp	LBB0_9
LBB0_5:
	movl	-44(%rbp), %r9d
	movl	(%rbx), %edi
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %r8d
	testl	%r9d, %r9d
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_2:
	movl	(%rbx), %edi
	movl	-64(%rbp), %ecx
	movl	-60(%rbp), %r8d
	movl	-56(%rbp), %r9d
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_8
LBB0_7:
	movl	-28(%rbp), %r9d
	leaq	L_.str.3(%rip), %rdx
LBB0_8:
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%2d.%2d-%d"

L_.str.1:                               ## @.str.1
	.asciz	"%d.%d, 0x%08x, %d.%d.%d"

L_.str.2:                               ## @.str.2
	.asciz	"%d.%d, 0x%08x"

L_.str.3:                               ## @.str.3
	.asciz	"%d.%d.%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_set_fw_version             ; -- Begin function igb_set_fw_version
	.p2align	2
_igb_set_fw_version:                    ; @igb_set_fw_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #4
	add	x1, sp, #32
	mov	x0, x20
	bl	_igb_get_fw_version
	ldr	w8, [x19, #4]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_igb_get_flash_presence_i210
	cbz	w0, LBB0_6
LBB0_2:
	ldr	w8, [sp, #72]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	ldp	w3, w4, [sp, #44]
	ldp	w5, w8, [sp, #52]
	ldp	w9, w10, [sp, #60]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldp	w4, w5, [sp, #48]
	ldr	w0, [x19]
	ldr	w3, [sp, #44]
	cbz	w5, LBB0_7
; %bb.5:
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
	ldp	w3, w4, [sp, #32]
	ldr	w5, [sp, #40]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w5, [sp, #68]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_8:
	mov	w1, #4
	bl	_snprintf
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%2d.%2d-%d"

l_.str.1:                               ; @.str.1
	.asciz	"%d.%d, 0x%08x, %d.%d.%d"

l_.str.2:                               ; @.str.2
	.asciz	"%d.%d, 0x%08x"

l_.str.3:                               ; @.str.3
	.asciz	"%d.%d.%d"

.subsections_via_symbols
