	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_queue_to_hpts_immediate_locked
_tcp_queue_to_hpts_immediate_locked:    ## @tcp_queue_to_hpts_immediate_locked
	.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	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_HPTS_MTX_ASSERT
	xorl	%r15d, %r15d
	cmpq	$0, (%r13)
	jne	LBB0_12
## %bb.1:
	movq	$0, 16(%r13)
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	cmpq	$0, 64(%rbx)
	je	LBB0_6
LBB0_3:
	movl	56(%rbx), %edi
	movl	$1, %esi
	callq	_hpts_tick
	movq	%rax, 8(%r13)
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.10:
	shlq	$2, %rax
	addq	48(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	jmp	LBB0_11
LBB0_4:
	movq	(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	addq	48(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_hpts_sane_pace_insert
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.5:
	movl	$1, 40(%rbx)
	movq	%rbx, %rdi
	callq	_tcp_wakehpts
	movl	$1, %r15d
	jmp	LBB0_12
LBB0_6:
	cmpq	%r13, 16(%rbx)
	je	LBB0_7
## %bb.9:
	movq	32(%rbx), %rdx
	jmp	LBB0_8
LBB0_7:
	movq	24(%rbx), %rdx
LBB0_8:
	movq	%rdx, 8(%r13)
	shlq	$2, %rdx
	addq	48(%rbx), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
LBB0_11:
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_hpts_sane_pace_insert
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tcp_queue_to_hpts_immediate_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_queue_to_hpts_immediate_locked
_tcp_queue_to_hpts_immediate_locked:    ; @tcp_queue_to_hpts_immediate_locked
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_HPTS_MTX_ASSERT
	ldr	x8, [x22]
	cbnz	x8, LBB0_12
; %bb.1:
	str	xzr, [x22, #16]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_7
LBB0_3:
	ldr	w0, [x21, #56]
	mov	w1, #1
	bl	_hpts_tick
	str	x0, [x22, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x21, #48]
	add	x2, x8, x0, lsl #2
	b	LBB0_11
LBB0_5:
	ldr	x23, [x21]
	ldr	x8, [x21, #48]
	add	x2, x8, x0, lsl #2
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	bl	_hpts_sane_pace_insert
	cbnz	x23, LBB0_12
; %bb.6:
	mov	w19, #1
	str	w19, [x21, #40]
	mov	x0, x21
	bl	_tcp_wakehpts
	b	LBB0_13
LBB0_7:
	ldr	x8, [x21, #16]
	cmp	x8, x22
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x21, #32]
	b	LBB0_10
LBB0_9:
	ldr	x8, [x21, #24]
LBB0_10:
	str	x8, [x22, #8]
	ldr	x9, [x21, #48]
	add	x2, x9, x8, lsl #2
LBB0_11:
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	bl	_hpts_sane_pace_insert
LBB0_12:
	mov	w19, #0
LBB0_13:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tcp_queue_to_hpts_immediate_locked
.subsections_via_symbols
