	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_mask                 ## -- Begin function do_change_mask
	.p2align	4, 0x90
_do_change_mask:                        ## @do_change_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_2:
	movq	_MAX_EXTRA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	movl	$-1, %eax
	testl	%ebx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_write_extra_mask@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%ebx, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_LEV_CHANGE_FIELDMASK_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	movl	%ebx, %edx
	callq	_alloc_log_event
	movl	%ebx, %edi
	callq	_change_extra_mask
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_change_mask(%d)\n"

	.comm	_MAX_EXTRA_MASK,4,2             ## @MAX_EXTRA_MASK
	.comm	_write_extra_mask,4,2           ## @write_extra_mask
	.comm	_LEV_CHANGE_FIELDMASK_DELAYED,4,2 ## @LEV_CHANGE_FIELDMASK_DELAYED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_mask                 ; -- Begin function do_change_mask
	.p2align	2
_do_change_mask:                        ; @do_change_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
	mov	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
Lloh8:
	adrp	x8, _MAX_EXTRA_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_EXTRA_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bics	wzr, w19, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _write_extra_mask@GOTPAGE
Lloh12:
	ldr	x8, [x8, _write_extra_mask@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _LEV_CHANGE_FIELDMASK_DELAYED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LEV_CHANGE_FIELDMASK_DELAYED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #8
	mov	x2, x19
	bl	_alloc_log_event
	mov	x0, x19
	bl	_change_extra_mask
	mov	w0, #1
LBB0_7:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_change_mask(%d)\n"

	.comm	_MAX_EXTRA_MASK,4,2             ; @MAX_EXTRA_MASK
	.comm	_write_extra_mask,4,2           ; @write_extra_mask
	.comm	_LEV_CHANGE_FIELDMASK_DELAYED,4,2 ; @LEV_CHANGE_FIELDMASK_DELAYED
.subsections_via_symbols
