	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_depth_stencil_format
_match_depth_stencil_format:            ## @match_depth_stencil_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TRUE@GOTPCREL(%rip), %r8
	cmpq	%rsi, %rdi
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rcx
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rsi), %rax
	movl	(%rax,%rdx,4), %eax
	xorl	(%rcx,%rdx,4), %eax
	movq	_WINED3DFMT_FLAG_FLOAT@GOTPCREL(%rip), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rdx)
	jne	LBB0_6
## %bb.2:
	movq	8(%rdi), %rax
	cmpq	8(%rsi), %rax
	jl	LBB0_6
## %bb.3:
	movq	16(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	cmpq	16(%rdi), %rdx
	jne	LBB0_6
LBB0_5:
	movq	%r8, %rcx
LBB0_6:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ## @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_FLOAT,4,2      ## @WINED3DFMT_FLAG_FLOAT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_match_depth_stencil_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_depth_stencil_format
_match_depth_stencil_format:            ; @match_depth_stencil_format
	.cfi_startproc
; %bb.0:
	cmp	x0, x1
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
Lloh3:
	adrp	x10, _WINED3DFMT_FLAG_FLOAT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WINED3DFMT_FLAG_FLOAT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	x11, [x1]
	ldr	w9, [x11, x9]
	eor	w8, w9, w8
	tst	w8, w10
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x9, [x1, #8]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.3:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x9, [x0, #16]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ; @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_FLOAT,4,2      ; @WINED3DFMT_FLAG_FLOAT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_match_depth_stencil_format
.subsections_via_symbols
