	.file	"extr_php_sdl.c_make_persistent_sdl_binding.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	make_persistent_sdl_binding, @function
make_persistent_sdl_binding:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	edi, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	malloc@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rax
	mov	r12, rax
	call	memset@PLT
	movdqu	xmm0, XMMWORD PTR [rbx]
	movups	XMMWORD PTR [r12], xmm0
	movdqu	xmm1, XMMWORD PTR 16[rbx]
	movups	XMMWORD PTR 16[r12], xmm1
	mov	rdi, QWORD PTR 24[r12]
	test	rdi, rdi
	je	.L2
	call	strdup@PLT
	mov	QWORD PTR 24[r12], rax
.L2:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L3
	call	strdup@PLT
	mov	QWORD PTR 16[r12], rax
.L3:
	mov	rax, QWORD PTR BINDING_SOAP[rip]
	cmp	QWORD PTR [r12], rax
	je	.L13
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	QWORD PTR 8[r12], 0
	je	.L1
	mov	edi, 4
	call	malloc@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rax, QWORD PTR 8[r12]
	movdqu	xmm2, XMMWORD PTR [rax]
	movups	XMMWORD PTR [rbx], xmm2
	movdqu	xmm3, XMMWORD PTR 16[rax]
	mov	rax, r12
	movups	XMMWORD PTR 16[rbx], xmm3
	mov	QWORD PTR 8[r12], rbx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	make_persistent_sdl_binding, .-make_persistent_sdl_binding
	.comm	BINDING_SOAP,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_php_sdl.c_make_persistent_sdl_binding.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_persistent_sdl_binding, %function
make_persistent_sdl_binding:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, #4
	bl	malloc
	mov	r4, r0
	ldm	r5, {r0, r1, r2, r3}
	subs	ip, r3, #0
	stm	r4, {r0, r1, r2, r3}
	beq	.L2
	mov	r0, ip
	bl	strdup
	str	r0, [r4, #12]
.L2:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L3
	bl	strdup
	str	r0, [r4, #8]
.L3:
	ldr	r3, .L17
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L16
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r5, [r4, #4]
	cmp	r5, #0
	beq	.L1
	mov	r0, #4
	bl	malloc
	mov	r3, #0
	mov	ip, r0
	str	r3, [r0]
	ldm	r5, {r0, r1, r2, r3}
	str	ip, [r4, #4]
	stm	ip, {r0, r1, r2, r3}
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	BINDING_SOAP
	.size	make_persistent_sdl_binding, .-make_persistent_sdl_binding
	.comm	BINDING_SOAP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
