	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_bound_pixmap
_send_bound_pixmap:                     ## @send_bound_pixmap
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pixmap_binding@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %rbx
	movq	%rbx, %r15
	shlq	$4, %r15
	movl	8(%rax,%r15), %edx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_vcos_log_trace
	testl	%ebx, %ebx
	setns	%al
	movq	_NUM_PIXMAP_BINDINGS@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_vcos_assert
	movq	(%r14), %rax
	movl	(%rax,%r15), %edi
	callq	_vcos_assert
	movq	(%r14), %rax
	movl	4(%rax,%r15), %edi
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_platform_get_pixmap_info
	movq	(%r14), %rax
	movq	8(%rax,%r15), %rdi
	movq	%rbx, %rsi
	callq	_set_egl_image_color_data
	movq	(%r14), %rax
	movl	4(%rax,%r15), %edi
	movq	%rbx, %rsi
	callq	_khrn_platform_release_pixmap_info
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send_bound_pixmap %d %d"

	.comm	_pixmap_binding,8,3             ## @pixmap_binding
	.comm	_NUM_PIXMAP_BINDINGS,4,2        ## @NUM_PIXMAP_BINDINGS
	.no_dead_strip	_send_bound_pixmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_bound_pixmap
_send_bound_pixmap:                     ; @send_bound_pixmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _pixmap_binding@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pixmap_binding@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x19, #4, #32
	add	x8, x8, x21
	ldr	w2, [x8, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_vcos_log_trace
	cmp	w19, #0
Lloh4:
	adrp	x8, _NUM_PIXMAP_BINDINGS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NUM_PIXMAP_BINDINGS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ge
	cset	w0, gt
	bl	_vcos_assert
	ldr	x8, [x20]
	ldr	w0, [x8, x21]
	bl	_vcos_assert
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	add	x1, sp, #12
	bl	_platform_get_pixmap_info
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	x0, [x8, #8]
	add	x1, sp, #12
	bl	_set_egl_image_color_data
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	add	x1, sp, #12
	bl	_khrn_platform_release_pixmap_info
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send_bound_pixmap %d %d"

	.comm	_pixmap_binding,8,3             ; @pixmap_binding
	.comm	_NUM_PIXMAP_BINDINGS,4,2        ; @NUM_PIXMAP_BINDINGS
	.no_dead_strip	_send_bound_pixmap
.subsections_via_symbols
