	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdbget
_cdbget:                                ## @cdbget
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_strdup
	movq	%rax, %rdi
	movl	$-2, %eax
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_strlen
	leaq	-72(%rbp), %r13
	leaq	-88(%rbp), %r15
	movq	_SHADOW@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -64(%rbp)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	*(%rbx)
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r12
	movzbl	(%r12), %ecx
	leaq	1(%r12), %rax
	cmpb	(%r14), %cl
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -72(%rbp)
	movq	-80(%rbp), %rax
	decq	%rax
	jmp	LBB0_2
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	$-2, %eax
	jmp	LBB0_9
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movb	(%r12), %dl
	movq	_TCERR@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpb	(%rcx), %dl
	sete	%al
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHADOW,1,0                     ## @SHADOW
	.comm	_TCERR,1,0                      ## @TCERR
	.no_dead_strip	_cdbget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdbget
_cdbget:                                ; @cdbget
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_strdup
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	str	x0, [sp, #16]
	bl	_strlen
Lloh0:
	adrp	x22, _SHADOW@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SHADOW@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x0, [sp, #24]
	ldr	x8, [x21]
	add	x1, sp, #16
	mov	x2, sp
	mov	x0, x21
	mov	w3, #0
	blr	x8
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [sp]
	mov	x8, x23
	ldrb	w9, [x8], #1
	ldrb	w10, [x22]
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [sp, #16]
	ldr	x8, [sp, #8]
	sub	x0, x8, #1
	b	LBB0_2
LBB0_6:
	mov	w0, #-2
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_free
	mov	w0, #-1
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_free
	mov	w0, #-2
	b	LBB0_10
LBB0_9:
	str	x8, [x20]
	mov	x0, x19
	bl	_free
	ldrb	w8, [x23]
Lloh2:
	adrp	x9, _TCERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TCERR@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SHADOW,1,0                     ; @SHADOW
	.comm	_TCERR,1,0                      ; @TCERR
	.no_dead_strip	_cdbget
.subsections_via_symbols
