	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carthw_sprot_get_val
_carthw_sprot_get_val:                  ## @carthw_sprot_get_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sprot_item_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_sprot_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rax
	decq	%rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-8(%rax), %edx
	andl	%edi, %edx
	cmpl	-4(%rax), %edx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rax)
	jne	LBB0_5
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sprot_item_count,4,2           ## @sprot_item_count
	.comm	_sprot_items,8,3                ## @sprot_items
	.no_dead_strip	_carthw_sprot_get_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carthw_sprot_get_val
_carthw_sprot_get_val:                  ; @carthw_sprot_get_val
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _sprot_item_count@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sprot_item_count@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, x0
Lloh3:
	adrp	x10, _sprot_items@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sprot_items@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x0, x10, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #16
	subs	x9, x9, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w10, w11, [x0, #-8]
	and	w10, w10, w8
	cmp	w10, w11
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w1, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x0, #4]
	cbnz	w10, LBB0_2
LBB0_6:
	ret
LBB0_7:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_sprot_item_count,4,2           ; @sprot_item_count
	.comm	_sprot_items,8,3                ; @sprot_items
	.no_dead_strip	_carthw_sprot_get_val
.subsections_via_symbols
