	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_change_extra_mask1             ## -- Begin function change_extra_mask1
	.p2align	4, 0x90
_change_extra_mask1:                    ## @change_extra_mask1
	.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	_extra_mask_changes@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	incq	%r9
	movq	%r9, (%rax)
	movq	_MAX_EXTRA_FIELDS@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_current_extra_mask@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	testl	%r11d, %r11d
	jle	LBB0_12
## %bb.1:
	movq	_extra_field_start_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	xorl	%r14d, %r14d
	cmpl	$1, %r11d
	je	LBB0_9
## %bb.2:
	movl	%r11d, %ebx
	andl	$-2, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rbx, %rcx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movl	$1, %eax
	shll	%cl, %eax
	btl	%edx, %edi
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r10,%rdx,8), %r9
	cmovll	%r14d, %eax
	orl	%eax, %esi
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rdx), %rcx
	movl	$1, %eax
	shll	%cl, %eax
	btl	%ecx, %edi
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	8(%r10,%rdx,8), %r9
	cmovll	%r14d, %eax
	orl	%eax, %esi
	jmp	LBB0_7
LBB0_8:
	addq	$2, %rdx
	movq	%rdx, %r14
LBB0_9:
	testb	$1, %r11b
	je	LBB0_12
## %bb.10:
	movl	$1, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	btl	%r14d, %edi
	jae	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	cmpq	(%r10,%r14,8), %r9
	cmovll	%eax, %edx
	orl	%edx, %esi
LBB0_12:
	movq	_final_extra_mask@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	andl	%esi, %edi
	movl	%edi, (%r8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extra_mask_changes,8,3         ## @extra_mask_changes
	.comm	_MAX_EXTRA_FIELDS,4,2           ## @MAX_EXTRA_FIELDS
	.comm	_extra_field_start_offset,8,3   ## @extra_field_start_offset
	.comm	_current_extra_mask,4,2         ## @current_extra_mask
	.comm	_final_extra_mask,4,2           ## @final_extra_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_change_extra_mask1             ; -- Begin function change_extra_mask1
	.p2align	2
_change_extra_mask1:                    ; @change_extra_mask1
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _extra_mask_changes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _extra_mask_changes@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x10, x9, #1
Lloh2:
	adrp	x9, _MAX_EXTRA_FIELDS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_EXTRA_FIELDS@GOTPAGEOFF]
	str	x10, [x8]
Lloh4:
	ldr	w11, [x9]
Lloh5:
	adrp	x8, _current_extra_mask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _current_extra_mask@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w11, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x12, #0
Lloh7:
	adrp	x13, _extra_field_start_offset@GOTPAGE
Lloh8:
	ldr	x13, [x13, _extra_field_start_offset@GOTPAGEOFF]
Lloh9:
	ldr	x13, [x13]
	mov	w14, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x12, #1
	cmp	x11, x12
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w15, w14, w12
	tst	w15, w0
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x16, [x13, x12, lsl #3]
	cmp	x10, x16
	csel	w15, wzr, w15, lt
	orr	w9, w9, w15
	b	LBB0_2
LBB0_5:
Lloh10:
	adrp	x10, _final_extra_mask@GOTPAGE
Lloh11:
	ldr	x10, [x10, _final_extra_mask@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	and	w10, w10, w0
	and	w9, w10, w9
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_extra_mask_changes,8,3         ; @extra_mask_changes
	.comm	_MAX_EXTRA_FIELDS,4,2           ; @MAX_EXTRA_FIELDS
	.comm	_extra_field_start_offset,8,3   ; @extra_field_start_offset
	.comm	_current_extra_mask,4,2         ; @current_extra_mask
	.comm	_final_extra_mask,4,2           ; @final_extra_mask
.subsections_via_symbols
