	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bind_afalg
_bind_afalg:                            ## @bind_afalg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_ERR_load_AFALG_strings
	movq	_engine_afalg_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_id
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	_engine_afalg_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_name
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	_afalg_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_destroy_function
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	_afalg_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_init_function
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	_afalg_finish@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_finish_function
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	_afalg_cipher_nids@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_OSSL_NELEM
	testw	%ax, %ax
	je	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_afalg_aes_cbc
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	(%r14), %rdi
	callq	_OSSL_NELEM
	movzwl	%ax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_8
LBB0_9:
	movq	_afalg_ciphers@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ENGINE_set_ciphers
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_10:
	movq	_AFALG_F_BIND_AFALG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AFALG_R_INIT_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AFALGerr
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_engine_afalg_id,4,2            ## @engine_afalg_id
	.comm	_engine_afalg_name,4,2          ## @engine_afalg_name
	.comm	_afalg_destroy,4,2              ## @afalg_destroy
	.comm	_afalg_init,4,2                 ## @afalg_init
	.comm	_afalg_finish,4,2               ## @afalg_finish
	.comm	_AFALG_F_BIND_AFALG,4,2         ## @AFALG_F_BIND_AFALG
	.comm	_AFALG_R_INIT_FAILED,4,2        ## @AFALG_R_INIT_FAILED
	.comm	_afalg_cipher_nids,8,3          ## @afalg_cipher_nids
	.comm	_afalg_ciphers,4,2              ## @afalg_ciphers
	.no_dead_strip	_bind_afalg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bind_afalg
_bind_afalg:                            ; @bind_afalg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ERR_load_AFALG_strings
Lloh0:
	adrp	x8, _engine_afalg_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _engine_afalg_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_id
	cbz	w0, LBB0_11
; %bb.1:
Lloh3:
	adrp	x8, _engine_afalg_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _engine_afalg_name@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_name
	cbz	w0, LBB0_11
; %bb.2:
Lloh6:
	adrp	x8, _afalg_destroy@GOTPAGE
Lloh7:
	ldr	x8, [x8, _afalg_destroy@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_destroy_function
	cbz	w0, LBB0_11
; %bb.3:
Lloh9:
	adrp	x8, _afalg_init@GOTPAGE
Lloh10:
	ldr	x8, [x8, _afalg_init@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_init_function
	cbz	w0, LBB0_11
; %bb.4:
Lloh12:
	adrp	x8, _afalg_finish@GOTPAGE
Lloh13:
	ldr	x8, [x8, _afalg_finish@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_finish_function
	cbz	w0, LBB0_11
; %bb.5:
Lloh15:
	adrp	x20, _afalg_cipher_nids@GOTPAGE
Lloh16:
	ldr	x20, [x20, _afalg_cipher_nids@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_OSSL_NELEM
	cbz	w0, LBB0_9
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	bl	_afalg_aes_cbc
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_OSSL_NELEM
	cmp	x21, w0, uxtw
	b.lo	LBB0_7
LBB0_9:
Lloh17:
	adrp	x8, _afalg_ciphers@GOTPAGE
Lloh18:
	ldr	x8, [x8, _afalg_ciphers@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENGINE_set_ciphers
	cbz	w0, LBB0_11
; %bb.10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
Lloh20:
	adrp	x8, _AFALG_F_BIND_AFALG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AFALG_F_BIND_AFALG@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _AFALG_R_INIT_FAILED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AFALG_R_INIT_FAILED@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_AFALGerr
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_engine_afalg_id,4,2            ; @engine_afalg_id
	.comm	_engine_afalg_name,4,2          ; @engine_afalg_name
	.comm	_afalg_destroy,4,2              ; @afalg_destroy
	.comm	_afalg_init,4,2                 ; @afalg_init
	.comm	_afalg_finish,4,2               ; @afalg_finish
	.comm	_AFALG_F_BIND_AFALG,4,2         ; @AFALG_F_BIND_AFALG
	.comm	_AFALG_R_INIT_FAILED,4,2        ; @AFALG_R_INIT_FAILED
	.comm	_afalg_cipher_nids,8,3          ; @afalg_cipher_nids
	.comm	_afalg_ciphers,4,2              ; @afalg_ciphers
	.no_dead_strip	_bind_afalg
.subsections_via_symbols
