	.file	"extr_39930.c_release_device_texture.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IOConnectCall error: %x\n"
.LC1:
	.string	"worked?"
	.text
	.p2align 4
	.globl	release_device_texture
	.type	release_device_texture, @function
release_device_texture:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 4096
	.cfi_def_cfa_offset 4120
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	.cfi_def_cfa_offset 8216
	or	QWORD PTR [rsp], 0
	sub	rsp, 168
	.cfi_def_cfa_offset 8384
	mov	edx, 4096
	mov	esi, 65
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8344[rsp], rax
	xor	eax, eax
	lea	rbx, 144[rsp]
	mov	ebp, edi
	mov	DWORD PTR 4[rsp], 0
	mov	QWORD PTR 8[rsp], 0
	mov	rdi, rbx
	call	memset@PLT
	lea	rdx, 16[rsp]
	xor	ecx, ecx
	xor	esi, esi
	movabs	rax, 103079215105
	mov	r9d, 4096
	mov	r8, rbx
	mov	edi, ebp
	mov	QWORD PTR 144[rsp], rax
	lea	rax, 8[rsp]
	mov	DWORD PTR 156[rsp], 510
	mov	QWORD PTR 8[rsp], 4096
	push	rax
	.cfi_def_cfa_offset 8392
	lea	rax, 4248[rsp]
	push	rax
	.cfi_def_cfa_offset 8400
	lea	rax, 20[rsp]
	push	rax
	.cfi_def_cfa_offset 8408
	lea	rax, 104[rsp]
	push	rax
	.cfi_def_cfa_offset 8416
	call	IOConnectCallMethod@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 8384
	cmp	QWORD PTR KERN_SUCCESS[rip], rax
	je	.L2
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
.L3:
	mov	rax, QWORD PTR 8344[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 8360
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	release_device_texture, .-release_device_texture
	.comm	KERN_SUCCESS,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_39930.c_release_device_texture.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IOConnectCall error: %x\012\000"
	.align	2
.LC1:
	.ascii	"worked?\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	release_device_texture
	.syntax unified
	.arm
	.fpu softvfp
	.type	release_device_texture, %function
release_device_texture:
	@ args = 0, pretend = 0, frame = 8336
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	sub	sp, sp, #8320
	sub	sp, sp, #44
	ldr	ip, .L8
	add	r6, sp, #164
	add	r3, sp, #8320
	mov	r5, r0
	mov	r2, #4096
	mov	r1, #65
	mov	r0, r6
	ldr	ip, [ip]
	str	ip, [r3, #36]
	mov	ip,#0
	add	r3, r3, #36
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	bl	memset
	mov	r3, #1
	mov	ip, #4096
	mov	r7, #24
	str	r3, [sp, #164]
	add	r3, sp, #32
	str	r3, [sp, #20]
	add	r3, sp, #28
	str	r3, [sp, #12]
	add	r3, sp, #4224
	add	r3, r3, #36
	ldr	lr, .L8+4
	str	r3, [sp, #16]
	add	r3, sp, #100
	str	r3, [sp, #8]
	mov	r0, r5
	mov	r3, r4
	mov	r1, r4
	str	r6, [sp]
	str	ip, [sp, #4]
	add	r2, sp, #36
	str	r7, [sp, #168]
	str	lr, [sp, #176]
	str	ip, [sp, #32]
	bl	IOConnectCallMethod
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
	mov	r1, r0
	ldr	r0, .L8+12
	bl	printf
.L3:
	add	r3, sp, #8320
	ldr	r2, .L8
	add	r3, r3, #36
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L7
	mov	r0, #0
	add	sp, sp, #8320
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r0, .L8+16
	bl	puts
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	510
	.word	KERN_SUCCESS
	.word	.LC0
	.word	.LC1
	.size	release_device_texture, .-release_device_texture
	.comm	KERN_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
