	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_hccapx_t
_to_hccapx_t:                           ## @to_hccapx_t
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movq	8(%rdi), %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$52, %edx
	callq	_memset
	movq	_HCCAPX_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_HCCAPX_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	leaq	(%r15,%r15,2), %rax
	addq	(%rbx,%rax,8), %r13
	movl	8(%rbx,%rax,8), %edx
	movl	%edx, (%r14)
	movl	40(%r14), %edi
	movq	16(%rbx,%rax,8), %rsi
	callq	_memcpy
	shlq	$6, %r13
	leaq	(%r12,%r13), %rbx
	movl	56(%r12,%r13), %eax
	movl	%eax, 36(%r14)
	movl	(%r12,%r13), %eax
	movl	%eax, 4(%r14)
	movl	4(%r12,%r13), %edx
	movl	%edx, 8(%r14)
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.4:
	movl	32(%r14), %edi
	movq	8(%r12,%r13), %rsi
	callq	_memcpy
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, -568(%rbp)                ## 8-byte Spill
	leaq	(%r12,%r13), %rbx
	addq	$4, %rbx
	leaq	-560(%rbp), %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	___bzero
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	4(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_byte_swap_32
	movq	%rax, -560(%rbp,%r15,8)
	incq	%r15
	cmpq	$64, %r15
	jne	LBB0_2
## %bb.3:
	movl	32(%r14), %edi
	movl	(%rbx), %edx
	leaq	-560(%rbp), %rsi
	callq	_memcpy
	movq	-568(%rbp), %rbx                ## 8-byte Reload
LBB0_5:
	movl	28(%r14), %edi
	movq	16(%r12,%r13), %rsi
	movl	$6, %edx
	callq	_memcpy
	movl	24(%r14), %edi
	movq	24(%r12,%r13), %rsi
	movl	$6, %edx
	callq	_memcpy
	movl	20(%r14), %edi
	movq	32(%r12,%r13), %rsi
	movl	$32, %edx
	callq	_memcpy
	movl	16(%r14), %edi
	movq	40(%r12,%r13), %rsi
	movl	$32, %edx
	callq	_memcpy
	cmpl	$1, (%rbx)
	jne	LBB0_6
## %bb.7:
	movl	12(%r14), %edi
	movq	48(%r12,%r13), %rsi
	jmp	LBB0_8
LBB0_6:
	movq	48(%r12,%r13), %rax
	movq	(%rax), %rdi
	callq	_byte_swap_32
	movq	%rax, -560(%rbp)
	movq	48(%r12,%r13), %rax
	movq	8(%rax), %rdi
	callq	_byte_swap_32
	movq	%rax, -552(%rbp)
	movq	48(%r12,%r13), %rax
	movq	16(%rax), %rdi
	callq	_byte_swap_32
	movq	%rax, -544(%rbp)
	movq	48(%r12,%r13), %rax
	movq	24(%rax), %rdi
	callq	_byte_swap_32
	movq	%rax, -536(%rbp)
	movl	12(%r14), %edi
	leaq	-560(%rbp), %rsi
LBB0_8:
	movl	$16, %edx
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCCAPX_SIGNATURE,4,2           ## @HCCAPX_SIGNATURE
	.comm	_HCCAPX_VERSION,4,2             ## @HCCAPX_VERSION
	.no_dead_strip	_to_hccapx_t
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_hccapx_t
_to_hccapx_t:                           ; @to_hccapx_t
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #528
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x22, x23, [x0]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #52
	bl	_memset
Lloh3:
	adrp	x8, _HCCAPX_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCCAPX_SIGNATURE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _HCCAPX_VERSION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HCCAPX_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
	mov	w8, #24
	madd	x8, x21, x8, x23
	ldr	x9, [x8]
	add	x21, x9, x20
	ldr	w2, [x8, #8]
	str	w2, [x19]
	ldr	w0, [x19, #40]
	ldr	x1, [x8, #16]
	bl	_memcpy
	add	x20, x22, x21, lsl #6
	ldr	w8, [x20, #56]
	str	w8, [x19, #36]
	ldr	w8, [x20]
	str	w8, [x19, #4]
	mov	x23, x20
	ldr	w2, [x23, #4]!
	str	w2, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #32]
	ldr	x1, [x20, #8]
	b	LBB0_5
LBB0_2:
	mov	x24, #0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #480]
	stp	q0, q0, [sp, #448]
	stp	q0, q0, [sp, #416]
	stp	q0, q0, [sp, #384]
	stp	q0, q0, [sp, #352]
	stp	q0, q0, [sp, #320]
	stp	q0, q0, [sp, #288]
	stp	q0, q0, [sp, #256]
	stp	q0, q0, [sp, #224]
	stp	q0, q0, [sp, #192]
	stp	q0, q0, [sp, #160]
	stp	q0, q0, [sp, #128]
	stp	q0, q0, [sp, #96]
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	add	x25, x20, #8
	mov	x26, sp
	stp	q0, q0, [sp]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x0, [x8, x24]
	bl	_byte_swap_32
	str	x0, [x26, x24]
	add	x24, x24, #8
	cmp	x24, #512
	b.ne	LBB0_3
; %bb.4:
	ldr	w0, [x19, #32]
	ldr	w2, [x23]
	mov	x1, sp
LBB0_5:
	bl	_memcpy
	ldr	w0, [x19, #28]
	add	x21, x22, x21, lsl #6
	ldr	x1, [x21, #16]
	mov	w2, #6
	bl	_memcpy
	ldr	w0, [x19, #24]
	ldr	x1, [x21, #24]
	mov	w2, #6
	bl	_memcpy
	ldr	w0, [x19, #20]
	ldr	x1, [x21, #32]
	mov	w2, #32
	bl	_memcpy
	ldr	w0, [x19, #16]
	ldr	x1, [x21, #40]
	mov	w2, #32
	bl	_memcpy
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x19, #12]
	ldr	x1, [x21, #48]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21, #48]
	ldr	x0, [x8]
	bl	_byte_swap_32
	str	x0, [sp]
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #8]
	bl	_byte_swap_32
	str	x0, [sp, #8]
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #16]
	bl	_byte_swap_32
	str	x0, [sp, #16]
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #24]
	bl	_byte_swap_32
	str	x0, [sp, #24]
	ldr	w0, [x19, #12]
	mov	x1, sp
LBB0_8:
	mov	w2, #16
	bl	_memcpy
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HCCAPX_SIGNATURE,4,2           ; @HCCAPX_SIGNATURE
	.comm	_HCCAPX_VERSION,4,2             ; @HCCAPX_VERSION
	.no_dead_strip	_to_hccapx_t
.subsections_via_symbols
