	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_px_find_cipher                 ## -- Begin function px_find_cipher
	.p2align	4, 0x90
_px_find_cipher:                        ## @px_find_cipher
	.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	%rsi, %r14
	movq	%rdi, %rsi
	movq	_ossl_aliases@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_px_resolve_alias
	movq	%rax, %r15
	movq	_ossl_cipher_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	jne	LBB0_1
LBB0_3:
	movq	_PXE_NO_CIPHER@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.7:
	movq	_cipher_resowner_callback_registered@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_9
## %bb.8:
	movq	_cipher_free_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RegisterResourceReleaseCallback
	movl	$1, (%r15)
LBB0_9:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$48, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, 40(%r15)
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_open_ciphers@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 24(%r15)
	movq	$0, 16(%r15)
	movq	%r15, (%rax)
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	*%rcx
	movl	%eax, 8(%r15)
LBB0_12:
	movl	$40, %edi
	callq	_px_alloc
	movq	_gen_ossl_block_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_gen_ossl_key_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_gen_ossl_iv_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_gen_ossl_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	(%r15), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_gen_ossl_encrypt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_gen_ossl_decrypt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%r15, (%rax)
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_13:
	movq	%r15, %rdi
	callq	_pfree
	movq	_PXE_CIPHER_INIT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_ossl_aliases,4,2               ## @ossl_aliases
	.comm	_ossl_cipher_types,8,3          ## @ossl_cipher_types
	.comm	_PXE_NO_CIPHER,4,2              ## @PXE_NO_CIPHER
	.comm	_cipher_resowner_callback_registered,4,2 ## @cipher_resowner_callback_registered
	.comm	_cipher_free_callback,4,2       ## @cipher_free_callback
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_PXE_CIPHER_INIT,4,2            ## @PXE_CIPHER_INIT
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_open_ciphers,8,3               ## @open_ciphers
	.comm	_gen_ossl_block_size,4,2        ## @gen_ossl_block_size
	.comm	_gen_ossl_key_size,4,2          ## @gen_ossl_key_size
	.comm	_gen_ossl_iv_size,4,2           ## @gen_ossl_iv_size
	.comm	_gen_ossl_free,4,2              ## @gen_ossl_free
	.comm	_gen_ossl_encrypt,4,2           ## @gen_ossl_encrypt
	.comm	_gen_ossl_decrypt,4,2           ## @gen_ossl_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_px_find_cipher                 ; -- Begin function px_find_cipher
	.p2align	2
_px_find_cipher:                        ; @px_find_cipher
	.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, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _ossl_aliases@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ossl_aliases@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_px_resolve_alias
	mov	x20, x0
Lloh3:
	adrp	x8, _ossl_cipher_types@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ossl_cipher_types@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x21, #24]
	add	x21, x21, #16
	cbnz	x0, LBB0_1
	b	LBB0_10
LBB0_3:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
; %bb.4:
Lloh6:
	adrp	x20, _cipher_resowner_callback_registered@GOTPAGE
Lloh7:
	ldr	x20, [x20, _cipher_resowner_callback_registered@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _cipher_free_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cipher_free_callback@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_RegisterResourceReleaseCallback
	mov	w8, #1
	str	w8, [x20]
LBB0_6:
Lloh11:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #48
	bl	_MemoryContextAllocZero
	mov	x20, x0
	ldr	x8, [x21]
	str	x8, [x0]
	bl	_EVP_CIPHER_CTX_new
	cbz	x0, LBB0_13
; %bb.7:
	str	x0, [x20, #40]
Lloh14:
	adrp	x8, _CurrentResourceOwner@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CurrentResourceOwner@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh17:
	adrp	x8, _open_ciphers@GOTPAGE
Lloh18:
	ldr	x8, [x8, _open_ciphers@GOTPAGEOFF]
	ldr	x9, [x8]
	stp	xzr, x9, [x20, #16]
	str	x20, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.8:
	blr	x8
	str	w0, [x20, #8]
LBB0_9:
	mov	w0, #40
	bl	_px_alloc
	mov	x8, x0
	mov	w0, #0
Lloh19:
	adrp	x9, _gen_ossl_block_size@GOTPAGE
Lloh20:
	ldr	x9, [x9, _gen_ossl_block_size@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _gen_ossl_key_size@GOTPAGE
Lloh23:
	ldr	x10, [x10, _gen_ossl_key_size@GOTPAGEOFF]
	str	w9, [x8, #32]
Lloh24:
	ldr	w9, [x10]
Lloh25:
	adrp	x10, _gen_ossl_iv_size@GOTPAGE
Lloh26:
	ldr	x10, [x10, _gen_ossl_iv_size@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #24]
Lloh28:
	adrp	x9, _gen_ossl_free@GOTPAGE
Lloh29:
	ldr	x9, [x9, _gen_ossl_free@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ldr	x10, [x20]
	ldr	w10, [x10]
	stp	w10, w9, [x8, #16]
Lloh31:
	adrp	x9, _gen_ossl_encrypt@GOTPAGE
Lloh32:
	ldr	x9, [x9, _gen_ossl_encrypt@GOTPAGEOFF]
Lloh33:
	adrp	x10, _gen_ossl_decrypt@GOTPAGE
Lloh34:
	ldr	x10, [x10, _gen_ossl_decrypt@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
	str	x20, [x8]
	str	x8, [x19]
	b	LBB0_12
LBB0_10:
Lloh37:
	adrp	x8, _PXE_NO_CIPHER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PXE_NO_CIPHER@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
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
LBB0_13:
	mov	x0, x20
	bl	_pfree
Lloh39:
	adrp	x8, _PXE_CIPHER_INIT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PXE_CIPHER_INIT@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ossl_aliases,4,2               ; @ossl_aliases
	.comm	_ossl_cipher_types,8,3          ; @ossl_cipher_types
	.comm	_PXE_NO_CIPHER,4,2              ; @PXE_NO_CIPHER
	.comm	_cipher_resowner_callback_registered,4,2 ; @cipher_resowner_callback_registered
	.comm	_cipher_free_callback,4,2       ; @cipher_free_callback
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_PXE_CIPHER_INIT,4,2            ; @PXE_CIPHER_INIT
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_open_ciphers,8,3               ; @open_ciphers
	.comm	_gen_ossl_block_size,4,2        ; @gen_ossl_block_size
	.comm	_gen_ossl_key_size,4,2          ; @gen_ossl_key_size
	.comm	_gen_ossl_iv_size,4,2           ; @gen_ossl_iv_size
	.comm	_gen_ossl_free,4,2              ; @gen_ossl_free
	.comm	_gen_ossl_encrypt,4,2           ; @gen_ossl_encrypt
	.comm	_gen_ossl_decrypt,4,2           ; @gen_ossl_decrypt
.subsections_via_symbols
