	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_load_cipher_mode
_php_openssl_load_cipher_mode:          ## @php_openssl_load_cipher_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_EVP_CIPHER_mode
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	$1, (%rbx)
	movq	_EVP_CTRL_GCM_GET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_EVP_CTRL_GCM_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_EVP_CTRL_GCM_SET_IVLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	_EVP_CTRL_CCM_GET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_EVP_CTRL_CCM_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_EVP_CTRL_CCM_SET_IVLEN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CTRL_GCM_GET_TAG,4,2       ## @EVP_CTRL_GCM_GET_TAG
	.comm	_EVP_CTRL_GCM_SET_TAG,4,2       ## @EVP_CTRL_GCM_SET_TAG
	.comm	_EVP_CTRL_GCM_SET_IVLEN,4,2     ## @EVP_CTRL_GCM_SET_IVLEN
	.comm	_EVP_CTRL_CCM_GET_TAG,4,2       ## @EVP_CTRL_CCM_GET_TAG
	.comm	_EVP_CTRL_CCM_SET_TAG,4,2       ## @EVP_CTRL_CCM_SET_TAG
	.comm	_EVP_CTRL_CCM_SET_IVLEN,4,2     ## @EVP_CTRL_CCM_SET_IVLEN
	.no_dead_strip	_php_openssl_load_cipher_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function php_openssl_load_cipher_mode
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_php_openssl_load_cipher_mode:          ; @php_openssl_load_cipher_mode
	.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
	mov	x0, x1
	bl	_EVP_CIPHER_mode
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh2:
	adrp	x8, _EVP_CTRL_GCM_GET_TAG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVP_CTRL_GCM_GET_TAG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh5:
	adrp	x8, _EVP_CTRL_GCM_SET_TAG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVP_CTRL_GCM_SET_TAG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _EVP_CTRL_GCM_SET_IVLEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EVP_CTRL_GCM_SET_IVLEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	movi.2s	v0, #1
	str	d0, [x19]
Lloh10:
	adrp	x8, _EVP_CTRL_CCM_GET_TAG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVP_CTRL_CCM_GET_TAG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh13:
	adrp	x8, _EVP_CTRL_CCM_SET_TAG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EVP_CTRL_CCM_SET_TAG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _EVP_CTRL_CCM_SET_IVLEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EVP_CTRL_CCM_SET_IVLEN@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CTRL_GCM_GET_TAG,4,2       ; @EVP_CTRL_GCM_GET_TAG
	.comm	_EVP_CTRL_GCM_SET_TAG,4,2       ; @EVP_CTRL_GCM_SET_TAG
	.comm	_EVP_CTRL_GCM_SET_IVLEN,4,2     ; @EVP_CTRL_GCM_SET_IVLEN
	.comm	_EVP_CTRL_CCM_GET_TAG,4,2       ; @EVP_CTRL_CCM_GET_TAG
	.comm	_EVP_CTRL_CCM_SET_TAG,4,2       ; @EVP_CTRL_CCM_SET_TAG
	.comm	_EVP_CTRL_CCM_SET_IVLEN,4,2     ; @EVP_CTRL_CCM_SET_IVLEN
	.no_dead_strip	_php_openssl_load_cipher_mode
.subsections_via_symbols
