	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbuf_dechain                   ## -- Begin function pbuf_dechain
	.p2align	4, 0x90
_pbuf_dechain:                          ## @pbuf_dechain
	.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
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	subq	8(%rbx), %rax
	xorl	%esi, %esi
	cmpq	%rax, (%r14)
	sete	%sil
	leaq	L_.str(%rip), %rdi
	callq	_LWIP_ASSERT
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	subq	%rcx, %rax
	movq	%rax, (%r14)
	movq	$0, 16(%rbx)
	movq	%rcx, (%rbx)
	movq	_PBUF_DEBUG@GOTPCREL(%rip), %r12
	movq	_LWIP_DBG_TRACE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	orl	(%r12), %edi
	movq	%r14, %rsi
	callq	_LWIP_DEBUGF
	movq	%r14, %rdi
	callq	_pbuf_free
	movq	%rax, %r15
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	orl	(%r12), %edi
	movq	%r14, %rsi
	callq	_LWIP_DEBUGF
	jmp	LBB0_4
LBB0_1:
	movl	$1, %r15d
LBB0_4:
	movq	(%rbx), %rax
	xorl	%esi, %esi
	cmpq	8(%rbx), %rax
	sete	%sil
	leaq	L_.str.3(%rip), %rdi
	callq	_LWIP_ASSERT
	xorl	%eax, %eax
	testq	%r15, %r15
	cmovgq	%rax, %r14
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"p->tot_len == p->len + q->tot_len"

	.comm	_PBUF_DEBUG,4,2                 ## @PBUF_DEBUG
	.comm	_LWIP_DBG_TRACE,4,2             ## @LWIP_DBG_TRACE
L_.str.3:                               ## @.str.3
	.asciz	"p->tot_len == p->len"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pbuf_dechain                   ; -- Begin function pbuf_dechain
	.p2align	2
_pbuf_dechain:                          ; @pbuf_dechain
	.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	x20, x0
	ldr	x19, [x0, #16]
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldp	x9, x10, [x20]
	sub	x9, x9, x10
	cmp	x8, x9
	cset	w1, eq
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LWIP_ASSERT
	ldp	x8, x9, [x20]
	sub	x8, x8, x9
	str	x8, [x19]
	str	xzr, [x20, #16]
Lloh2:
	adrp	x22, _PBUF_DEBUG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PBUF_DEBUG@GOTPAGEOFF]
	str	x9, [x20]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _LWIP_DBG_TRACE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _LWIP_DBG_TRACE@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w0, w9, w8
	mov	x1, x19
	bl	_LWIP_DEBUGF
	mov	x0, x19
	bl	_pbuf_free
	mov	x21, x0
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w0, w9, w8
	mov	x1, x19
	bl	_LWIP_DEBUGF
	b	LBB0_4
LBB0_3:
	mov	w21, #1
LBB0_4:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	cset	w1, eq
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_LWIP_ASSERT
	cmp	x21, #0
	csel	x0, xzr, x19, gt
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p->tot_len == p->len + q->tot_len"

	.comm	_PBUF_DEBUG,4,2                 ; @PBUF_DEBUG
	.comm	_LWIP_DBG_TRACE,4,2             ; @LWIP_DBG_TRACE
l_.str.3:                               ; @.str.3
	.asciz	"p->tot_len == p->len"

.subsections_via_symbols
