	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_next_attr                ## -- Begin function aldap_next_attr
	.p2align	4, 0x90
_aldap_next_attr:                       ## @aldap_next_attr
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_LDAP_DEBUG
	movq	(%rbx), %rdi
	callq	_ber_get_eoc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-48(%rbp), %r8
	callq	_ber_scanf_elements
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	$0, (%r14)
	movq	$0, (%r15)
	movl	$-1, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	-40(%rbp), %rdi
	callq	_aldap_get_stringset
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, (%r15)
	movq	-32(%rbp), %rdi
	callq	_utoa
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attr"

L_.str.1:                               ## @.str.1
	.asciz	"{s(e)}e"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_next_attr                ; -- Begin function aldap_next_attr
	.p2align	2
_aldap_next_attr:                       ; @aldap_next_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	ldr	x1, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LDAP_DEBUG
	ldr	x0, [x21]
	bl	_ber_get_eoc
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x21]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #24
	add	x4, sp, #16
	bl	_ber_scanf_elements
	cbz	x0, LBB0_5
LBB0_3:
	str	xzr, [x19]
	str	xzr, [x20]
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [x21]
	ldr	x0, [sp, #24]
	bl	_aldap_get_stringset
	cbz	x0, LBB0_3
; %bb.6:
	str	x0, [x20]
	ldr	x0, [sp, #8]
	bl	_utoa
	str	x0, [x19]
	mov	w0, #1
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attr"

l_.str.1:                               ; @.str.1
	.asciz	"{s(e)}e"

.subsections_via_symbols
