	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __vxge_hw_channel_initialize
___vxge_hw_channel_initialize:          ## @__vxge_hw_channel_initialize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	24(%rdi), %r11
	movq	40(%rdi), %rax
	movq	(%rax), %r8
	testq	%r11, %r11
	je	LBB0_17
## %bb.1:
	movq	32(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.2:
	movq	(%rdi), %r9
	testq	%r9, %r9
	je	LBB0_17
## %bb.3:
	xorl	%esi, %esi
	cmpq	$8, %r9
	jb	LBB0_13
## %bb.4:
	movq	%rdx, %rax
	subq	%r11, %rax
	cmpq	$32, %rax
	jb	LBB0_13
## %bb.5:
	movq	%r9, %rsi
	andq	$-8, %rsi
	leaq	-8(%rsi), %rcx
	movq	%rcx, %rax
	shrq	$3, %rax
	incq	%rax
	movl	%eax, %r10d
	andl	$3, %r10d
	cmpq	$24, %rcx
	jae	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%r11,%rcx,4), %xmm0
	movups	16(%r11,%rcx,4), %xmm1
	movups	%xmm0, (%rdx,%rcx,4)
	movups	%xmm1, 16(%rdx,%rcx,4)
	movups	32(%r11,%rcx,4), %xmm0
	movups	48(%r11,%rcx,4), %xmm1
	movups	%xmm0, 32(%rdx,%rcx,4)
	movups	%xmm1, 48(%rdx,%rcx,4)
	movups	64(%r11,%rcx,4), %xmm0
	movups	80(%r11,%rcx,4), %xmm1
	movups	%xmm0, 64(%rdx,%rcx,4)
	movups	%xmm1, 80(%rdx,%rcx,4)
	movups	96(%r11,%rcx,4), %xmm0
	movups	112(%r11,%rcx,4), %xmm1
	movups	%xmm0, 96(%rdx,%rcx,4)
	movups	%xmm1, 112(%rdx,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rax
	jne	LBB0_8
LBB0_9:
	testq	%r10, %r10
	je	LBB0_12
## %bb.10:
	leaq	(%rdx,%rcx,4), %rax
	addq	$16, %rax
	leaq	(%r11,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rbx), %xmm0
	movups	(%rcx,%rbx), %xmm1
	movups	%xmm0, -16(%rax,%rbx)
	movups	%xmm1, (%rax,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_11
LBB0_12:
	cmpq	%rsi, %r9
	je	LBB0_17
LBB0_13:
	movq	%rsi, %rax
	notq	%rax
	addq	%r9, %rax
	movq	%r9, %rcx
	andq	$3, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rsi,4), %ebx
	movl	%ebx, (%rdx,%rsi,4)
	incq	%rsi
	decq	%rcx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %rax
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	movl	4(%r11,%rsi,4), %eax
	movl	%eax, 4(%rdx,%rsi,4)
	movl	8(%r11,%rsi,4), %eax
	movl	%eax, 8(%rdx,%rsi,4)
	movl	12(%r11,%rsi,4), %eax
	movl	%eax, 12(%rdx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_16
LBB0_17:
	movl	8(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_20
## %bb.18:
	cmpl	$129, %eax
	jne	LBB0_22
## %bb.19:
	movq	%rdi, 8(%r8)
	jmp	LBB0_21
LBB0_20:
	movq	%rdi, (%r8)
LBB0_21:
	movq	(%rdi), %rax
	movq	%rax, 16(%rdi)
LBB0_22:
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.no_dead_strip	___vxge_hw_channel_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __vxge_hw_channel_initialize
___vxge_hw_channel_initialize:          ; @__vxge_hw_channel_initialize
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #40]
	ldr	x8, [x8]
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_10
; %bb.1:
	ldr	x10, [x0, #32]
	cbz	x10, LBB0_10
; %bb.2:
	ldr	x11, [x0]
	cbz	x11, LBB0_10
; %bb.3:
	mov	x12, #0
	cmp	x11, #16
	b.lo	LBB0_8
; %bb.4:
	sub	x13, x10, x9
	cmp	x13, #64
	b.lo	LBB0_8
; %bb.5:
	and	x12, x11, #0xfffffffffffffff0
	add	x13, x9, #32
	add	x14, x10, #32
	mov	x15, x12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x11, x12
	b.eq	LBB0_10
LBB0_8:
	sub	x11, x11, x12
	lsl	x12, x12, #2
	add	x10, x10, x12
	add	x9, x9, x12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	str	w12, [x10], #4
	subs	x11, x11, #1
	b.ne	LBB0_9
LBB0_10:
	ldr	w9, [x0, #8]
	cmp	w9, #128
	b.eq	LBB0_13
; %bb.11:
	cmp	w9, #129
	b.ne	LBB0_15
; %bb.12:
	str	x0, [x8, #8]
	b	LBB0_14
LBB0_13:
	str	x0, [x8]
LBB0_14:
	ldr	x8, [x0]
	str	x8, [x0, #16]
LBB0_15:
Lloh0:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.no_dead_strip	___vxge_hw_channel_initialize
.subsections_via_symbols
