	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_fw_data_len
_tg3_fw_data_len:                       ## @tg3_fw_data_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$-1, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movl	(%rsi), %edi
	callq	_be32_to_cpu
LBB0_3:
	movq	_TG3_FW_HDR_LEN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	sarl	$2, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TG3_FW_HDR_LEN,4,2             ## @TG3_FW_HDR_LEN
	.no_dead_strip	_tg3_fw_data_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_fw_data_len
_tg3_fw_data_len:                       ; @tg3_fw_data_len
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x1]
	bl	_be32_to_cpu
LBB0_3:
Lloh0:
	adrp	x8, _TG3_FW_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TG3_FW_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w0, w8
	asr	w0, w8, #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TG3_FW_HDR_LEN,4,2             ; @TG3_FW_HDR_LEN
	.no_dead_strip	_tg3_fw_data_len
.subsections_via_symbols
