	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __get_avx
___get_avx:                             ## @__get_avx
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	%edi, %ebx
	movl	$0, -48(%rbp)
	movl	$0, -56(%rbp)
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_w32_GetEnabledXStateFeatures
	movl	%eax, -52(%rbp)
	movq	_XSTATE_MASK_AVX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.1:
	movq	_CONTEXT_ALL@GOTPCREL(%rip), %r15
	movq	_CONTEXT_XSTATE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	orl	(%r15), %esi
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_w32_InitializeContext
	testq	%rax, %rax
	jne	LBB0_35
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_INSUFFICIENT_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.3:
	movl	-48(%rbp), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_35
## %bb.4:
	movl	(%r14), %esi
	orl	(%r15), %esi
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_w32_InitializeContext
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_34
## %bb.5:
	movl	-44(%rbp), %edi
	movq	_XSTATE_MASK_AVX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_w32_SetXStateFeaturesMask
	testl	%eax, %eax
	je	LBB0_34
## %bb.6:
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	callq	_GetThreadContext
	testl	%eax, %eax
	je	LBB0_34
## %bb.7:
	movl	-44(%rbp), %edi
	leaq	-52(%rbp), %rsi
	callq	_w32_GetXStateFeaturesMask
	testq	%rax, %rax
	je	LBB0_8
LBB0_34:
	movq	%r15, %rdi
	callq	_free
LBB0_35:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	-44(%rbp), %edi
	movq	_XSTATE_LEGACY_SSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_w32_LocateXStateFeature
	movl	-56(%rbp), %r9d
	movl	%r9d, %r13d
	sarl	$4, %r13d
	cmpl	$16, %r9d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_24
## %bb.9:
	cmpl	$2, %r13d
	movl	$1, %ebx
	cmovgel	%r13d, %ebx
	leaq	-1(%rbx), %r8
	movl	%ebx, %esi
	andl	$3, %esi
	cmpq	$3, %r8
	jae	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_11:
	movl	%ebx, %ecx
	andl	$2147483644, %ecx               ## imm = 0x7FFFFFFC
	movl	$48, %edx
	xorl	%edi, %edi
	xorps	%xmm0, %xmm0
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, -48(%r14,%rdx)
	movups	%xmm0, -48(%r12,%rdx)
	movups	%xmm0, -32(%r14,%rdx)
	movups	%xmm0, -32(%r12,%rdx)
	movups	%xmm0, -16(%r14,%rdx)
	movups	%xmm0, -16(%r12,%rdx)
	movups	%xmm0, (%r14,%rdx)
	movups	%xmm0, (%r12,%rdx)
	addq	$4, %rdi
	addq	$64, %rdx
	cmpq	%rdi, %rcx
	jne	LBB0_12
LBB0_13:
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:
	shlq	$4, %rdi
	leaq	(%r12,%rdi), %rcx
	addq	%r14, %rdi
	shlq	$4, %rsi
	xorl	%edx, %edx
	xorps	%xmm0, %xmm0
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rdi,%rdx)
	movups	%xmm0, (%rcx,%rdx)
	addq	$16, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_15
LBB0_16:
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movl	%ebx, %esi
	andl	$3, %esi
	cmpq	$3, %r8
	jae	LBB0_19
## %bb.18:
	xorl	%edx, %edx
	jmp	LBB0_21
LBB0_19:
	andl	$2147483644, %ebx               ## imm = 0x7FFFFFFC
	movl	$48, %ecx
	xorl	%edx, %edx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movups	-48(%rax,%rcx), %xmm0
	movups	%xmm0, -48(%r12,%rcx)
	movups	-32(%rax,%rcx), %xmm0
	movups	%xmm0, -32(%r12,%rcx)
	movups	-16(%rax,%rcx), %xmm0
	movups	%xmm0, -16(%r12,%rcx)
	movups	(%rax,%rcx), %xmm0
	movups	%xmm0, (%r12,%rcx)
	addq	$4, %rdx
	addq	$64, %rcx
	cmpq	%rdx, %rbx
	jne	LBB0_20
LBB0_21:
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.22:
	shlq	$4, %rdx
	addq	%rdx, %r12
	addq	%rdx, %rax
	shlq	$4, %rsi
	xorl	%ecx, %ecx
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rcx), %xmm0
	movups	%xmm0, (%r12,%rcx)
	addq	$16, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_23
LBB0_24:
	movq	_XSTATE_MASK_AVX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -52(%rbp)
	je	LBB0_34
## %bb.25:
	movl	%r9d, %ebx
	movl	-44(%rbp), %edi
	movq	_XSTATE_AVX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_w32_LocateXStateFeature
	testq	%rax, %rax
	je	LBB0_34
## %bb.26:
	cmpl	$16, %ebx
	jl	LBB0_34
## %bb.27:
	cmpl	$2, %r13d
	movl	$1, %edx
	cmovgel	%r13d, %edx
	leaq	-1(%rdx), %rsi
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rsi
	jae	LBB0_29
## %bb.28:
	xorl	%esi, %esi
	jmp	LBB0_31
LBB0_29:
	andl	$2147483644, %edx               ## imm = 0x7FFFFFFC
	movl	$48, %edi
	xorl	%esi, %esi
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movups	-48(%rax,%rdi), %xmm0
	movups	%xmm0, -48(%r14,%rdi)
	movups	-32(%rax,%rdi), %xmm0
	movups	%xmm0, -32(%r14,%rdi)
	movups	-16(%rax,%rdi), %xmm0
	movups	%xmm0, -16(%r14,%rdi)
	movups	(%rax,%rdi), %xmm0
	movups	%xmm0, (%r14,%rdi)
	addq	$4, %rsi
	addq	$64, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_30
LBB0_31:
	testq	%rcx, %rcx
	je	LBB0_34
## %bb.32:
	shlq	$4, %rsi
	addq	%rsi, %r14
	addq	%rsi, %rax
	shlq	$4, %rcx
	xorl	%edx, %edx
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rdx), %xmm0
	movups	%xmm0, (%r14,%rdx)
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_33
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_XSTATE_MASK_AVX,4,2            ## @XSTATE_MASK_AVX
	.comm	_CONTEXT_ALL,4,2                ## @CONTEXT_ALL
	.comm	_CONTEXT_XSTATE,4,2             ## @CONTEXT_XSTATE
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ## @ERROR_INSUFFICIENT_BUFFER
	.comm	_XSTATE_LEGACY_SSE,4,2          ## @XSTATE_LEGACY_SSE
	.comm	_XSTATE_AVX,4,2                 ## @XSTATE_AVX
	.no_dead_strip	___get_avx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __get_avx
___get_avx:                             ; @__get_avx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	bl	_w32_GetEnabledXStateFeatures
	str	w0, [sp, #4]
Lloh0:
	adrp	x23, _XSTATE_MASK_AVX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _XSTATE_MASK_AVX@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.1:
Lloh2:
	adrp	x24, _CONTEXT_ALL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CONTEXT_ALL@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh4:
	adrp	x25, _CONTEXT_XSTATE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CONTEXT_XSTATE@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w1, w9, w8
	add	x3, sp, #12
	mov	x0, #0
	mov	x2, #0
	bl	_w32_InitializeContext
	cbnz	x0, LBB0_10
; %bb.2:
	bl	_GetLastError
Lloh6:
	adrp	x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x19, x0
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w1, w9, w8
	mov	x2, sp
	add	x3, sp, #12
	bl	_w32_InitializeContext
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [sp]
	ldr	w1, [x23]
	bl	_w32_SetXStateFeaturesMask
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w1, [sp]
	mov	x0, x21
	bl	_GetThreadContext
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w0, [sp]
	add	x1, sp, #4
	bl	_w32_GetXStateFeaturesMask
	cbz	x0, LBB0_12
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x19
	bl	_free
	b	LBB0_11
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_12:
	ldr	w0, [sp]
Lloh9:
	adrp	x8, _XSTATE_LEGACY_SSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XSTATE_LEGACY_SSE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_w32_LocateXStateFeature
	ldr	w24, [sp, #8]
	asr	w21, w24, #4
	cmp	w24, #16
	b.lt	LBB0_32
; %bb.13:
	cmp	w21, #1
	csinc	w8, w21, wzr, gt
	cmp	w8, #8
	b.hs	LBB0_20
; %bb.14:
	mov	x9, #0
LBB0_15:
	lsl	x11, x9, #4
	add	x10, x20, x11
	add	x11, x22, x11
	sub	x9, x8, x9
	movi.2d	v0, #0000000000000000
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	q0, [x10], #16
	str	q0, [x11], #16
	subs	x9, x9, #1
	b.ne	LBB0_16
LBB0_17:
	cbz	x0, LBB0_32
; %bb.18:
	cmp	w8, #4
	b.hs	LBB0_25
; %bb.19:
	mov	x9, #0
	b	LBB0_30
LBB0_20:
	mov	x9, #0
	add	x11, x20, #8
	add	x12, x22, #8
	lsl	x10, x8, #4
	add	x13, x20, x10
	sub	x14, x13, #8
	add	x15, x22, x10
	sub	x10, x15, #8
	cmp	x10, x20
	ccmp	x14, x22, #0, hi
	cset	w10, hi
	cmp	x12, x13
	ccmp	x11, x15, #2, lo
	b.lo	LBB0_15
; %bb.21:
	tbnz	w10, #0, LBB0_15
; %bb.22:
	and	x9, x8, #0x7ffffff8
	add	x10, x22, #64
	add	x11, x20, #64
	movi.2d	v0, #0000000000000000
	mov	x12, x9
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-64]
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11]
	stp	q0, q0, [x11, #32]
	stp	q0, q0, [x10, #-64]
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10]
	stp	q0, q0, [x10, #32]
	add	x10, x10, #128
	add	x11, x11, #128
	subs	x12, x12, #8
	b.ne	LBB0_23
; %bb.24:
	cmp	x9, x8
	b.ne	LBB0_15
	b	LBB0_17
LBB0_25:
	mov	x9, #0
	add	x11, x22, #8
	add	x12, x0, #8
	lsl	x10, x8, #4
	add	x13, x22, x10
	sub	x14, x13, #8
	add	x15, x0, x10
	sub	x10, x15, #8
	cmp	x10, x22
	ccmp	x0, x14, #2, hi
	cset	w10, lo
	cmp	x12, x13
	ccmp	x11, x15, #2, lo
	b.lo	LBB0_30
; %bb.26:
	tbnz	w10, #0, LBB0_30
; %bb.27:
	and	x9, x8, #0x7ffffffc
	add	x10, x0, #32
	add	x11, x22, #32
	mov	x12, x9
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x10, #-32]
	ldp	q3, q2, [x10], #64
	stp	q1, q0, [x11, #-32]
	stp	q3, q2, [x11], #64
	subs	x12, x12, #4
	b.ne	LBB0_28
; %bb.29:
	cmp	x9, x8
	b.eq	LBB0_32
LBB0_30:
	lsl	x11, x9, #4
	add	x10, x0, x11
	add	x11, x22, x11
	sub	x8, x8, x9
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x10], #16
	str	q0, [x11], #16
	subs	x8, x8, #1
	b.ne	LBB0_31
LBB0_32:
	ldr	w8, [sp, #4]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.33:
	ldr	w0, [sp]
Lloh12:
	adrp	x8, _XSTATE_AVX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XSTATE_AVX@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_w32_LocateXStateFeature
	cmp	x0, #0
	ccmp	w24, #16, #8, ne
	b.lt	LBB0_9
; %bb.34:
	cmp	w21, #1
	csinc	w8, w21, wzr, gt
	cmp	w8, #4
	b.hs	LBB0_36
; %bb.35:
	mov	x9, #0
	b	LBB0_41
LBB0_36:
	mov	x9, #0
	add	x11, x20, #8
	add	x12, x0, #8
	lsl	x10, x8, #4
	add	x13, x20, x10
	sub	x14, x13, #8
	add	x15, x0, x10
	sub	x10, x15, #8
	cmp	x10, x20
	ccmp	x0, x14, #2, hi
	cset	w10, lo
	cmp	x12, x13
	ccmp	x11, x15, #2, lo
	b.lo	LBB0_41
; %bb.37:
	tbnz	w10, #0, LBB0_41
; %bb.38:
	and	x9, x8, #0x7ffffffc
	add	x10, x0, #32
	add	x11, x20, #32
	mov	x12, x9
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x10, #-32]
	ldp	q3, q2, [x10], #64
	stp	q1, q0, [x11, #-32]
	stp	q3, q2, [x11], #64
	subs	x12, x12, #4
	b.ne	LBB0_39
; %bb.40:
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_41:
	lsl	x11, x9, #4
	add	x10, x0, x11
	add	x11, x20, x11
	sub	x8, x8, x9
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x10], #16
	str	q0, [x11], #16
	subs	x8, x8, #1
	b.ne	LBB0_42
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XSTATE_MASK_AVX,4,2            ; @XSTATE_MASK_AVX
	.comm	_CONTEXT_ALL,4,2                ; @CONTEXT_ALL
	.comm	_CONTEXT_XSTATE,4,2             ; @CONTEXT_XSTATE
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ; @ERROR_INSUFFICIENT_BUFFER
	.comm	_XSTATE_LEGACY_SSE,4,2          ; @XSTATE_LEGACY_SSE
	.comm	_XSTATE_AVX,4,2                 ; @XSTATE_AVX
	.no_dead_strip	___get_avx
.subsections_via_symbols
