	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_scratch_gr_reg
_next_scratch_gr_reg:                   ## @next_scratch_gr_reg
	.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
	movq	_last_scratch_gr_reg@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	movq	_call_used_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_fixed_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_global_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_current_frame_info@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	incl	%ecx
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	cmpl	$32, %eax
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rax), %ebx
	andl	$31, %ebx
	cmpq	$0, (%rdx,%rbx,8)
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%rsi,%rbx,4)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%rdi,%rbx,4)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	btl	%ebx, %r9d
	jb	LBB0_6
## %bb.5:
	movl	%ebx, (%r8)
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_gcc_unreachable
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_scratch_gr_reg,4,2        ## @last_scratch_gr_reg
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_fixed_regs,8,3                 ## @fixed_regs
	.comm	_global_regs,8,3                ## @global_regs
	.comm	_current_frame_info,4,2         ## @current_frame_info
	.no_dead_strip	_next_scratch_gr_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_scratch_gr_reg
_next_scratch_gr_reg:                   ; @next_scratch_gr_reg
	.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	w9, #0
Lloh0:
	adrp	x8, _last_scratch_gr_reg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_scratch_gr_reg@GOTPAGEOFF]
Lloh2:
	adrp	x10, _call_used_regs@GOTPAGE
Lloh3:
	ldr	x10, [x10, _call_used_regs@GOTPAGEOFF]
	ldr	w14, [x8]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _fixed_regs@GOTPAGE
Lloh6:
	ldr	x11, [x11, _fixed_regs@GOTPAGEOFF]
Lloh7:
	adrp	x12, _global_regs@GOTPAGE
Lloh8:
	ldr	x12, [x12, _global_regs@GOTPAGEOFF]
Lloh9:
	ldr	x11, [x11]
Lloh10:
	ldr	x12, [x12]
Lloh11:
	adrp	x13, _current_frame_info@GOTPAGE
Lloh12:
	ldr	x13, [x13, _current_frame_info@GOTPAGEOFF]
Lloh13:
	ldr	w13, [x13]
	add	w14, w14, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	cmp	w9, #32
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w15, w14, w9
	and	w19, w15, #0x1f
	ldr	x15, [x10, w19, uxtw #3]
	cbz	x15, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w15, [x11, x19, lsl #2]
	cbnz	w15, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w15, [x12, x19, lsl #2]
	cbnz	w15, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	w15, w13, w19
	tbnz	w15, #0, LBB0_1
; %bb.6:
	str	w19, [x8]
	b	LBB0_8
LBB0_7:
	bl	_gcc_unreachable
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_last_scratch_gr_reg,4,2        ; @last_scratch_gr_reg
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_fixed_regs,8,3                 ; @fixed_regs
	.comm	_global_regs,8,3                ; @global_regs
	.comm	_current_frame_info,4,2         ; @current_frame_info
	.no_dead_strip	_next_scratch_gr_reg
.subsections_via_symbols
