	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5758_find_out_range
_ad5758_find_out_range:                 ## @ad5758_find_out_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	movl	%edx, %eax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rdx
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rax
	cmpq	%rax, %rdx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, (%rsi,%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r8d, 4(%rsi,%rax)
	jne	LBB0_5
## %bb.4:
	movl	8(%rsi,%rax), %eax
	movl	%eax, 8(%rdi)
	movl	%ecx, (%rdi)
	movl	%r8d, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ad5758_find_out_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5758_find_out_range
_ad5758_find_out_range:                 ; @ad5758_find_out_range
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_6
; %bb.1:
	mov	w8, w2
	add	x9, x1, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #12
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w3
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w4
	b.ne	LBB0_2
; %bb.5:
	ldr	w9, [x9]
	stp	w4, w9, [x0, #4]
	str	w3, [x0]
	mov	w0, #0
	ret
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ad5758_find_out_range
.subsections_via_symbols
