	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_qp
_dump_qp:                               ## @dump_qp
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpl	%edi, 8(%rsi)
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %r15
	movl	4(%rdx), %r13d
	movl	%r13d, %ebx
	notl	%ebx
	addl	(%rdx), %ebx
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	16(%rsi), %rax
	addl	8(%r15), %r13d
	movl	(%rsi), %r8d
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rax), %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	20(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	16(%rax), %edi
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %r14
	movl	8(%r14), %edi
	addq	$12, %r14
	callq	_ntohs
	movl	%eax, %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r14
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_snprintf
	addq	$48, %rsp
	cmpl	%ebx, %eax
	jge	LBB0_8
LBB0_7:
	addl	%eax, 4(%r15)
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movl	$1, %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	%ebx, %eax
	jl	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qp id %u state %u ep tid %u state %u %pI4:%u->%pI4:%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"qp id %u state %u\n"

	.no_dead_strip	_dump_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_qp
_dump_qp:                               ; @dump_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1, #8]
	cmp	w8, w0
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x2
	ldp	w8, w9, [x2]
	mvn	w10, w9
	adds	w20, w8, w10
	b.eq	LBB0_4
; %bb.2:
	mov	x24, x1
	mov	x21, x0
	ldr	x8, [x1, #16]
	ldr	w10, [x19, #8]
	add	w23, w10, w9
	ldr	w22, [x1]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x26, [x8, #24]
	add	x27, x8, #20
	ldr	w0, [x8, #16]
	ldr	w28, [x8]
	bl	_ntohs
	mov	x25, x0
	ldr	x8, [x24, #16]
	add	x24, x8, #12
	ldr	w0, [x8, #8]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #32]
	stp	x27, x25, [sp, #16]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	stp	x28, x26, [sp]
	b	LBB0_6
LBB0_4:
	mov	w0, #1
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x23
	mov	x1, x20
	mov	x3, x21
	mov	x4, x22
	bl	_snprintf
	mov	x8, x0
	cmp	w0, w20
	b.ge	LBB0_8
; %bb.7:
	mov	w0, #0
	ldr	w9, [x19, #4]
	add	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qp id %u state %u ep tid %u state %u %pI4:%u->%pI4:%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"qp id %u state %u\n"

	.no_dead_strip	_dump_qp
.subsections_via_symbols
