	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkt_session_ftb                ## -- Begin function pkt_session_ftb
	.p2align	4, 0x90
_pkt_session_ftb:                       ## @pkt_session_ftb
	.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	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	movl	$56, 48(%rdi)
	movq	_HFI_CMD_SESSION_FILL_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
	movq	%rsi, %rdi
	callq	_hash32_ptr
	movl	%eax, 44(%r14)
	movq	(%rbx), %rcx
	movq	_HFI_BUFFER_OUTPUT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.5:
	movq	_HFI_BUFFER_OUTPUT2@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
LBB0_6:
	movl	%eax, (%r14)
LBB0_7:
	movl	40(%rbx), %eax
	movl	%eax, 40(%r14)
	movq	32(%rbx), %rax
	movq	%rax, 32(%r14)
	movups	12(%rbx), %xmm0
	movups	%xmm0, 16(%r14)
	movl	8(%rbx), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HFI_CMD_SESSION_FILL_BUFFER,4,2 ## @HFI_CMD_SESSION_FILL_BUFFER
	.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_ftb                ; -- Begin function pkt_session_ftb
	.p2align	2
_pkt_session_ftb:                       ; @pkt_session_ftb
	.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	x1, LBB0_5
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_5
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x20, x0
	mov	w8, #56
Lloh0:
	adrp	x9, _HFI_CMD_SESSION_FILL_BUFFER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFI_CMD_SESSION_FILL_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [x0, #48]
	mov	x0, x1
	bl	_hash32_ptr
	str	w0, [x20, #44]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _HFI_BUFFER_OUTPUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HFI_BUFFER_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	mov	w8, #0
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
Lloh9:
	adrp	x9, _HFI_BUFFER_OUTPUT2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HFI_BUFFER_OUTPUT2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	w8, #1
LBB0_8:
	str	w8, [x20]
LBB0_9:
	mov	w0, #0
	ldr	w8, [x19, #40]
	str	w8, [x20, #40]
	ldr	x8, [x19, #32]
	str	x8, [x20, #32]
	ldur	q0, [x19, #12]
	str	q0, [x20, #16]
	ldr	w8, [x19, #8]
	ldr	x9, [x20, #8]
	str	w8, [x9]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HFI_CMD_SESSION_FILL_BUFFER,4,2 ; @HFI_CMD_SESSION_FILL_BUFFER
	.comm	_HFI_BUFFER_OUTPUT,8,3          ; @HFI_BUFFER_OUTPUT
	.comm	_HFI_BUFFER_OUTPUT2,8,3         ; @HFI_BUFFER_OUTPUT2
.subsections_via_symbols
