	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_prep_iro
_bnx2x_prep_iro:                        ## @bnx2x_prep_iro
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$24, %edx
	jb	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movslq	%edx, %rax
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rcx
	shrq	$4, %rdx
	cmpq	$2, %rdx
	movl	$1, %eax
	cmovaeq	%rdx, %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movq	%rax, 16(%r12,%rbx,2)
	movl	4(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movzwl	%ax, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	shrl	$16, %eax
	movl	%eax, (%r12,%rbx,2)
	movl	%ecx, 4(%r12,%rbx,2)
	movl	8(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movzwl	%ax, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	shrl	$16, %eax
	movl	%eax, 8(%r12,%rbx,2)
	movl	%ecx, 12(%r12,%rbx,2)
	addq	$12, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bnx2x_prep_iro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_prep_iro
_bnx2x_prep_iro:                        ; @bnx2x_prep_iro
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w2, #24
	b.lo	LBB0_3
; %bb.1:
	sxtw	x8, w2
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	umulh	x8, x8, x9
	lsr	x8, x8, #4
	cmp	x8, #1
	csinc	x19, x8, xzr, hi
	add	x20, x1, #8
	add	x21, x0, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x21, #-8]
	bl	_be32_to_cpu
	str	x0, [x20, #8]
	ldur	w0, [x21, #-4]
	bl	_be32_to_cpu
	ubfx	x8, x0, #16, #16
	and	w9, w0, #0xffff
	stp	w8, w9, [x20, #-8]
	ldr	w0, [x21], #12
	bl	_be32_to_cpu
	ubfx	x8, x0, #16, #16
	and	w9, w0, #0xffff
	stp	w8, w9, [x20], #24
	subs	x19, x19, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bnx2x_prep_iro
.subsections_via_symbols
