	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function update_pixel_masking
LCPI0_0:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_update_pixel_masking:                  ## @update_pixel_masking
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movl	(%rbx), %ecx
	movq	24(%rbx), %r9
	cmpl	$15, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_GL_FALSE@GOTPCREL(%rip), %r14
	testq	%r9, %r9
	je	LBB0_13
## %bb.3:
	movq	_GL_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	movq	%rcx, %r8
	callq	*%r9
	jmp	LBB0_13
LBB0_7:
	movl	4(%rbx), %esi
	movq	16(%rbx), %rcx
	cmpl	$-1, %esi
	je	LBB0_8
## %bb.10:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.11:
	movq	%rbx, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	movq	_GL_FALSE@GOTPCREL(%rip), %r14
	jmp	LBB0_13
LBB0_4:
	testq	%r9, %r9
	je	LBB0_6
## %bb.5:
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	movq	_GL_FALSE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_GL_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %eax
	testb	$8, %al
	movq	%rsi, %r8
	cmovneq	%rdi, %r8
	testb	$4, %al
	movq	%rsi, %rcx
	cmovneq	%rdi, %rcx
	testb	$2, %al
	movq	%rsi, %rdx
	cmovneq	%rdi, %rdx
	testb	$1, %al
	cmovneq	%rdi, %rsi
	movq	%rbx, %rdi
	callq	*%r9
	testq	%rax, %rax
	jne	LBB0_13
LBB0_6:
	movq	_GL_TRUE@GOTPCREL(%rip), %r14
	jmp	LBB0_13
LBB0_8:
	movq	_GL_FALSE@GOTPCREL(%rip), %r14
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	*%rcx
LBB0_13:
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_TRUE,8,3                    ## @GL_TRUE
	.comm	_GL_FALSE,8,3                   ## @GL_FALSE
	.no_dead_strip	_update_pixel_masking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_pixel_masking
_update_pixel_masking:                  ; @update_pixel_masking
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x19]
	ldr	x8, [x19, #24]
	cmp	w9, #15
	b.ne	LBB0_7
; %bb.2:
	cbz	x8, LBB0_12
; %bb.3:
Lloh0:
	adrp	x9, _GL_TRUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GL_TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	mov	x4, x1
	blr	x8
	b	LBB0_12
LBB0_4:
	ldr	w1, [x19, #4]
	ldr	x8, [x19, #16]
	cmn	w1, #1
	b.eq	LBB0_10
; %bb.5:
	cbz	x8, LBB0_9
; %bb.6:
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_12
	b	LBB0_9
LBB0_7:
	cbz	x8, LBB0_9
; %bb.8:
Lloh3:
	adrp	x20, _GL_FALSE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _GL_FALSE@GOTPAGEOFF]
	ldr	x10, [x20]
Lloh5:
	adrp	x11, _GL_TRUE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _GL_TRUE@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	tst	w9, #0x1
	csel	x4, x10, x11, eq
	tst	w9, #0x2
	csel	x3, x10, x11, eq
	tst	w9, #0x4
	csel	x2, x10, x11, eq
	tst	w9, #0x8
	csel	x1, x10, x11, eq
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_13
LBB0_9:
Lloh8:
	adrp	x20, _GL_TRUE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _GL_TRUE@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #-1
	blr	x8
LBB0_12:
Lloh10:
	adrp	x20, _GL_FALSE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _GL_FALSE@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x20]
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_TRUE,8,3                    ; @GL_TRUE
	.comm	_GL_FALSE,8,3                   ; @GL_FALSE
	.no_dead_strip	_update_pixel_masking
.subsections_via_symbols
