	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bswap_buf
_bswap_buf:                             ## @bswap_buf
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%r12d, %r12d
	cmpl	$8, %edx
	jl	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	addq	$8, %r12
	movl	(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, (%r13,%rbx,4)
	movl	4(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 4(%r13,%rbx,4)
	movl	8(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 8(%r13,%rbx,4)
	movl	12(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 12(%r13,%rbx,4)
	movl	16(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 16(%r13,%rbx,4)
	movl	20(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 20(%r13,%rbx,4)
	movl	24(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 24(%r13,%rbx,4)
	movl	28(%r15,%rbx,4), %edi
	callq	_av_bswap32
	movl	%eax, 28(%r13,%rbx,4)
	leal	8(%r12), %eax
	cmpl	%r14d, %eax
	jle	LBB0_2
LBB0_3:
	cmpl	%r14d, %r12d
	jge	LBB0_6
## %bb.4:
	movl	%r14d, %eax
	movl	%r12d, %r14d
	leaq	(,%r14,4), %r12
	addq	%r13, %r12
	leaq	(%r15,%r14,4), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	movl	%eax, %r13d
	callq	_av_bswap32
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	leal	(%rbx,%r14), %eax
	cmpl	%r13d, %eax
	movl	%r13d, %eax
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bswap_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bswap_buf
_bswap_buf:                             ; @bswap_buf
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w2, #8
	b.ge	LBB0_2
; %bb.1:
	mov	w22, #0
	cmp	w22, w19
	b.lt	LBB0_5
	b	LBB0_7
LBB0_2:
	add	x22, x20, #16
	add	x24, x21, #16
	mov	w23, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x22, #-16]
	bl	_av_bswap32
	stur	w0, [x24, #-16]
	ldur	w0, [x22, #-12]
	bl	_av_bswap32
	stur	w0, [x24, #-12]
	ldur	w0, [x22, #-8]
	bl	_av_bswap32
	stur	w0, [x24, #-8]
	ldur	w0, [x22, #-4]
	bl	_av_bswap32
	stur	w0, [x24, #-4]
	ldr	w0, [x22]
	bl	_av_bswap32
	str	w0, [x24]
	ldr	w0, [x22, #4]
	bl	_av_bswap32
	str	w0, [x24, #4]
	ldr	w0, [x22, #8]
	bl	_av_bswap32
	str	w0, [x24, #8]
	ldr	w0, [x22, #12]
	bl	_av_bswap32
	str	w0, [x24, #12]
	add	w23, w23, #8
	add	x22, x22, #32
	add	x24, x24, #32
	cmp	w23, w19
	b.le	LBB0_3
; %bb.4:
	sub	w22, w23, #8
	cmp	w22, w19
	b.ge	LBB0_7
LBB0_5:
	mov	w8, w22
	lsl	x8, x8, #2
	add	x21, x21, x8
	add	x20, x20, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_av_bswap32
	str	w0, [x21], #4
	add	w22, w22, #1
	cmp	w22, w19
	b.lt	LBB0_6
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bswap_buf
.subsections_via_symbols
