	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3d9_sampler
_d3d9_sampler:                          ## @d3d9_sampler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BWRITERSTT_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_D3DSTT_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rdi, %rsi
	movq	_BWRITERSTT_1D@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_D3DSTT_1D@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_BWRITERSTT_2D@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_D3DSTT_2D@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_BWRITERSTT_CUBE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_D3DSTT_CUBE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	_BWRITERSTT_VOLUME@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	_D3DSTT_VOLUME@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BWRITERSTT_UNKNOWN,8,3         ## @BWRITERSTT_UNKNOWN
	.comm	_D3DSTT_UNKNOWN,8,3             ## @D3DSTT_UNKNOWN
	.comm	_BWRITERSTT_1D,8,3              ## @BWRITERSTT_1D
	.comm	_D3DSTT_1D,8,3                  ## @D3DSTT_1D
	.comm	_BWRITERSTT_2D,8,3              ## @BWRITERSTT_2D
	.comm	_D3DSTT_2D,8,3                  ## @D3DSTT_2D
	.comm	_BWRITERSTT_CUBE,8,3            ## @BWRITERSTT_CUBE
	.comm	_D3DSTT_CUBE,8,3                ## @D3DSTT_CUBE
	.comm	_BWRITERSTT_VOLUME,8,3          ## @BWRITERSTT_VOLUME
	.comm	_D3DSTT_VOLUME,8,3              ## @D3DSTT_VOLUME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected BWRITERSAMPLER_TEXTURE_TYPE type %#x.\n"

	.no_dead_strip	_d3d9_sampler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3d9_sampler
_d3d9_sampler:                          ; @d3d9_sampler
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BWRITERSTT_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BWRITERSTT_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _D3DSTT_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3DSTT_UNKNOWN@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x1, x0
Lloh5:
	adrp	x8, _BWRITERSTT_1D@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BWRITERSTT_1D@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _D3DSTT_1D@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D3DSTT_1D@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _BWRITERSTT_2D@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BWRITERSTT_2D@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _D3DSTT_2D@GOTPAGE
Lloh14:
	ldr	x8, [x8, _D3DSTT_2D@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh15:
	adrp	x8, _BWRITERSTT_CUBE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BWRITERSTT_CUBE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _D3DSTT_CUBE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _D3DSTT_CUBE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh20:
	adrp	x8, _BWRITERSTT_VOLUME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BWRITERSTT_VOLUME@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_11
; %bb.9:
Lloh23:
	adrp	x8, _D3DSTT_VOLUME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _D3DSTT_VOLUME@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BWRITERSTT_UNKNOWN,8,3         ; @BWRITERSTT_UNKNOWN
	.comm	_D3DSTT_UNKNOWN,8,3             ; @D3DSTT_UNKNOWN
	.comm	_BWRITERSTT_1D,8,3              ; @BWRITERSTT_1D
	.comm	_D3DSTT_1D,8,3                  ; @D3DSTT_1D
	.comm	_BWRITERSTT_2D,8,3              ; @BWRITERSTT_2D
	.comm	_D3DSTT_2D,8,3                  ; @D3DSTT_2D
	.comm	_BWRITERSTT_CUBE,8,3            ; @BWRITERSTT_CUBE
	.comm	_D3DSTT_CUBE,8,3                ; @D3DSTT_CUBE
	.comm	_BWRITERSTT_VOLUME,8,3          ; @BWRITERSTT_VOLUME
	.comm	_D3DSTT_VOLUME,8,3              ; @D3DSTT_VOLUME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected BWRITERSAMPLER_TEXTURE_TYPE type %#x.\n"

	.no_dead_strip	_d3d9_sampler
.subsections_via_symbols
