	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkt_session_unset_buffers      ## -- Begin function pkt_session_unset_buffers
	.p2align	4, 0x90
_pkt_session_unset_buffers:             ## @pkt_session_unset_buffers
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	movq	%rdi, %rbx
	movq	_HFI_CMD_SESSION_RELEASE_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	%rsi, %rdi
	callq	_hash32_ptr
	movl	%eax, 28(%rbx)
	movl	28(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	(%r14), %ecx
	movl	%ecx, (%rbx)
	movq	8(%r14), %rax
	movq	_HFI_BUFFER_OUTPUT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.5:
	movq	_HFI_BUFFER_OUTPUT2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.11:
	movq	40(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	20(%r14), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movl	(%rbx), %esi
	cmpq	%rsi, %rdx
	jb	LBB0_12
## %bb.13:
	movl	(%r14), %ecx
	shll	$2, %ecx
	jmp	LBB0_14
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_8:
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	movq	40(%rbx), %rdx
	movq	20(%r14), %rsi
	rolq	$32, %rsi
	movq	%rsi, (%rdx)
LBB0_10:
	shll	$3, %ecx
	jmp	LBB0_15
LBB0_7:
	xorl	%ecx, %ecx
LBB0_14:
	movq	$0, 32(%rbx)
LBB0_15:
	movl	%ecx, 20(%rbx)
	movl	16(%r14), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HFI_CMD_SESSION_RELEASE_BUFFERS,4,2 ## @HFI_CMD_SESSION_RELEASE_BUFFERS
	.comm	_HFI_BUFFER_OUTPUT,8,3          ## @HFI_BUFFER_OUTPUT
	.comm	_HFI_BUFFER_OUTPUT2,8,3         ## @HFI_BUFFER_OUTPUT2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkt_session_unset_buffers      ; -- Begin function pkt_session_unset_buffers
	.p2align	2
_pkt_session_unset_buffers:             ; @pkt_session_unset_buffers
	.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
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x1, LBB0_7
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_7
; %bb.3:
	mov	x19, x0
Lloh0:
	adrp	x8, _HFI_CMD_SESSION_RELEASE_BUFFERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFI_CMD_SESSION_RELEASE_BUFFERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	mov	x0, x1
	bl	_hash32_ptr
	str	w0, [x19, #28]
	ldr	w8, [x20, #28]
	str	w8, [x19, #48]
	ldr	w9, [x20]
	str	w9, [x19]
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x10, _HFI_BUFFER_OUTPUT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HFI_BUFFER_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _HFI_BUFFER_OUTPUT2@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HFI_BUFFER_OUTPUT2@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x10
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_8
; %bb.4:
	cbz	w9, LBB0_6
; %bb.5:
	ldr	x10, [x19, #40]
	ldur	d0, [x20, #20]
	rev64.2s	v0, v0
	str	d0, [x10]
LBB0_6:
	lsl	w9, w9, #3
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_8:
	cbz	w9, LBB0_12
; %bb.9:
	mov	x9, #0
	ldr	x10, [x19, #40]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x20, #20]
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldr	w11, [x19]
	cmp	x9, x11
	b.lo	LBB0_10
; %bb.11:
	ldr	w9, [x20]
	lsl	w9, w9, #2
LBB0_12:
	str	xzr, [x19, #32]
LBB0_13:
	mov	w0, #0
	ldr	w10, [x20, #16]
	stp	w10, w9, [x19, #16]
	str	x8, [x19, #8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HFI_CMD_SESSION_RELEASE_BUFFERS,4,2 ; @HFI_CMD_SESSION_RELEASE_BUFFERS
	.comm	_HFI_BUFFER_OUTPUT,8,3          ; @HFI_BUFFER_OUTPUT
	.comm	_HFI_BUFFER_OUTPUT2,8,3         ; @HFI_BUFFER_OUTPUT2
.subsections_via_symbols
