	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_init_fw_data               ## -- Begin function qed_init_fw_data
	.p2align	4, 0x90
_qed_init_fw_data:                      ## @qed_init_fw_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	_BIN_BUF_INIT_FW_VER_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rsi,%rcx,8), %rcx
	leaq	(%rsi,%rcx,4), %rcx
	movq	%rcx, 32(%rax)
	movq	_BIN_BUF_INIT_CMD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rsi,%rcx,8), %rdx
	leaq	(%rsi,%rdx,4), %rdx
	movq	%rdx, 24(%rax)
	movq	_BIN_BUF_INIT_VAL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	(%rsi,%rdx,8), %rdx
	leaq	(%rsi,%rdx,4), %rdx
	movq	%rdx, (%rax)
	movq	_BIN_BUF_INIT_MODE_TREE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	(%rsi,%rdx,8), %rdx
	leaq	(%rsi,%rdx,4), %rdx
	movq	%rdx, 16(%rax)
	movl	4(%rsi,%rcx,8), %ecx
	sarl	$2, %ecx
	movl	%ecx, 8(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	callq	_DP_NOTICE
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid fw data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BIN_BUF_INIT_FW_VER_INFO,8,3   ## @BIN_BUF_INIT_FW_VER_INFO
	.comm	_BIN_BUF_INIT_CMD,8,3           ## @BIN_BUF_INIT_CMD
	.comm	_BIN_BUF_INIT_VAL,8,3           ## @BIN_BUF_INIT_VAL
	.comm	_BIN_BUF_INIT_MODE_TREE,8,3     ## @BIN_BUF_INIT_MODE_TREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_init_fw_data               ; -- Begin function qed_init_fw_data
	.p2align	2
_qed_init_fw_data:                      ; @qed_init_fw_data
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BIN_BUF_INIT_FW_VER_INFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIN_BUF_INIT_FW_VER_INFO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	ldrsw	x9, [x1, x9]
	add	x9, x1, x9, lsl #2
	str	x9, [x8, #32]
Lloh3:
	adrp	x9, _BIN_BUF_INIT_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIN_BUF_INIT_CMD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x1, x9, lsl #3
Lloh6:
	adrp	x10, _BIN_BUF_INIT_VAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BIN_BUF_INIT_VAL@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldrsw	x10, [x1, x10]
	add	x10, x1, x10, lsl #2
	str	x10, [x8]
Lloh9:
	adrp	x10, _BIN_BUF_INIT_MODE_TREE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BIN_BUF_INIT_MODE_TREE@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldrsw	x10, [x1, x10]
	ldp	w11, w9, [x9]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	x11, x1, x11, lsl #2
	add	x10, x1, x10, lsl #2
	stp	x10, x11, [x8, #16]
	asr	w9, w9, #2
	str	w9, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_DP_NOTICE
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid fw data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BIN_BUF_INIT_FW_VER_INFO,8,3   ; @BIN_BUF_INIT_FW_VER_INFO
	.comm	_BIN_BUF_INIT_CMD,8,3           ; @BIN_BUF_INIT_CMD
	.comm	_BIN_BUF_INIT_VAL,8,3           ; @BIN_BUF_INIT_VAL
	.comm	_BIN_BUF_INIT_MODE_TREE,8,3     ; @BIN_BUF_INIT_MODE_TREE
.subsections_via_symbols
