	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_pbuf_free                  ## -- Begin function uip_pbuf_free
	.p2align	4, 0x90
_uip_pbuf_free:                         ## @uip_pbuf_free
	.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
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_UIP_PBUF_FLAG_POOL@GOTPCREL(%rip), %r13
	movq	_uip_pool_pbufs@GOTPCREL(%rip), %r15
	movq	_UIP_PBUF_FLAG_ROM@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_memb_free
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	testq	%r14, %r14
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decq	(%r14)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rsi
	movq	8(%r14), %rax
	movq	16(%r14), %r14
	cmpq	(%r13), %rax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_UIP_PBUF_FLAG_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, %rdi
	callq	_memr_free
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_uip_rom_pbufs@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_PBUF_FLAG_POOL,8,3         ## @UIP_PBUF_FLAG_POOL
	.comm	_uip_pool_pbufs,4,2             ## @uip_pool_pbufs
	.comm	_UIP_PBUF_FLAG_ROM,8,3          ## @UIP_PBUF_FLAG_ROM
	.comm	_UIP_PBUF_FLAG_REF,8,3          ## @UIP_PBUF_FLAG_REF
	.comm	_uip_rom_pbufs,4,2              ## @uip_rom_pbufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_pbuf_free                  ; -- Begin function uip_pbuf_free
	.p2align	2
_uip_pbuf_free:                         ; @uip_pbuf_free
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x19, #0
Lloh0:
	adrp	x23, _UIP_PBUF_FLAG_POOL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _UIP_PBUF_FLAG_POOL@GOTPAGEOFF]
Lloh2:
	adrp	x20, _uip_pool_pbufs@GOTPAGE
Lloh3:
	ldr	x20, [x20, _uip_pool_pbufs@GOTPAGEOFF]
Lloh4:
	adrp	x24, _UIP_PBUF_FLAG_ROM@GOTPAGE
Lloh5:
	ldr	x24, [x24, _UIP_PBUF_FLAG_ROM@GOTPAGEOFF]
Lloh6:
	adrp	x25, _UIP_PBUF_FLAG_REF@GOTPAGE
Lloh7:
	ldr	x25, [x25, _UIP_PBUF_FLAG_REF@GOTPAGEOFF]
Lloh8:
	adrp	x22, _uip_rom_pbufs@GOTPAGE
Lloh9:
	ldr	x22, [x22, _uip_rom_pbufs@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_memb_free
	add	x19, x19, #1
	cbz	x21, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	subs	x8, x8, #1
	str	x8, [x21]
	b.ne	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	ldr	x21, [x21, #16]
	ldr	x8, [x1, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x1
	bl	_memr_free
	add	x19, x19, #1
	cbnz	x21, LBB0_4
	b	LBB0_10
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_PBUF_FLAG_POOL,8,3         ; @UIP_PBUF_FLAG_POOL
	.comm	_uip_pool_pbufs,4,2             ; @uip_pool_pbufs
	.comm	_UIP_PBUF_FLAG_ROM,8,3          ; @UIP_PBUF_FLAG_ROM
	.comm	_UIP_PBUF_FLAG_REF,8,3          ; @UIP_PBUF_FLAG_REF
	.comm	_uip_rom_pbufs,4,2              ; @uip_rom_pbufs
.subsections_via_symbols
