	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_add_assoc_name_entry
_php_openssl_add_assoc_name_entry:      ## @php_openssl_add_assoc_name_entry
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	testq	%rsi, %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rdi
	callq	_array_init
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rax
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	callq	_ZVAL_COPY_VALUE
LBB0_3:
	movq	%rbx, %rdi
	callq	_X509_NAME_entry_count
	testl	%eax, %eax
	jle	LBB0_22
## %bb.4:
	xorl	%r15d, %r15d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_X509_NAME_entry_count
	cmpl	%eax, %r15d
	jge	LBB0_22
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -56(%rbp)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_X509_NAME_get_entry
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_X509_NAME_ENTRY_get_object
	movq	%rax, %rdi
	callq	_OBJ_obj2nid
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_OBJ_nid2sn
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_OBJ_nid2ln
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_X509_NAME_ENTRY_get_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ASN1_STRING_type
	movq	_V_ASN1_UTF8STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_ASN1_STRING_get0_data
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ASN1_STRING_length
	movl	%eax, %r12d
	cmpl	$-1, %r12d
	je	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi
	callq	_Z_ARRVAL
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_zend_hash_str_find
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_add_next_index_stringl
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ASN1_STRING_to_UTF8
	movl	%eax, %r12d
	movq	-56(%rbp), %r13
	cmpl	$-1, %r12d
	jne	LBB0_12
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_php_openssl_store_errors
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	callq	_add_assoc_stringl
	jmp	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-48(%rbp), %rdi
	callq	_array_init
	movq	%rbx, %rdi
	callq	_Z_STR_P
	movl	%eax, %edi
	callq	_zend_string_copy
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_add_next_index_str
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_add_next_index_stringl
	movl	-44(%rbp), %edi
	callq	_Z_ARRVAL
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	leaq	-48(%rbp), %rcx
	callq	_zend_hash_str_update
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_OPENSSL_free
	jmp	LBB0_21
LBB0_22:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_Z_ARRVAL_P
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-44(%rbp), %rcx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_zend_hash_str_update
LBB0_24:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_UTF8STRING,8,3          ## @V_ASN1_UTF8STRING
	.comm	_IS_ARRAY,8,3                   ## @IS_ARRAY
	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.no_dead_strip	_php_openssl_add_assoc_name_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_openssl_add_assoc_name_entry
_php_openssl_add_assoc_name_entry:      ; @php_openssl_add_assoc_name_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x1, LBB0_2
; %bb.1:
	add	x0, sp, #28
	bl	_array_init
	b	LBB0_3
LBB0_2:
	mov	x8, x0
	add	x0, sp, #28
	mov	x1, x8
	bl	_ZVAL_COPY_VALUE
LBB0_3:
	mov	x0, x22
	bl	_X509_NAME_entry_count
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.4:
	mov	w23, #0
Lloh0:
	adrp	x28, _V_ASN1_UTF8STRING@GOTPAGE
Lloh1:
	ldr	x28, [x28, _V_ASN1_UTF8STRING@GOTPAGEOFF]
Lloh2:
	adrp	x20, _IS_ARRAY@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IS_ARRAY@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	mov	x0, x22
	bl	_X509_NAME_entry_count
	cmp	w23, w0
	b.ge	LBB0_21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #16]
	mov	x0, x22
	mov	x1, x23
	bl	_X509_NAME_get_entry
	mov	x25, x0
	bl	_X509_NAME_ENTRY_get_object
	bl	_OBJ_obj2nid
	cbz	w21, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_OBJ_nid2sn
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_OBJ_nid2ln
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	mov	x0, x25
	bl	_X509_NAME_ENTRY_get_data
	mov	x26, x0
	bl	_ASN1_STRING_type
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_ASN1_STRING_get0_data
	mov	x25, x0
	mov	x0, x26
	bl	_ASN1_STRING_length
	mov	x26, x0
	cmn	w26, #1
	b.eq	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #28]
	bl	_Z_ARRVAL
	mov	x27, x0
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x27
	mov	x1, x24
	bl	_zend_hash_str_find
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	bl	_Z_TYPE_P
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	bl	_add_next_index_stringl
	b	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	mov	x1, x26
	bl	_ASN1_STRING_to_UTF8
	mov	x26, x0
	ldr	x25, [sp, #16]
	cmn	w26, #1
	b.ne	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_php_openssl_store_errors
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #28
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	bl	_add_assoc_stringl
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_Z_TYPE_P
Lloh4:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	bl	_array_init
	mov	x0, x27
	bl	_Z_STR_P
	bl	_zend_string_copy
	mov	x1, x0
	add	x0, sp, #24
	bl	_add_next_index_str
	add	x0, sp, #24
	mov	x1, x25
	mov	x2, x26
	bl	_add_next_index_stringl
	ldr	w0, [sp, #28]
	bl	_Z_ARRVAL
	mov	x25, x0
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	add	x3, sp, #24
	mov	x0, x25
	mov	x1, x24
	bl	_zend_hash_str_update
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_5
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_OPENSSL_free
	b	LBB0_5
LBB0_21:
	cbz	x19, LBB0_23
; %bb.22:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_Z_ARRVAL_P
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	add	x3, sp, #28
	mov	x0, x20
	mov	x1, x19
	bl	_zend_hash_str_update
LBB0_23:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_UTF8STRING,8,3          ; @V_ASN1_UTF8STRING
	.comm	_IS_ARRAY,8,3                   ; @IS_ARRAY
	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.no_dead_strip	_php_openssl_add_assoc_name_entry
.subsections_via_symbols
