	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_encoder
_create_encoder:                        ## @create_encoder
	.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	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	$0, -48(%rbp)
	cmpq	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movl	$4, %edi
	callq	_emalloc
	movq	%rax, (%r13)
	movq	_delete_encoder@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_zend_hash_init
LBB0_2:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_smart_str_appends
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_smart_str_appendc
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smart_str_appends
	movq	%rbx, %rdi
	callq	_smart_str_0
	movq	(%r13), %rdi
	movl	-48(%rbp), %esi
	callq	_zend_hash_find_ptr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_efree
LBB0_5:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	callq	_efree
LBB0_8:
	movq	%r14, %rbx
	jmp	LBB0_9
LBB0_7:
	movl	$4, %edi
	callq	_emalloc
	movq	%rax, %rbx
LBB0_9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_estrdup
	movq	%rax, 24(%rbx)
	movq	%r15, %rdi
	callq	_estrdup
	movq	%rax, 16(%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movq	_sdl_guess_convert_xml@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_sdl_guess_convert_zval@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	testq	%r14, %r14
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %rdi
	movl	-48(%rbp), %esi
	movq	%rbx, %rdx
	callq	_zend_hash_update_ptr
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	_smart_str_free
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_delete_encoder,4,2             ## @delete_encoder
	.comm	_sdl_guess_convert_xml,4,2      ## @sdl_guess_convert_xml
	.comm	_sdl_guess_convert_zval,4,2     ## @sdl_guess_convert_zval
	.no_dead_strip	_create_encoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_encoder
_create_encoder:                        ; @create_encoder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_emalloc
	str	x0, [x19]
Lloh0:
	adrp	x8, _delete_encoder@GOTPAGE
Lloh1:
	ldr	x8, [x8, _delete_encoder@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x2, #0
	mov	w4, #0
	bl	_zend_hash_init
LBB0_2:
	add	x0, sp, #8
	mov	x1, x22
	bl	_smart_str_appends
	add	x0, sp, #8
	mov	w1, #58
	bl	_smart_str_appendc
	add	x0, sp, #8
	mov	x1, x21
	bl	_smart_str_appends
	add	x0, sp, #8
	bl	_smart_str_0
	ldr	x0, [x19]
	ldr	w1, [sp, #8]
	bl	_zend_hash_find_ptr
	mov	x23, x0
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [x23, #24]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_efree
LBB0_5:
	ldr	x0, [x23, #16]
	mov	x24, x23
	cbz	x0, LBB0_8
; %bb.6:
	bl	_efree
	mov	x24, x23
	b	LBB0_8
LBB0_7:
	mov	w0, #4
	bl	_emalloc
	mov	x24, x0
LBB0_8:
	mov	x0, x24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x22
	bl	_estrdup
	str	x0, [x24, #24]
	mov	x0, x21
	bl	_estrdup
	str	x0, [x24, #16]
	str	w20, [x24, #8]
Lloh3:
	adrp	x8, _sdl_guess_convert_xml@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sdl_guess_convert_xml@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _sdl_guess_convert_zval@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sdl_guess_convert_zval@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x24]
	cbnz	x23, LBB0_10
; %bb.9:
	ldr	x0, [x19]
	ldr	w1, [sp, #8]
	mov	x2, x24
	bl	_zend_hash_update_ptr
LBB0_10:
	add	x0, sp, #8
	bl	_smart_str_free
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_delete_encoder,4,2             ; @delete_encoder
	.comm	_sdl_guess_convert_xml,4,2      ; @sdl_guess_convert_xml
	.comm	_sdl_guess_convert_zval,4,2     ; @sdl_guess_convert_zval
	.no_dead_strip	_create_encoder
.subsections_via_symbols
