	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setwhite
_setwhite:                              ## @setwhite
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rsi,%rsi,2), %eax
	leal	(%rsi,%rsi,2), %r13d
	addl	$7, %r13d
	testl	%eax, %eax
	cmovnsl	%eax, %r13d
	sarl	$3, %r13d
	leal	(%rsi,%rsi,4), %eax
	leal	(%rsi,%rsi,4), %ecx
	addl	$7, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	%rdi, %r14
	sarl	$3, %ecx
	movl	$144, %r15d
	subl	%ecx, %r15d
	movq	(%rdi), %rax
	movq	_Rev012A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	addl	$32, %r13d
	movl	$34324, %ebx                    ## imm = 0x8614
	jmp	LBB0_3
LBB0_2:
	movl	%edx, %r12d
	addl	%edx, %r13d
	addl	%r12d, %r15d
	addl	$-32, %r15d
	addl	$32, %r12d
	movq	%r14, %rdi
	movl	$34386, %esi                    ## imm = 0x8652
	movl	%r12d, %edx
	callq	_reg_w_val
	movq	%r14, %rdi
	movl	$34388, %esi                    ## imm = 0x8654
	movl	%r12d, %edx
	callq	_reg_w_val
	movl	$34385, %ebx                    ## imm = 0x8651
LBB0_3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_reg_w_val
	orl	$2, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w_val                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Rev012A,8,3                    ## @Rev012A
	.no_dead_strip	_setwhite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setwhite
_setwhite:                              ; @setwhite
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	w8, w1, w1, lsl #1
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	add	w9, w1, w1, lsl #2
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	mov	w10, #144
	sub	w20, w10, w9, asr #3
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _Rev012A@GOTPAGE
Lloh1:
	ldr	x10, [x10, _Rev012A@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	add	w21, w8, #32
	mov	w22, #34324
	b	LBB0_3
LBB0_2:
	add	w9, w2, w20
	add	w21, w8, w2
	sub	w20, w9, #32
	add	w22, w2, #32
	mov	x0, x19
	mov	w1, #34386
	mov	x2, x22
	bl	_reg_w_val
	mov	x0, x19
	mov	w1, #34388
	mov	x2, x22
	bl	_reg_w_val
	mov	w22, #34385
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_reg_w_val
	orr	w1, w22, #0x2
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_reg_w_val
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Rev012A,8,3                    ; @Rev012A
	.no_dead_strip	_setwhite
.subsections_via_symbols
