	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_be
_write_be:                              ## @write_be
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	leaq	-1(%rdx), %r8
	movq	%rdx, %rsi
	andq	$3, %rsi
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %ecx
	movq	%rcx, -8(%rdi,%rdx,8)
	decq	%rdx
	shrq	$8, %rax
	decq	%rsi
	jne	LBB0_2
LBB0_3:
	cmpq	$3, %r8
	jb	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %ecx
	movq	%rcx, -8(%rdi,%rdx,8)
	movzbl	%ah, %ecx
	movq	%rcx, -16(%rdi,%rdx,8)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movq	%rcx, -24(%rdi,%rdx,8)
	movl	%eax, %ecx
	shrl	$24, %ecx
	movq	%rcx, -32(%rdi,%rdx,8)
	addq	$-4, %rdx
	shrq	$32, %rax
	testq	%rdx, %rdx
	jne	LBB0_4
LBB0_5:
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_be
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_be
_write_be:                              ; @write_be
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_3
; %bb.1:
	sub	x8, x0, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	x9, x1, #0xff
	str	x9, [x8, x2, lsl #3]
	lsr	x1, x1, #8
	subs	x2, x2, #1
	b.ne	LBB0_2
LBB0_3:
	cmp	x1, #0
	cset	w0, eq
	b	_assert
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_write_be
.subsections_via_symbols
