	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_platform_unbind_pixmap_from_egl_image ## -- Begin function khrn_platform_unbind_pixmap_from_egl_image
	.p2align	4, 0x90
_khrn_platform_unbind_pixmap_from_egl_image: ## @khrn_platform_unbind_pixmap_from_egl_image
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_PIXMAP_BINDINGS@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_pixmap_binding@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	%ecx, %rax
	addq	$16, %rdx
	cmpq	%rax, %rsi
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, 8(%rdx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rdx)
	movl	(%r8), %ecx
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_PIXMAP_BINDINGS,4,2        ## @NUM_PIXMAP_BINDINGS
	.comm	_pixmap_binding,8,3             ## @pixmap_binding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_platform_unbind_pixmap_from_egl_image ; -- Begin function khrn_platform_unbind_pixmap_from_egl_image
	.p2align	2
_khrn_platform_unbind_pixmap_from_egl_image: ; @khrn_platform_unbind_pixmap_from_egl_image
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_PIXMAP_BINDINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_PIXMAP_BINDINGS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x10, #0
Lloh2:
	adrp	x11, _pixmap_binding@GOTPAGE
Lloh3:
	ldr	x11, [x11, _pixmap_binding@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	add	x11, x11, #16
	cmp	x10, w9, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	cbz	w12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x11, #8]
	cmp	x12, x0
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x11]
	ldr	w9, [x8]
	b	LBB0_2
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_PIXMAP_BINDINGS,4,2        ; @NUM_PIXMAP_BINDINGS
	.comm	_pixmap_binding,8,3             ; @pixmap_binding
.subsections_via_symbols
