	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_rasterflags
_update_rasterflags:                    ## @update_rasterflags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdi)
	cmpq	$0, 56(%rdi)
	je	LBB0_1
## %bb.2:
	movq	_ALPHATEST_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	cmpq	$0, 48(%rdi)
	je	LBB0_5
LBB0_4:
	movq	_BLEND_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_5:
	cmpq	$0, 136(%rdi)
	je	LBB0_7
## %bb.6:
	movq	_DEPTH_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_7:
	cmpq	$0, 128(%rdi)
	je	LBB0_9
## %bb.8:
	movq	_FOG_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_9:
	cmpq	$0, 40(%rdi)
	je	LBB0_11
## %bb.10:
	movq	_LOGIC_OP_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_11:
	cmpq	$0, 120(%rdi)
	je	LBB0_13
## %bb.12:
	movq	_SCISSOR_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_13:
	cmpq	$0, 112(%rdi)
	je	LBB0_15
## %bb.14:
	movq	_STENCIL_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_15:
	cmpq	$0, 32(%rdi)
	je	LBB0_17
## %bb.16:
	movq	_MASKING_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_17:
	movq	64(%rdi), %rcx
	cmpq	$0, 16(%rcx)
	je	LBB0_19
## %bb.18:
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rdi)
LBB0_19:
	cmpq	$0, 8(%rcx)
	je	LBB0_21
## %bb.20:
	movq	_ALPHABUF_BIT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rdi)
LBB0_21:
	movq	80(%rdi), %rsi
	testq	%rsi, %rsi
	js	LBB0_25
## %bb.22:
	addq	88(%rdi), %rsi
	movq	72(%rdi), %rdx
	cmpq	(%rdx), %rsi
	jg	LBB0_25
## %bb.23:
	movq	96(%rdi), %rsi
	testq	%rsi, %rsi
	js	LBB0_25
## %bb.24:
	addq	104(%rdi), %rsi
	cmpq	8(%rdx), %rsi
	jle	LBB0_26
LBB0_25:
	movq	_WINCLIP_BIT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rdi)
LBB0_26:
	movq	8(%rdi), %rdx
	movq	_GL_FRONT_AND_BACK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_28
## %bb.27:
	movq	_FRONT_AND_BACK_BIT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	movl	%eax, (%rdi)
LBB0_28:
	movq	_GL_NONE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_29
LBB0_32:
	movq	_NO_DRAW_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
	jmp	LBB0_33
LBB0_29:
	cmpq	$0, (%rcx)
	je	LBB0_31
## %bb.30:
	cmpq	$0, 16(%rdi)
	jne	LBB0_33
	jmp	LBB0_32
LBB0_1:
	xorl	%eax, %eax
	cmpq	$0, 48(%rdi)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_31:
	cmpq	$0, 24(%rdi)
	je	LBB0_32
LBB0_33:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALPHATEST_BIT,4,2              ## @ALPHATEST_BIT
	.comm	_BLEND_BIT,4,2                  ## @BLEND_BIT
	.comm	_DEPTH_BIT,4,2                  ## @DEPTH_BIT
	.comm	_FOG_BIT,4,2                    ## @FOG_BIT
	.comm	_LOGIC_OP_BIT,4,2               ## @LOGIC_OP_BIT
	.comm	_SCISSOR_BIT,4,2                ## @SCISSOR_BIT
	.comm	_STENCIL_BIT,4,2                ## @STENCIL_BIT
	.comm	_MASKING_BIT,4,2                ## @MASKING_BIT
	.comm	_ALPHABUF_BIT,4,2               ## @ALPHABUF_BIT
	.comm	_WINCLIP_BIT,4,2                ## @WINCLIP_BIT
	.comm	_GL_FRONT_AND_BACK,8,3          ## @GL_FRONT_AND_BACK
	.comm	_FRONT_AND_BACK_BIT,4,2         ## @FRONT_AND_BACK_BIT
	.comm	_GL_NONE,8,3                    ## @GL_NONE
	.comm	_NO_DRAW_BIT,4,2                ## @NO_DRAW_BIT
	.no_dead_strip	_update_rasterflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_rasterflags
_update_rasterflags:                    ; @update_rasterflags
	.cfi_startproc
; %bb.0:
	str	wzr, [x0]
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ALPHATEST_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALPHATEST_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_2:
	ldr	x9, [x0, #48]
	cbz	x9, LBB0_4
; %bb.3:
Lloh3:
	adrp	x9, _BLEND_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BLEND_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_4:
	ldr	x9, [x0, #136]
	cbz	x9, LBB0_6
; %bb.5:
Lloh6:
	adrp	x9, _DEPTH_BIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DEPTH_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_6:
	ldr	x9, [x0, #128]
	cbz	x9, LBB0_8
; %bb.7:
Lloh9:
	adrp	x9, _FOG_BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FOG_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_8:
	ldr	x9, [x0, #40]
	cbz	x9, LBB0_10
; %bb.9:
Lloh12:
	adrp	x9, _LOGIC_OP_BIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LOGIC_OP_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_10:
	ldr	x9, [x0, #120]
	cbz	x9, LBB0_12
; %bb.11:
Lloh15:
	adrp	x9, _SCISSOR_BIT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SCISSOR_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_12:
	ldr	x9, [x0, #112]
	cbz	x9, LBB0_14
; %bb.13:
Lloh18:
	adrp	x9, _STENCIL_BIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _STENCIL_BIT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_14:
	ldr	x9, [x0, #32]
	cbz	x9, LBB0_16
; %bb.15:
Lloh21:
	adrp	x9, _MASKING_BIT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MASKING_BIT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_16:
	ldr	x9, [x0, #64]
	ldr	x11, [x9, #16]
Lloh24:
	adrp	x10, _ALPHABUF_BIT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ALPHABUF_BIT@GOTPAGEOFF]
	cbz	x11, LBB0_18
; %bb.17:
	ldr	w11, [x10]
	orr	w8, w8, w11
	str	w8, [x0]
LBB0_18:
	ldr	x11, [x9, #8]
	cbz	x11, LBB0_20
; %bb.19:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x0]
LBB0_20:
	ldr	x11, [x0, #80]
	tbnz	x11, #63, LBB0_24
; %bb.21:
	ldr	x12, [x0, #88]
	ldr	x10, [x0, #72]
	ldr	x13, [x10]
	add	x11, x12, x11
	cmp	x11, x13
	b.gt	LBB0_24
; %bb.22:
	ldr	x11, [x0, #96]
	tbnz	x11, #63, LBB0_24
; %bb.23:
	ldr	x12, [x0, #104]
	ldr	x10, [x10, #8]
	add	x11, x12, x11
	cmp	x11, x10
	b.le	LBB0_25
LBB0_24:
Lloh26:
	adrp	x10, _WINCLIP_BIT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _WINCLIP_BIT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x0]
LBB0_25:
	ldr	x10, [x0, #8]
Lloh29:
	adrp	x11, _GL_FRONT_AND_BACK@GOTPAGE
Lloh30:
	ldr	x11, [x11, _GL_FRONT_AND_BACK@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_27
; %bb.26:
Lloh32:
	adrp	x11, _FRONT_AND_BACK_BIT@GOTPAGE
Lloh33:
	ldr	x11, [x11, _FRONT_AND_BACK_BIT@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	orr	w8, w8, w11
	str	w8, [x0]
LBB0_27:
Lloh35:
	adrp	x11, _GL_NONE@GOTPAGE
Lloh36:
	ldr	x11, [x11, _GL_NONE@GOTPAGEOFF]
Lloh37:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_29
LBB0_28:
Lloh38:
	adrp	x9, _NO_DRAW_BIT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _NO_DRAW_BIT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
	b	LBB0_32
LBB0_29:
	ldr	x9, [x9]
	cbz	x9, LBB0_31
; %bb.30:
	ldr	x9, [x0, #16]
	cbnz	x9, LBB0_32
	b	LBB0_28
LBB0_31:
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_28
LBB0_32:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ALPHATEST_BIT,4,2              ; @ALPHATEST_BIT
	.comm	_BLEND_BIT,4,2                  ; @BLEND_BIT
	.comm	_DEPTH_BIT,4,2                  ; @DEPTH_BIT
	.comm	_FOG_BIT,4,2                    ; @FOG_BIT
	.comm	_LOGIC_OP_BIT,4,2               ; @LOGIC_OP_BIT
	.comm	_SCISSOR_BIT,4,2                ; @SCISSOR_BIT
	.comm	_STENCIL_BIT,4,2                ; @STENCIL_BIT
	.comm	_MASKING_BIT,4,2                ; @MASKING_BIT
	.comm	_ALPHABUF_BIT,4,2               ; @ALPHABUF_BIT
	.comm	_WINCLIP_BIT,4,2                ; @WINCLIP_BIT
	.comm	_GL_FRONT_AND_BACK,8,3          ; @GL_FRONT_AND_BACK
	.comm	_FRONT_AND_BACK_BIT,4,2         ; @FRONT_AND_BACK_BIT
	.comm	_GL_NONE,8,3                    ; @GL_NONE
	.comm	_NO_DRAW_BIT,4,2                ; @NO_DRAW_BIT
	.no_dead_strip	_update_rasterflags
.subsections_via_symbols
