	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_fw_drv_ver_x550
_ixgbe_set_fw_drv_ver_x550:             ## @ixgbe_set_fw_drv_ver_x550
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	leal	-5(%r9), %eax
	cmpl	$-4, %eax
	jb	LBB0_2
## %bb.1:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r12
	movl	%r9d, %r14d
	movq	_FW_CEM_CMD_DRIVER_INFO_LEN@GOTPCREL(%rip), %rdi
	addq	(%rdi), %r14
	movq	_FW_CEM_CMD_DRIVER_INFO@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, -96(%rbp)
	movq	%r14, -112(%rbp)
	movq	_FW_CEM_CMD_RESERVED@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, -120(%rbp)
	movq	(%r12), %rdi
	movq	%rdi, -48(%rbp)
	movq	%rsi, -56(%rbp)
	movq	%rdx, -64(%rbp)
	movq	%rcx, -72(%rbp)
	movq	%r8, -80(%rbp)
	movq	$0, -104(%rbp)
	movq	%rax, %rsi
	movl	%r9d, %edx
	callq	_memcpy
	movq	_FW_CEM_HDR_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	leaq	-128(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ixgbe_calculate_checksum
	movq	%rax, -104(%rbp)
	movq	_FW_CEM_MAX_RETRIES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	js	LBB0_4
## %bb.6:
	movl	$-1, %ebx
	movq	_IXGBE_HI_COMMAND_TIMEOUT@GOTPCREL(%rip), %r13
	leaq	-128(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$88, %edx
	movl	$1, %r8d
	callq	_ixgbe_host_interface_command
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_7
	jmp	LBB0_12
LBB0_2:
	movq	_IXGBE_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_4:
                                        ## implicit-def: $rax
	jmp	LBB0_12
LBB0_8:
	movq	-128(%rbp), %rax
	movq	_FW_CEM_RESP_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.10:
	movq	_IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
LBB0_12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_INVALID_ARGUMENT,8,3 ## @IXGBE_ERR_INVALID_ARGUMENT
	.comm	_FW_CEM_CMD_DRIVER_INFO,4,2     ## @FW_CEM_CMD_DRIVER_INFO
	.comm	_FW_CEM_CMD_DRIVER_INFO_LEN,8,3 ## @FW_CEM_CMD_DRIVER_INFO_LEN
	.comm	_FW_CEM_CMD_RESERVED,4,2        ## @FW_CEM_CMD_RESERVED
	.comm	_FW_CEM_HDR_LEN,8,3             ## @FW_CEM_HDR_LEN
	.comm	_FW_CEM_MAX_RETRIES,4,2         ## @FW_CEM_MAX_RETRIES
	.comm	_IXGBE_HI_COMMAND_TIMEOUT,4,2   ## @IXGBE_HI_COMMAND_TIMEOUT
	.comm	_FW_CEM_RESP_STATUS_SUCCESS,8,3 ## @FW_CEM_RESP_STATUS_SUCCESS
	.comm	_IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ## @IXGBE_ERR_HOST_INTERFACE_COMMAND
	.no_dead_strip	_ixgbe_set_fw_drv_ver_x550
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_fw_drv_ver_x550
_ixgbe_set_fw_drv_ver_x550:             ; @ixgbe_set_fw_drv_ver_x550
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	w8, w5, #5
	cmn	w8, #4
	ccmp	x6, #0, #4, hs
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_8
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _FW_CEM_CMD_DRIVER_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_CEM_CMD_DRIVER_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh6:
	adrp	x8, _FW_CEM_CMD_DRIVER_INFO_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_CEM_CMD_DRIVER_INFO_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x20, x8, w5, uxtw
Lloh9:
	adrp	x8, _FW_CEM_CMD_RESERVED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_CEM_CMD_RESERVED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	x8, [x0]
	stp	x1, x8, [sp, #80]
	stp	x3, x2, [sp, #64]
	str	x4, [sp, #56]
	stp	x20, xzr, [sp, #24]
	mov	x1, x6
	mov	x2, x5
	bl	_memcpy
Lloh12:
	adrp	x8, _FW_CEM_HDR_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_CEM_HDR_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x20, x8
	add	x0, sp, #8
	bl	_ixgbe_calculate_checksum
	str	x0, [sp, #32]
Lloh15:
	adrp	x20, _FW_CEM_MAX_RETRIES@GOTPAGE
Lloh16:
	ldr	x20, [x20, _FW_CEM_MAX_RETRIES@GOTPAGEOFF]
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_6
; %bb.3:
	mov	w21, #-1
Lloh17:
	adrp	x22, _IXGBE_HI_COMMAND_TIMEOUT@GOTPAGE
Lloh18:
	ldr	x22, [x22, _IXGBE_HI_COMMAND_TIMEOUT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x22]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #88
	mov	w4, #1
	bl	_ixgbe_host_interface_command
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	add	w21, w21, #1
	cmp	w21, w8
	b.lt	LBB0_4
	b	LBB0_8
LBB0_6:
                                        ; implicit-def: $x0
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp, #8]
Lloh19:
	adrp	x9, _FW_CEM_RESP_STATUS_SUCCESS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FW_CEM_RESP_STATUS_SUCCESS@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGE
Lloh23:
	ldr	x10, [x10, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x0, xzr, x10, eq
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_INVALID_ARGUMENT,8,3 ; @IXGBE_ERR_INVALID_ARGUMENT
	.comm	_FW_CEM_CMD_DRIVER_INFO,4,2     ; @FW_CEM_CMD_DRIVER_INFO
	.comm	_FW_CEM_CMD_DRIVER_INFO_LEN,8,3 ; @FW_CEM_CMD_DRIVER_INFO_LEN
	.comm	_FW_CEM_CMD_RESERVED,4,2        ; @FW_CEM_CMD_RESERVED
	.comm	_FW_CEM_HDR_LEN,8,3             ; @FW_CEM_HDR_LEN
	.comm	_FW_CEM_MAX_RETRIES,4,2         ; @FW_CEM_MAX_RETRIES
	.comm	_IXGBE_HI_COMMAND_TIMEOUT,4,2   ; @IXGBE_HI_COMMAND_TIMEOUT
	.comm	_FW_CEM_RESP_STATUS_SUCCESS,8,3 ; @FW_CEM_RESP_STATUS_SUCCESS
	.comm	_IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ; @IXGBE_ERR_HOST_INTERFACE_COMMAND
	.no_dead_strip	_ixgbe_set_fw_drv_ver_x550
.subsections_via_symbols
