	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_getbinval                  ## -- Begin function SPI_getbinval
	.p2align	4, 0x90
_SPI_getbinval:                         ## @SPI_getbinval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SPI_result@GOTPCREL(%rip), %r8
	movq	$0, (%r8)
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rax
	cmpl	%edx, (%rsi)
	jl	LBB0_3
## %bb.2:
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rsi
	cmpl	%edx, (%rsi)
	jge	LBB0_3
## %bb.4:
	movl	%edx, %esi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_heap_getattr                   ## TAILCALL
LBB0_3:
	movq	_SPI_ERROR_NOATTRIBUTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r8)
	movl	$1, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_result,8,3                 ## @SPI_result
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ## @FirstLowInvalidHeapAttributeNumber
	.comm	_SPI_ERROR_NOATTRIBUTE,8,3      ## @SPI_ERROR_NOATTRIBUTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_getbinval                  ; -- Begin function SPI_getbinval
	.p2align	2
_SPI_getbinval:                         ; @SPI_getbinval
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _SPI_result@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPI_result@GOTPAGEOFF]
	str	xzr, [x9]
	cbz	w2, LBB0_3
; %bb.1:
	mov	x8, x1
	ldr	w10, [x1]
Lloh2:
	adrp	x11, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh3:
	ldr	x11, [x11, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	cmp	w10, w2
	ccmp	w11, w2, #0, ge
	b.ge	LBB0_3
; %bb.2:
	mov	x1, x2
	mov	x2, x8
	b	_heap_getattr
LBB0_3:
Lloh5:
	adrp	x8, _SPI_ERROR_NOATTRIBUTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPI_ERROR_NOATTRIBUTE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x9]
	mov	w8, #1
	str	w8, [x3]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_result,8,3                 ; @SPI_result
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ; @FirstLowInvalidHeapAttributeNumber
	.comm	_SPI_ERROR_NOATTRIBUTE,8,3      ; @SPI_ERROR_NOATTRIBUTE
.subsections_via_symbols
