	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_rx_credits
_update_rx_credits:                     ## @update_rx_credits
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	$4, %edi
	movl	$16, %esi
	callq	_roundup
	movl	%eax, %ebx
	movl	20(%r15), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r13d, %ecx
	callq	_pr_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_get_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	(%r15), %eax
	movq	_RCV_BUFSIZ_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$10, %ecx
	subl	%ecx, %eax
	cmovgl	%eax, %r14d
	addl	%r13d, %r14d
	movq	_RX_FORCE_ACK_F@GOTPCREL(%rip), %rax
	movq	_RX_DACK_CHANGE_F@GOTPCREL(%rip), %rcx
	movl	%ebx, %r13d
	movl	(%rcx), %ebx
	movq	_dack_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %ebx
	callq	_RX_DACK_MODE_V
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	16(%r15), %ecx
	movl	20(%r15), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %r8d
	callq	_cxgb_mk_rx_data_ack
	movq	8(%r15), %rdi
	movq	%r12, %rsi
	callq	_c4iw_ofld_send
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u credits %u\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"update_rx_credits - cannot alloc skb!\n"

	.comm	_RCV_BUFSIZ_M,4,2               ## @RCV_BUFSIZ_M
	.comm	_RX_FORCE_ACK_F,4,2             ## @RX_FORCE_ACK_F
	.comm	_RX_DACK_CHANGE_F,4,2           ## @RX_DACK_CHANGE_F
	.comm	_dack_mode,4,2                  ## @dack_mode
	.no_dead_strip	_update_rx_credits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_rx_credits
_update_rx_credits:                     ; @update_rx_credits
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x19, x0
	mov	w0, #4
	mov	w1, #16
	bl	_roundup
	mov	x20, x0
	ldr	w2, [x19, #20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x22
	bl	_pr_debug
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, x20
	bl	_get_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _RCV_BUFSIZ_M@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RCV_BUFSIZ_M@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	w9, w9, #10
	subs	w8, w8, w9
	csel	w8, w8, wzr, gt
	add	w22, w8, w22
Lloh8:
	adrp	x8, _RX_FORCE_ACK_F@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RX_FORCE_ACK_F@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
Lloh11:
	adrp	x8, _RX_DACK_CHANGE_F@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_DACK_CHANGE_F@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
Lloh14:
	adrp	x8, _dack_mode@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dack_mode@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_RX_DACK_MODE_V
	orr	w8, w24, w23
	orr	w8, w8, w22
	orr	w4, w8, w0
	ldp	w3, w2, [x19, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_cxgb_mk_rx_data_ack
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_c4iw_ofld_send
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w22, #0
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u credits %u\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"update_rx_credits - cannot alloc skb!\n"

	.comm	_RCV_BUFSIZ_M,4,2               ; @RCV_BUFSIZ_M
	.comm	_RX_FORCE_ACK_F,4,2             ; @RX_FORCE_ACK_F
	.comm	_RX_DACK_CHANGE_F,4,2           ; @RX_DACK_CHANGE_F
	.comm	_dack_mode,4,2                  ; @dack_mode
	.no_dead_strip	_update_rx_credits
.subsections_via_symbols
