	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drx_u_code_compute_crc
_drx_u_code_compute_crc:                ## @drx_u_code_compute_crc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rsi, %rsi
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_be16_to_cpu
	orl	%ebx, %eax
	addl	%eax, %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%r12d, %r12d
	cmovel	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$-2147155968, %edx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$-2147155968, %ecx              ## imm = 0x80050000
	testl	%edx, %edx
	cmovnsl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %ebx
	xorl	$-2147155968, %ebx              ## imm = 0x80050000
	testl	%ecx, %ecx
	cmovnsl	%eax, %ebx
	movl	%ebx, %r12d
	andl	$-2147483648, %r12d             ## imm = 0x80000000
	addq	$32, %r15
	decq	%r14
	jne	LBB0_2
## %bb.3:
	sarl	$16, %ebx
	movslq	%ebx, %r12
LBB0_4:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_drx_u_code_compute_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drx_u_code_compute_crc
_drx_u_code_compute_crc:                ; @drx_u_code_compute_crc
	.cfi_startproc
; %bb.0:
	cmp	x1, #1
	b.lt	LBB0_4
; %bb.1:
	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, x1
	mov	x20, x0
	mov	w23, #0
	mov	w22, #0
	mov	w21, #-2147155968
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #32
	bl	_be16_to_cpu
	orr	w8, w22, w0
	lsl	w8, w8, #1
	eor	w9, w8, w21
	cmp	w23, #0
	csel	w8, w8, w9, eq
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w8, w10, w9, lt
	lsl	w9, w8, #1
	eor	w10, w9, w21
	cmp	w8, #0
	csel	w22, w10, w9, lt
	and	w23, w22, #0x80000000
	subs	x19, x19, #1
	b.ne	LBB0_2
; %bb.3:
	sbfx	x0, x22, #16, #16
	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
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_drx_u_code_compute_crc
.subsections_via_symbols
