	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_reg_type
_check_reg_type:                        ## @check_reg_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_FALSE@GOTPCREL(%rip), %r8
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.1:
	movl	(%rdi), %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	leaq	(%rcx,%rcx,2), %rax
	movl	(%rsi,%rax,8), %eax
	cmpl	$-1, %eax
	jne	LBB0_2
	jmp	LBB0_11
LBB0_4:
	movl	%ecx, %eax
	cmpq	$0, 16(%rdi)
	je	LBB0_7
## %bb.5:
	leaq	(%rax,%rax,2), %rax
	cmpq	$0, 16(%rsi,%rax,8)
	jne	LBB0_9
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %r8
	jmp	LBB0_11
LBB0_7:
	movq	8(%rdi), %rcx
	leaq	(%rax,%rax,2), %rax
	cmpq	8(%rsi,%rax,8), %rcx
	jge	LBB0_10
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %r8
LBB0_11:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_check_reg_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_reg_type
_check_reg_type:                        ; @check_reg_type
	.cfi_startproc
; %bb.0:
	ldr	w11, [x1]
	cmn	w11, #1
	b.eq	LBB0_5
; %bb.1:
	mov	w9, #0
	ldr	w10, [x0]
	mov	w12, #24
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, w11
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	umull	x11, w9, w12
	ldr	w11, [x1, x11]
	cmn	w11, #1
	b.ne	LBB0_2
; %bb.4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_6:
	mov	w9, w9
	ldr	x10, [x0, #16]
	cbz	x10, LBB0_8
; %bb.7:
	mov	w10, #24
	madd	x9, x9, x10, x1
	ldr	x9, [x9, #16]
Lloh5:
	adrp	x10, _TRUE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
	ret
LBB0_8:
	ldr	x10, [x0, #8]
	mov	w11, #24
	madd	x9, x9, x11, x1
	ldr	x9, [x9, #8]
Lloh7:
	adrp	x11, _TRUE@GOTPAGE
Lloh8:
	ldr	x11, [x11, _TRUE@GOTPAGEOFF]
	cmp	x10, x9
	csel	x8, x11, x8, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_check_reg_type
.subsections_via_symbols
