	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function crypto_getfeat
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_crypto_getfeat
	.p2align	4, 0x90
_crypto_getfeat:                        ## @crypto_getfeat
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_LOCK
	movq	_crypto_drivers_num@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_11
## %bb.1:
	movq	_crypto_drivers@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_CRYPTOCAP_F_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_crypto_devallowsoft@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_CRK_ALGORITHM_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CRYPTO_ALG_FLAG_SUPPORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%eax, %ecx
	andl	$-8, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(,%rax,4), %r12
	andq	$-32, %r12
	xorl	%r14d, %r14d
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4,4,4,4]
	pxor	%xmm11, %xmm11
	movdqa	LCPI0_2(%rip), %xmm12           ## xmm12 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [8,8,8,8]
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	%r10, %r14
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	testl	%r11d, %r11d
	sete	%r13b
	movq	%r14, %rcx
	shlq	$4, %rcx
	testl	%r8d, (%r15,%rcx)
	setne	%dl
	testb	%r13b, %dl
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%rcx), %rdx
	cmpl	$8, %eax
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movd	%ebx, %xmm7
	pxor	%xmm6, %xmm6
	xorl	%ecx, %ecx
	movdqa	%xmm8, %xmm4
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm4, %xmm1
	paddd	%xmm9, %xmm1
	movdqu	(%rdx,%rcx), %xmm5
	movdqu	16(%rdx,%rcx), %xmm3
	pand	%xmm0, %xmm5
	pand	%xmm0, %xmm3
	movdqa	%xmm4, %xmm2
	pslld	$23, %xmm2
	paddd	%xmm12, %xmm2
	cvttps2dq	%xmm2, %xmm2
	pslld	$23, %xmm1
	paddd	%xmm12, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pcmpeqd	%xmm11, %xmm5
	pandn	%xmm2, %xmm5
	por	%xmm5, %xmm7
	pcmpeqd	%xmm11, %xmm3
	pandn	%xmm1, %xmm3
	por	%xmm3, %xmm6
	paddd	%xmm10, %xmm4
	addq	$32, %rcx
	cmpq	%rcx, %r12
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	por	%xmm7, %xmm6
	pshufd	$238, %xmm6, %xmm1              ## xmm1 = xmm6[2,3,2,3]
	por	%xmm6, %xmm1
	pshufd	$85, %xmm1, %xmm2               ## xmm2 = xmm1[1,1,1,1]
	por	%xmm1, %xmm2
	movd	%xmm2, %ebx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rcx
	cmpq	%rax, %rsi
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rcx,4), %edi
	movl	$1, %esi
	shll	%cl, %esi
	andl	%r9d, %edi
	testl	%edi, %edi
	cmovel	%edi, %esi
	orl	%esi, %ebx
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_UNLOCK
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crypto_drivers_num,4,2         ## @crypto_drivers_num
	.comm	_crypto_drivers,8,3             ## @crypto_drivers
	.comm	_CRYPTOCAP_F_SOFTWARE,4,2       ## @CRYPTOCAP_F_SOFTWARE
	.comm	_crypto_devallowsoft,4,2        ## @crypto_devallowsoft
	.comm	_CRK_ALGORITHM_MAX,4,2          ## @CRK_ALGORITHM_MAX
	.comm	_CRYPTO_ALG_FLAG_SUPPORTED,4,2  ## @CRYPTO_ALG_FLAG_SUPPORTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function crypto_getfeat
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_crypto_getfeat
	.p2align	2
_crypto_getfeat:                        ; @crypto_getfeat
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_CRYPTO_DRIVER_LOCK
Lloh0:
	adrp	x8, _crypto_drivers_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _crypto_drivers_num@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x9, #0
	mov	w20, #0
Lloh3:
	adrp	x10, _crypto_drivers@GOTPAGE
Lloh4:
	ldr	x10, [x10, _crypto_drivers@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _CRYPTOCAP_F_SOFTWARE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CRYPTOCAP_F_SOFTWARE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _crypto_devallowsoft@GOTPAGE
Lloh10:
	ldr	x12, [x12, _crypto_devallowsoft@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
Lloh12:
	adrp	x13, _CRK_ALGORITHM_MAX@GOTPAGE
Lloh13:
	ldr	x13, [x13, _CRK_ALGORITHM_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _CRYPTO_ALG_FLAG_SUPPORTED@GOTPAGE
Lloh16:
	ldr	x14, [x14, _CRYPTO_ALG_FLAG_SUPPORTED@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	and	x15, x13, #0xfffffff0
	dup.4s	v0, w14
Lloh18:
	adrp	x16, lCPI0_0@PAGE
Lloh19:
	ldr	q1, [x16, lCPI0_0@PAGEOFF]
	mov	w16, #1
	movi.4s	v2, #4
	movi.4s	v3, #8
	movi.4s	v4, #12
	movi.4s	v5, #1
	movi.4s	v6, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w12, #0
	lsl	x17, x9, #4
	ldr	w17, [x10, x17]
	and	w17, w11, w17
	ccmp	w17, #0, #4, eq
	ccmp	w13, #1, #8, eq
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x17, x10, x9, lsl #4
	ldr	x17, [x17, #8]
	cmp	w13, #16
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v7, #0000000000000000
	mov.s	v7[0], w20
	add	x0, x17, #32
	movi.2d	v16, #0000000000000000
	mov	x1, x15
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
	mov.16b	v19, v1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v20, v19, v2
	add.4s	v21, v19, v3
	add.4s	v22, v19, v4
	ldp	q23, q24, [x0, #-32]
	ldp	q25, q26, [x0], #64
	and.16b	v23, v0, v23
	and.16b	v24, v0, v24
	and.16b	v25, v0, v25
	and.16b	v26, v0, v26
	cmeq.4s	v23, v23, #0
	cmeq.4s	v24, v24, #0
	cmeq.4s	v25, v25, #0
	cmeq.4s	v26, v26, #0
	ushl.4s	v27, v5, v19
	ushl.4s	v20, v5, v20
	ushl.4s	v21, v5, v21
	ushl.4s	v22, v5, v22
	bic.16b	v23, v27, v23
	bic.16b	v20, v20, v24
	bic.16b	v21, v21, v25
	bic.16b	v22, v22, v26
	orr.16b	v7, v23, v7
	orr.16b	v16, v20, v16
	orr.16b	v17, v21, v17
	orr.16b	v18, v22, v18
	add.4s	v19, v19, v6
	subs	x1, x1, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	orr.16b	v7, v16, v7
	orr.16b	v7, v17, v7
	orr.16b	v7, v18, v7
	ext.16b	v16, v7, v7, #8
	orr.8b	v7, v7, v16
	fmov	w0, s7
	mov.s	w1, v7[1]
	orr	w20, w0, w1
	mov	x0, x15
	cmp	x15, x13
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x17, x0, lsl #2]
	lsl	w2, w16, w0
	tst	w14, w1
	csel	w1, wzr, w2, eq
	orr	w20, w1, w20
	add	x0, x0, #1
	cmp	x13, x0
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	mov	w20, #0
LBB0_11:
	bl	_CRYPTO_DRIVER_UNLOCK
	str	w20, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_crypto_drivers_num,4,2         ; @crypto_drivers_num
	.comm	_crypto_drivers,8,3             ; @crypto_drivers
	.comm	_CRYPTOCAP_F_SOFTWARE,4,2       ; @CRYPTOCAP_F_SOFTWARE
	.comm	_crypto_devallowsoft,4,2        ; @crypto_devallowsoft
	.comm	_CRK_ALGORITHM_MAX,4,2          ; @CRK_ALGORITHM_MAX
	.comm	_CRYPTO_ALG_FLAG_SUPPORTED,4,2  ; @CRYPTO_ALG_FLAG_SUPPORTED
.subsections_via_symbols
