	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function askfixedreg
_askfixedreg:                           ## @askfixedreg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	(%rdi), %rdx
	movslq	(%rdx), %r8
	movl	4(%rdx), %esi
	movq	_freemask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movl	(%r9,%r8,4), %edi
	movl	%edi, %ecx
	notl	%ecx
	testl	%ecx, %esi
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	notl	%esi
	andl	%esi, %edi
	movl	%edi, (%r9,%r8,4)
	movl	4(%rdx), %ecx
	movq	_usedmask@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orl	%ecx, (%rdx,%r8,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_freemask,8,3                   ## @freemask
	.comm	_usedmask,8,3                   ## @usedmask
	.no_dead_strip	_askfixedreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function askfixedreg
_askfixedreg:                           ; @askfixedreg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w9, w10, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
Lloh0:
	adrp	x11, _freemask@GOTPAGE
Lloh1:
	ldr	x11, [x11, _freemask@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	ldr	w12, [x11, x9, lsl #2]
	bics	wzr, w10, w12
	b.eq	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	bic	w10, w12, w10
	lsl	x9, x9, #2
	str	w10, [x11, x9]
	ldr	w8, [x8, #4]
Lloh3:
	adrp	x10, _usedmask@GOTPAGE
Lloh4:
	ldr	x10, [x10, _usedmask@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w11, [x10, x9]
	orr	w8, w11, w8
	str	w8, [x10, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_freemask,8,3                   ; @freemask
	.comm	_usedmask,8,3                   ; @usedmask
	.no_dead_strip	_askfixedreg
.subsections_via_symbols
