	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_init_wr_64
_bnx2x_init_wr_64:                      ## @bnx2x_init_wr_64
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%esi, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_FW_BUF_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leal	3(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	movl	(%rdx), %esi
	movl	4(%rdx), %edi
	callq	_HILO_U64
	movl	%eax, %r13d
	movl	(%r15), %eax
	leal	7(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$3, %edi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_min
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GUNZIP_BUF
	movl	%r13d, (%rax,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.4:
	sarl	$2, %r12d
	addl	%r13d, %r13d
	leal	(,%r12,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movl	%r13d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_min
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_bnx2x_write_big_buf_wb
	addl	%r12d, %r15d
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	subl	%r12d, %ebx
	cmpl	%r15d, %r13d
	jg	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_BUF_SIZE,4,2                ## @FW_BUF_SIZE
	.no_dead_strip	_bnx2x_init_wr_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_init_wr_64
_bnx2x_init_wr_64:                      ; @bnx2x_init_wr_64
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _FW_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FW_BUF_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w23, w9, w8, lt
	ldp	w1, w0, [x2]
	bl	_HILO_U64
	mov	x22, x0
	ldr	w8, [x24]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	mov	x1, x21
	bl	_min
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	mov	w8, w0
	lsl	x25, x8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GUNZIP_BUF
	str	w22, [x0, x24]
	add	x24, x24, #4
	cmp	x25, x24
	b.ne	LBB0_2
LBB0_3:
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w24, #0
	asr	w22, w23, #2
	lsl	w23, w21, #1
	lsl	w25, w22, #2
	mov	x21, x23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_min
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_write_big_buf_wb
	add	w19, w19, w25
	sub	w21, w21, w22
	add	w24, w24, w22
	cmp	w23, w24
	b.gt	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_BUF_SIZE,4,2                ; @FW_BUF_SIZE
	.no_dead_strip	_bnx2x_init_wr_64
.subsections_via_symbols
