	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmveth_rxq_recycle_buffer
_ibmveth_rxq_recycle_buffer:            ## @ibmveth_rxq_recycle_buffer
	.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
	movq	%rdi, %rbx
	movl	$1, %r14d
	movl	$1, %edi
	callq	_BUG_ON
	movl	$1, %edi
	callq	_BUG_ON
	movq	40(%rbx), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_h_add_logical_lan_buffer
	movq	_H_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_netdev_dbg
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%rbx, %rdi
	callq	_ibmveth_remove_buffer_from_pool
	xorl	%r14d, %r14d
LBB0_2:
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	8(%rbx), %rax
	jne	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
	xorl	%eax, %eax
	cmpl	$0, 16(%rbx)
	sete	%al
	movl	%eax, 16(%rbx)
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBMVETH_NUM_BUFF_POOLS,4,2     ## @IBMVETH_NUM_BUFF_POOLS
	.comm	_IBMVETH_BUF_VALID,4,2          ## @IBMVETH_BUF_VALID
	.comm	_H_SUCCESS,8,3                  ## @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"h_add_logical_lan_buffer failed during recycle rc=%ld"

	.no_dead_strip	_ibmveth_rxq_recycle_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmveth_rxq_recycle_buffer
_ibmveth_rxq_recycle_buffer:            ; @ibmveth_rxq_recycle_buffer
	.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, x0
	mov	w20, #1
	mov	w0, #1
	bl	_BUG_ON
	mov	w0, #1
	bl	_BUG_ON
	ldr	x8, [x19, #40]
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_h_add_logical_lan_buffer
Lloh0:
	adrp	x8, _H_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x19, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_ibmveth_remove_buffer_from_pool
	mov	w20, #0
LBB0_2:
	ldp	x8, x9, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x19]
	ldr	w8, [x19, #16]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #16]
LBB0_4:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IBMVETH_NUM_BUFF_POOLS,4,2     ; @IBMVETH_NUM_BUFF_POOLS
	.comm	_IBMVETH_BUF_VALID,4,2          ; @IBMVETH_BUF_VALID
	.comm	_H_SUCCESS,8,3                  ; @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"h_add_logical_lan_buffer failed during recycle rc=%ld"

	.no_dead_strip	_ibmveth_rxq_recycle_buffer
.subsections_via_symbols
