	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_log_dump_tp_bucket_logbufs ## -- Begin function tcp_log_dump_tp_bucket_logbufs
	.p2align	4, 0x90
_tcp_log_dump_tp_bucket_logbufs:        ## @tcp_log_dump_tp_bucket_logbufs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_INP_WLOCK_ASSERT
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_TCPID_BUCKET_REF
	movl	(%rbx), %edi
	callq	_INP_WUNLOCK
	movq	%r15, %rdi
	callq	_TCPID_BUCKET_LOCK
	movq	_TREE_UNLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_tcp_log_unref_bucket
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	-28(%rbp), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	callq	_TCPID_TREE_WUNLOCK
	jmp	LBB0_7
LBB0_8:
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_tcp_log_dump_tp_logbuf
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_INP_WUNLOCK                    ## TAILCALL
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_tcp_log_dumpbucketlogs
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	callq	_TCPID_TREE_RUNLOCK
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_TREE_UNLOCKED,4,2              ## @TREE_UNLOCKED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_log_dump_tp_bucket_logbufs ; -- Begin function tcp_log_dump_tp_bucket_logbufs
	.p2align	2
_tcp_log_dump_tp_bucket_logbufs:        ; @tcp_log_dump_tp_bucket_logbufs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_INP_WLOCK_ASSERT
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_TCPID_BUCKET_REF
	ldr	w0, [x21]
	bl	_INP_WUNLOCK
	mov	x0, x20
	bl	_TCPID_BUCKET_LOCK
Lloh0:
	adrp	x8, _TREE_UNLOCKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TREE_UNLOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, #0
	bl	_tcp_log_unref_bucket
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w8, [sp, #12]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.4:
	bl	_TCPID_TREE_WUNLOCK
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	w3, #1
	bl	_tcp_log_dump_tp_logbuf
	ldr	w0, [x21]
	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
	add	sp, sp, #64
	b	_INP_WUNLOCK
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_tcp_log_dumpbucketlogs
	b	LBB0_8
LBB0_7:
	bl	_TCPID_TREE_RUNLOCK
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_TREE_UNLOCKED,4,2              ; @TREE_UNLOCKED
.subsections_via_symbols
