	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_atdir                      ## -- Begin function get_atdir
	.p2align	4, 0x90
_get_atdir:                             ## @get_atdir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_atab@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movl	$-1, %r9d
	testq	%r10, %r10
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r8
	movq	_A_TAB_SZ@GOTPCREL(%rip), %rbx
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	(%rbx)
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%r10,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	leaq	(%r10,%rdx,8), %rax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%rbx), %rdx
	addq	$32, %rbx
	movq	%rbx, %rax
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rbx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdi, 8(%rbx)
	jne	LBB0_5
## %bb.6:
	movq	32(%rbx), %rdx
	movq	%rdx, (%rax)
	movl	28(%rbx), %eax
	movl	%eax, (%r8)
	movl	24(%rbx), %eax
	movl	%eax, (%rcx)
	movq	16(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	xorl	%r9d, %r9d
LBB0_7:
	movl	%r9d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atab,8,3                       ## @atab
	.comm	_A_TAB_SZ,4,2                   ## @A_TAB_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_atdir                      ; -- Begin function get_atdir
	.p2align	2
_get_atdir:                             ; @get_atdir
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _atab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _atab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _A_TAB_SZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _A_TAB_SZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	udiv	w10, w1, w9
	msub	w9, w10, w9, w1
	add	x8, x8, w9, uxtw #3
	ldr	x19, [x8]
	cbnz	x19, LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #32]!
	mov	x8, x19
	mov	x19, x9
	cbz	x9, LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cmp	x9, x1
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	cmp	x9, x0
	b.ne	LBB0_4
; %bb.7:
	ldr	x9, [x19, #32]
	str	x9, [x8]
	ldr	w8, [x19, #28]
	str	w8, [x2]
	ldr	w8, [x19, #24]
	str	w8, [x3]
	ldr	x0, [x19, #16]
	bl	_free
	mov	x0, x19
	bl	_free
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_atab,8,3                       ; @atab
	.comm	_A_TAB_SZ,4,2                   ; @A_TAB_SZ
.subsections_via_symbols
