	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bnx2x_get_preset_regs_len
___bnx2x_get_preset_regs_len:           ## @__bnx2x_get_preset_regs_len
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_dump_num_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_2:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1H
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_dump_num_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rax
	jmp	LBB0_11
LBB0_4:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E2
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_dump_num_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$16, %rax
	jmp	LBB0_11
LBB0_6:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E3A0
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_dump_num_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rax
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E3B0
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_dump_num_registers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$32, %rax
LBB0_11:
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	-4(%rax,%rcx,4), %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_num_registers,8,3         ## @dump_num_registers
	.no_dead_strip	___bnx2x_get_preset_regs_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bnx2x_get_preset_regs_len
___bnx2x_get_preset_regs_len:           ; @__bnx2x_get_preset_regs_len
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _dump_num_registers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dump_num_registers@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	b	LBB0_10
LBB0_2:
	mov	x0, x20
	bl	_CHIP_IS_E1H
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _dump_num_registers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dump_num_registers@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, #8
	b	LBB0_10
LBB0_4:
	mov	x0, x20
	bl	_CHIP_IS_E2
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _dump_num_registers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dump_num_registers@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, #16
	b	LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_CHIP_IS_E3A0
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _dump_num_registers@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dump_num_registers@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x8, x8, #24
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_CHIP_IS_E3B0
	cbz	x0, LBB0_11
; %bb.9:
Lloh12:
	adrp	x8, _dump_num_registers@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dump_num_registers@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x8, #32
LBB0_10:
	ldr	x8, [x8]
	sub	w9, w19, #1
	ldr	w0, [x8, w9, sxtw #2]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_num_registers,8,3         ; @dump_num_registers
	.no_dead_strip	___bnx2x_get_preset_regs_len
.subsections_via_symbols
