	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_call8_makecurrent          ## -- Begin function rpc_call8_makecurrent
	.p2align	4, 0x90
_rpc_call8_makecurrent:                 ## @rpc_call8_makecurrent
	.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	%rdi, %rbx
	movq	32(%rbp), %r14
	movq	24(%rbp), %r11
	movq	16(%rbp), %r10
	movq	(%rdi), %rax
	movq	_CLIENT_MAKE_CURRENT_SIZE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rcx, %r13
	movq	%r8, %r12
	jne	LBB0_1
## %bb.3:
	movl	8(%rbx), %esi
	leaq	-56(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	24(%rbp), %r11
	movq	16(%rbp), %r10
	movq	_EGLINTMAKECURRENT_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, -56(%rbp)
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	callq	_rpc_begin
	leaq	L_.str(%rip), %rdi
	callq	_vcos_log_trace
	movq	$0, (%rbx)
	movq	_eglIntMakeCurrent_impl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EGLINTMAKECURRENT_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	pushq	40(%rbp)
	pushq	%r14
	pushq	24(%rbp)
	pushq	16(%rbp)
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_RPC_CALL8
	addq	$48, %rsp
	movq	(%rbx), %rax
	xorl	%edi, %edi
	movq	_CLIENT_MAKE_CURRENT_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_vcos_assert
	movq	%rbx, %rdi
	callq	_rpc_end
	jmp	LBB0_5
LBB0_1:
	movq	_EGLINTMAKECURRENT_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_2:
	movq	_eglIntMakeCurrent_impl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	pushq	40(%rbp)
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_RPC_CALL8
	addq	$48, %rsp
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIENT_MAKE_CURRENT_SIZE,8,3   ## @CLIENT_MAKE_CURRENT_SIZE
	.comm	_EGLINTMAKECURRENT_ID,8,3       ## @EGLINTMAKECURRENT_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpc_call8_makecurrent collapse onto previous makecurrent"

	.comm	_eglIntMakeCurrent_impl,4,2     ## @eglIntMakeCurrent_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_call8_makecurrent          ; -- Begin function rpc_call8_makecurrent
	.p2align	2
_rpc_call8_makecurrent:                 ; @rpc_call8_makecurrent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x0
	ldp	x26, x27, [x29, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x28, _CLIENT_MAKE_CURRENT_SIZE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _CLIENT_MAKE_CURRENT_SIZE@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w1, [x19, #8]
	add	x0, sp, #24
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [sp, #24]
Lloh2:
	adrp	x9, _EGLINTMAKECURRENT_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EGLINTMAKECURRENT_ID@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x9]
	cmp	x8, x2
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_rpc_begin
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_vcos_log_trace
	str	xzr, [x19]
Lloh7:
	adrp	x8, _eglIntMakeCurrent_impl@GOTPAGE
Lloh8:
	ldr	x8, [x8, _eglIntMakeCurrent_impl@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _EGLINTMAKECURRENT_ID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EGLINTMAKECURRENT_ID@GOTPAGEOFF]
Lloh12:
	ldr	x2, [x8]
	stp	x26, x27, [sp, #8]
	str	x25, [sp]
	mov	x1, x19
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	mov	x7, x20
	bl	_RPC_CALL8
	ldr	x8, [x19]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_vcos_assert
	mov	x0, x19
	bl	_rpc_end
	b	LBB0_5
LBB0_3:
Lloh13:
	adrp	x8, _EGLINTMAKECURRENT_ID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EGLINTMAKECURRENT_ID@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
LBB0_4:
Lloh16:
	adrp	x8, _eglIntMakeCurrent_impl@GOTPAGE
Lloh17:
	ldr	x8, [x8, _eglIntMakeCurrent_impl@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	stp	x26, x27, [sp, #8]
	str	x25, [sp]
	mov	x1, x19
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	mov	x7, x20
	bl	_RPC_CALL8
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIENT_MAKE_CURRENT_SIZE,8,3   ; @CLIENT_MAKE_CURRENT_SIZE
	.comm	_EGLINTMAKECURRENT_ID,8,3       ; @EGLINTMAKECURRENT_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc_call8_makecurrent collapse onto previous makecurrent"

	.comm	_eglIntMakeCurrent_impl,4,2     ; @eglIntMakeCurrent_impl
.subsections_via_symbols
