	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RARCH_LOG_BUFFER               ## -- Begin function RARCH_LOG_BUFFER
	.p2align	4, 0x90
_RARCH_LOG_BUFFER:                      ## @RARCH_LOG_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	_verbosity_log_level@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jle	LBB0_1
## %bb.10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%r14d, %eax
	andl	$15, %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_RARCH_LOG
	testq	%r14, %r14
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpq	%r14, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %eax
	movl	%r15d, %ecx
	movl	%eax, -112(%rbp,%rcx,4)
	incl	%r15d
	cmpl	$16, %r15d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-112(%rbp), %esi
	movl	-108(%rbp), %edx
	movl	-104(%rbp), %ecx
	movl	-100(%rbp), %r8d
	movl	-96(%rbp), %r9d
	movl	-92(%rbp), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	-88(%rbp), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	-84(%rbp), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	-80(%rbp), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	-76(%rbp), %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	-68(%rbp), %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %r12d
	movq	%r14, %r11
	movl	-60(%rbp), %r14d
	movl	-56(%rbp), %r13d
	movl	-52(%rbp), %r10d
	subq	$8, %rsp
	xorl	%r15d, %r15d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r13
	pushq	%r14
	movq	%r11, %r14
	pushq	%r12
	movq	-160(%rbp), %r12                ## 8-byte Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_RARCH_LOG
	addq	$96, %rsp
	jmp	LBB0_5
LBB0_6:
	movl	-148(%rbp), %eax                ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	andl	$15, %r14d
	leaq	-112(,%r14,4), %rdi
	addq	%rbp, %rdi
	shll	$2, %eax
	movl	$64, %edx
	subl	%eax, %edx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	movl	-112(%rbp), %esi
	movl	-108(%rbp), %edx
	movl	-104(%rbp), %ecx
	movl	-100(%rbp), %r8d
	movl	-96(%rbp), %r9d
	movl	-92(%rbp), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	-88(%rbp), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	-84(%rbp), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	-80(%rbp), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	-76(%rbp), %r12d
	movl	-72(%rbp), %r13d
	movl	-68(%rbp), %ebx
	movl	-64(%rbp), %r10d
	movl	-60(%rbp), %r11d
	movl	-56(%rbp), %r14d
	movl	-52(%rbp), %r15d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	pushq	%r13
	pushq	%r12
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_RARCH_LOG
	addq	$96, %rsp
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RARCH_LOG                      ## TAILCALL
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity_log_level,4,2        ## @verbosity_log_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"== %d-byte buffer ==================\n"

L_.str.1:                               ## @.str.1
	.asciz	"%02x%02x%02x%02x%02x%02x%02x%02x  %02x%02x%02x%02x%02x%02x%02x%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"==================================\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RARCH_LOG_BUFFER               ; -- Begin function RARCH_LOG_BUFFER
	.p2align	2
_RARCH_LOG_BUFFER:                      ; @RARCH_LOG_BUFFER
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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 w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #160]
	stp	q0, q0, [sp, #128]
Lloh3:
	adrp	x8, _verbosity_log_level@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity_log_level@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.le	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-72]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.2:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_3:
	mov	x19, x1
	mov	x20, x0
	and	w22, w19, #0xf
	mov	x8, x19
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	cbz	x19, LBB0_8
; %bb.4:
	mov	x23, #0
	mov	w8, #0
	add	x24, sp, #128
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	cmp	x23, x19
	b.hs	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, x23, lsl #2]
	str	w9, [x24, w8, uxtw #2]
	add	w8, w8, #1
	cmp	w8, #16
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [sp, #128]
	ldp	w10, w11, [sp, #136]
	ldp	w12, w13, [sp, #144]
	ldp	w14, w15, [sp, #152]
	ldp	w16, w17, [sp, #160]
	ldp	w0, w1, [sp, #168]
	ldp	w2, w3, [sp, #176]
	ldp	w4, w5, [sp, #184]
	stp	x4, x5, [sp, #112]
	stp	x2, x3, [sp, #96]
	stp	x0, x1, [sp, #80]
	stp	x16, x17, [sp, #64]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x21
	bl	_RARCH_LOG
	mov	w8, #0
	b	LBB0_5
LBB0_8:
	cbz	w22, LBB0_10
; %bb.9:
	and	x8, x19, #0xf
	add	x9, sp, #128
	add	x0, x9, x8, lsl #2
	mov	w8, #64
	sub	w2, w8, w22, lsl #2
Lloh13:
	adrp	x1, l_.memset_pattern@PAGE
Lloh14:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
	ldp	w8, w9, [sp, #128]
	ldp	w10, w11, [sp, #136]
	ldp	w12, w13, [sp, #144]
	ldp	w14, w15, [sp, #152]
	ldp	w16, w17, [sp, #160]
	ldp	w0, w1, [sp, #168]
	ldp	w2, w3, [sp, #176]
	ldp	w4, w5, [sp, #184]
	stp	x4, x5, [sp, #112]
	stp	x2, x3, [sp, #96]
	stp	x0, x1, [sp, #80]
	stp	x16, x17, [sp, #64]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	stp	x8, x9, [sp]
	bl	_RARCH_LOG
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	b	_RARCH_LOG
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity_log_level,4,2        ; @verbosity_log_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"== %d-byte buffer ==================\n"

l_.str.1:                               ; @.str.1
	.asciz	"%02x%02x%02x%02x%02x%02x%02x%02x  %02x%02x%02x%02x%02x%02x%02x%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"==================================\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

.subsections_via_symbols
