	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_get                      ## -- Begin function __rec_get
	.p2align	4, 0x90
___rec_get:                             ## @__rec_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %r13
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	24(%r13), %edi
	xorl	%edx, %edx
	callq	_mpool_put
	movq	$0, 16(%r13)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r15), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.8:
	cmpq	(%r13), %r12
	jle	LBB0_12
## %bb.9:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movq	_R_INMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_RET_SPECIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	*8(%r13)
	movl	%eax, %r15d
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_6
LBB0_12:
	decq	%r12
	movq	_SEARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	___rec_search
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	___rec_ret
	movl	%eax, %r15d
	movq	_B_DB_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	24(%r13), %edi
	movq	(%r12), %rsi
	xorl	%edx, %edx
	callq	_mpool_put
	jmp	LBB0_6
LBB0_15:
	movq	(%r12), %rax
	movq	%rax, 16(%r13)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_R_EOF,4,2                      ## @R_EOF
	.comm	_R_INMEM,4,2                    ## @R_INMEM
	.comm	_RET_SPECIAL,4,2                ## @RET_SPECIAL
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
	.comm	_SEARCH,4,2                     ## @SEARCH
	.comm	_B_DB_LOCK,4,2                  ## @B_DB_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_get                      ; -- Begin function __rec_get
	.p2align	2
___rec_get:                             ; @__rec_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x19, [x0]
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	mov	w2, #0
	bl	_mpool_put
	str	xzr, [x19, #16]
LBB0_2:
	cbz	x22, LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
LBB0_4:
Lloh6:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
LBB0_5:
	ldr	w21, [x8]
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x21]
	ldr	x22, [x8]
	cbz	x22, LBB0_3
; %bb.8:
	ldr	x8, [x19]
	cmp	x22, x8
	b.le	LBB0_12
; %bb.9:
Lloh8:
	adrp	x8, _R_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _R_INMEM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _R_INMEM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_F_ISSET
	cbz	x0, LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _RET_SPECIAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RET_SPECIAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	mov	x21, x0
Lloh16:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
LBB0_12:
	sub	x1, x22, #1
Lloh19:
	adrp	x8, _SEARCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SEARCH@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___rec_search
	cbz	x0, LBB0_4
; %bb.13:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	mov	x4, x20
	bl	___rec_ret
	mov	x21, x0
Lloh22:
	adrp	x8, _B_DB_LOCK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _B_DB_LOCK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w0, [x19, #24]
	ldr	x1, [x22]
	mov	w2, #0
	bl	_mpool_put
	b	LBB0_6
LBB0_15:
	ldr	x8, [x22]
	str	x8, [x19, #16]
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_R_EOF,4,2                      ; @R_EOF
	.comm	_R_INMEM,4,2                    ; @R_INMEM
	.comm	_RET_SPECIAL,4,2                ; @RET_SPECIAL
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
	.comm	_SEARCH,4,2                     ; @SEARCH
	.comm	_B_DB_LOCK,4,2                  ; @B_DB_LOCK
.subsections_via_symbols
