	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_buffer                    ## -- Begin function dump_buffer
	.p2align	4, 0x90
_dump_buffer:                           ## @dump_buffer
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_NB_MAGIC_HEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_NB_MAGIC_BUSYHEAD@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	sete	%dil
	orb	%cl, %dil
	movq	_NB_MAGIC_BUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%edx, %r12d
	movl	%esi, %r14d
	sete	%al
	orb	%dil, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %r15
	movq	16(%rbx), %r10
	movq	%r15, %r9
	subq	%r10, %r9
	movl	40(%rbx), %r11d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	pushq	%r15
	pushq	32(%rbx)
	pushq	%r11
	pushq	24(%rbx)
	pushq	%r10
	callq	_fprintf
	addq	$48, %rsp
	movq	8(%rbx), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_15
## %bb.1:
	movq	%rcx, %r13
	movq	_stderr@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movl	$10, %edi
	callq	_putc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpq	%rax, %r13
	jae	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	subl	%r13d, %eax
	cmpl	$16, %eax
	movl	$16, %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmovll	%eax, %ebx
	movl	(%r12), %edi
	movl	%r13d, %edx
	subl	%ecx, %edx
	addl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movslq	%ebx, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%r12
	cmpq	$16, %r12
	je	LBB0_9
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r12,%r13), %rbx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	24(%rcx), %rbx
	movl	$32, %eax
	movl	$91, %edx
	cmovel	%edx, %eax
	movl	$93, %r14d
	movl	$124, %edx
	cmovel	%edx, %r14d
	cmpq	32(%rcx), %rbx
	cmovnel	%eax, %r14d
	cmpq	$8, %r12
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_fputc
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpq	%r15, %r12
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movzbl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(%r13), %rdi
	movl	$32, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %rdi
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	24(%rcx), %rdi
	movl	$32, %eax
	movl	$91, %edx
	cmovel	%edx, %eax
	movl	$93, %edx
	movl	$124, %esi
	cmovel	%esi, %edx
	cmpq	32(%rcx), %rdi
	cmovnel	%eax, %edx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_stderr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movl	$46, %r14d
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13,%rbx), %eax
	cmpb	$32, %al
	cmovbl	%r14d, %eax
	movl	(%r12), %esi
	movsbl	%al, %edi
	callq	_putc
	incq	%rbx
	cmpq	%r15, %rbx
	jl	LBB0_13
	jmp	LBB0_14
LBB0_15:
	subl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NB_MAGIC_HEAD,8,3              ## @NB_MAGIC_HEAD
	.comm	_NB_MAGIC_BUSYHEAD,8,3          ## @NB_MAGIC_BUSYHEAD
	.comm	_NB_MAGIC_BUSY,8,3              ## @NB_MAGIC_BUSY
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dumping buffer #%d in chain at offset %d, addr=%p, size=%ld, start=%p, read=%p, pptr=%p, write=%p, end=%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"%08x"

L_.str.2:                               ## @.str.2
	.asciz	"%c%02x"

L_.str.3:                               ## @.str.3
	.asciz	"%c  "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_buffer                    ; -- Begin function dump_buffer
	.p2align	2
_dump_buffer:                           ; @dump_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NB_MAGIC_HEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NB_MAGIC_HEAD@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
Lloh3:
	adrp	x8, _NB_MAGIC_BUSYHEAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NB_MAGIC_BUSYHEAD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh6:
	adrp	x8, _NB_MAGIC_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NB_MAGIC_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
	cset	w0, eq
	bl	_assert
Lloh9:
	adrp	x25, _stderr@GOTPAGE
Lloh10:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
	ldr	w0, [x25]
	ldp	x8, x9, [x20, #8]
	sub	x10, x8, x9
	ldp	x11, x12, [x20, #24]
	ldr	w13, [x20, #40]
	stp	x12, x8, [sp, #48]
	stp	x11, x13, [sp, #32]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	stp	x10, x9, [sp, #16]
	stp	x19, x20, [sp]
	str	x19, [sp, #64]                  ; 8-byte Folded Spill
	mov	x2, x21
	bl	_fprintf
	ldp	x9, x8, [x20, #8]
	cmp	x8, x9
	b.hs	LBB0_16
; %bb.1:
	mov	w28, #91
	mov	w26, #93
	mov	w21, #124
	mov	x22, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	w0, #10
	bl	_putc
	ldp	x9, x8, [x20, #8]
	mov	x22, x24
	cmp	x24, x9
	b.hs	LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	sub	w10, w9, w22
	cmp	w10, #16
	mov	w9, #16
	str	w10, [sp, #76]                  ; 4-byte Folded Spill
	csel	w23, w10, w9, lt
	ldr	w0, [x25]
	sub	w8, w22, w8
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	w2, w8, w9
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	x19, #0
	sxtw	x23, w23
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x2, x24
	bl	_fprintf
	mov	w27, #46
	add	x19, x19, #1
	cmp	x19, #16
	b.eq	LBB0_10
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x9, [x20, #24]
	add	x27, x22, x19
	cmp	x27, x8
	mov	w8, #32
	csel	w8, w28, w8, eq
	csel	w10, w21, w26, eq
	cmp	x27, x9
	csel	w24, w10, w8, eq
	cmp	x19, #8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w1, [x25]
	mov	w0, #32
	bl	_fputc
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w0, [x25]
	cmp	x19, x23
	b.ge	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w8, [x27]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x22, #16
	ldr	x8, [x20, #8]
	cmp	x24, x8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #32
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x20, #24]
	cmp	x24, x8
	mov	w8, #32
	csel	w8, w28, w8, eq
	csel	w10, w21, w26, eq
	cmp	x24, x9
	csel	w2, w10, w8, eq
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w19, [sp, #76]                  ; 4-byte Folded Reload
	ldr	w0, [x25]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x22, x19]
	cmp	w8, #32
	csel	w8, w27, w8, lo
	ldr	w1, [x25]
	sxtb	w0, w8
	bl	_putc
	add	x19, x19, #1
	cmp	x19, x23
	b.lt	LBB0_15
	b	LBB0_2
LBB0_16:
	sub	w0, w9, w8
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NB_MAGIC_HEAD,8,3              ; @NB_MAGIC_HEAD
	.comm	_NB_MAGIC_BUSYHEAD,8,3          ; @NB_MAGIC_BUSYHEAD
	.comm	_NB_MAGIC_BUSY,8,3              ; @NB_MAGIC_BUSY
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dumping buffer #%d in chain at offset %d, addr=%p, size=%ld, start=%p, read=%p, pptr=%p, write=%p, end=%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"%08x"

l_.str.2:                               ; @.str.2
	.asciz	"%c%02x"

l_.str.3:                               ; @.str.3
	.asciz	"%c  "

.subsections_via_symbols
