	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_alt_reg                    ## -- Begin function get_alt_reg
	.p2align	4, 0x90
_get_alt_reg:                           ## @get_alt_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HOST_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movb	$-1, %r8b
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_EXCLUDE_REG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	incq	%rcx
	movl	$4294967295, %edx               ## imm = 0xFFFFFFFF
	xorq	%rax, %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	cmpq	$1, %rcx
	jbe	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rcx), %eax
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-2(%rcx), %rax
	movl	%eax, %eax
	movsbl	(%rdi,%rax), %eax
	cmpl	%esi, %eax
	jne	LBB0_5
## %bb.4:
	addb	$-2, %cl
	movl	%ecx, %r8d
LBB0_6:
	movsbl	%r8b, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ## @EXCLUDE_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_alt_reg                    ; -- Begin function get_alt_reg
	.p2align	2
_get_alt_reg:                           ; @get_alt_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HOST_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, _EXCLUDE_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXCLUDE_REG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w9, w9, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x10, #1
	mov	x8, x10
	cmp	x11, #1
	b.ls	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	cmp	w9, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	w11, [x0, w10, uxtw]
	cmp	w11, w1
	b.ne	LBB0_2
; %bb.5:
	sub	w8, w8, #1
	sxtb	w0, w8
	ret
LBB0_6:
	mov	w8, #255
	sxtb	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ; @EXCLUDE_REG
.subsections_via_symbols
