	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_attach_depth_stencil_rb
_context_attach_depth_stencil_rb:       ## @context_attach_depth_stencil_rb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_WINED3D_FBO_ENTRY_FLAG_DEPTH@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_RENDERBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	%r14d, %ecx
	callq	*(%r15)
	leaq	L_.str(%rip), %rdi
	callq	_checkGLcall
LBB0_2:
	movq	_WINED3D_FBO_ENTRY_FLAG_STENCIL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_RENDERBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	%r14d, %ecx
	callq	*(%r15)
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_FBO_ENTRY_FLAG_DEPTH,4,2 ## @WINED3D_FBO_ENTRY_FLAG_DEPTH
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ## @GL_DEPTH_ATTACHMENT
	.comm	_GL_RENDERBUFFER,4,2            ## @GL_RENDERBUFFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glFramebufferRenderbuffer()"

	.comm	_WINED3D_FBO_ENTRY_FLAG_STENCIL,4,2 ## @WINED3D_FBO_ENTRY_FLAG_STENCIL
	.comm	_GL_STENCIL_ATTACHMENT,4,2      ## @GL_STENCIL_ATTACHMENT
	.no_dead_strip	_context_attach_depth_stencil_rb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_attach_depth_stencil_rb
_context_attach_depth_stencil_rb:       ; @context_attach_depth_stencil_rb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WINED3D_FBO_ENTRY_FLAG_DEPTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_FBO_ENTRY_FLAG_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _GL_RENDERBUFFER@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GL_RENDERBUFFER@GOTPAGEOFF]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _GL_DEPTH_ATTACHMENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GL_DEPTH_ATTACHMENT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x19
	blr	x8
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_checkGLcall
LBB0_2:
Lloh10:
	adrp	x8, _WINED3D_FBO_ENTRY_FLAG_STENCIL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WINED3D_FBO_ENTRY_FLAG_STENCIL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
Lloh13:
	adrp	x9, _GL_STENCIL_ATTACHMENT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GL_STENCIL_ATTACHMENT@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x9]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x19
	blr	x8
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_checkGLcall
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_FBO_ENTRY_FLAG_DEPTH,4,2 ; @WINED3D_FBO_ENTRY_FLAG_DEPTH
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ; @GL_DEPTH_ATTACHMENT
	.comm	_GL_RENDERBUFFER,4,2            ; @GL_RENDERBUFFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glFramebufferRenderbuffer()"

	.comm	_WINED3D_FBO_ENTRY_FLAG_STENCIL,4,2 ; @WINED3D_FBO_ENTRY_FLAG_STENCIL
	.comm	_GL_STENCIL_ATTACHMENT,4,2      ; @GL_STENCIL_ATTACHMENT
	.no_dead_strip	_context_attach_depth_stencil_rb
.subsections_via_symbols
