	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_extra_mask             ## -- Begin function prepare_extra_mask
	.p2align	4, 0x90
_prepare_extra_mask:                    ## @prepare_extra_mask
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_current_extra_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_final_extra_mask@GOTPCREL(%rip), %r14
	movl	%edi, (%r14)
	movq	_extra_ints_num@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	callq	_unpack_extra_mask
	movq	_MAX_EXTRA_INTS@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_5
## %bb.1:
	movq	_ES@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_SE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movslq	(%r8), %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rdx,%rdi,4)
	movl	$-1, (%rsi,%rdi,4)
	btl	%edi, %eax
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %ecx
	movl	%ecx, (%rsi,%rdi,4)
	movslq	(%r15), %rcx
	leal	1(%rcx), %ebx
	movl	%ebx, (%r15)
	movl	%edi, (%rdx,%rcx,4)
	jmp	LBB0_4
LBB0_5:
	movl	(%r15), %ecx
	leal	(,%rcx,4), %eax
	movq	_text_shift@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_6
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_extra_mask,4,2         ## @current_extra_mask
	.comm	_final_extra_mask,4,2           ## @final_extra_mask
	.comm	_extra_ints_num,4,2             ## @extra_ints_num
	.comm	_MAX_EXTRA_INTS,4,2             ## @MAX_EXTRA_INTS
	.comm	_ES,8,3                         ## @ES
	.comm	_SE,8,3                         ## @SE
	.comm	_text_shift,4,2                 ## @text_shift
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extra_mask=%08x, extra_ints=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_extra_mask             ; -- Begin function prepare_extra_mask
	.p2align	2
_prepare_extra_mask:                    ; @prepare_extra_mask
	.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
Lloh0:
	adrp	x8, _current_extra_mask@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_extra_mask@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x19, _final_extra_mask@GOTPAGE
Lloh4:
	ldr	x19, [x19, _final_extra_mask@GOTPAGEOFF]
	str	w0, [x19]
Lloh5:
	adrp	x20, _extra_ints_num@GOTPAGE
Lloh6:
	ldr	x20, [x20, _extra_ints_num@GOTPAGEOFF]
	str	wzr, [x20]
	bl	_unpack_extra_mask
Lloh7:
	adrp	x8, _MAX_EXTRA_INTS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_EXTRA_INTS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
Lloh9:
	adrp	x10, _ES@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ES@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _SE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _SE@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	mov	w12, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x9, #2
	str	w12, [x10, x13]
	str	w12, [x11, x13]
	lsr	w13, w0, w9
	tbz	w13, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x20]
	str	w13, [x11, x9, lsl #2]
	ldrsw	x13, [x20]
	add	w14, w13, #1
	str	w14, [x20]
	str	w9, [x10, x13, lsl #2]
	b	LBB0_2
LBB0_5:
	ldr	w3, [x20]
Lloh15:
	adrp	x8, _text_shift@GOTPAGE
Lloh16:
	ldr	x8, [x8, _text_shift@GOTPAGEOFF]
	lsl	w9, w3, #2
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x8, _verbosity@GOTPAGE
Lloh19:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fprintf
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_current_extra_mask,4,2         ; @current_extra_mask
	.comm	_final_extra_mask,4,2           ; @final_extra_mask
	.comm	_extra_ints_num,4,2             ; @extra_ints_num
	.comm	_MAX_EXTRA_INTS,4,2             ; @MAX_EXTRA_INTS
	.comm	_ES,8,3                         ; @ES
	.comm	_SE,8,3                         ; @SE
	.comm	_text_shift,4,2                 ; @text_shift
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extra_mask=%08x, extra_ints=%d\n"

.subsections_via_symbols
