	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_match_attr               ## -- Begin function aldap_match_attr
	.p2align	4, 0x90
_aldap_match_attr:                      ## @aldap_match_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	$0, -56(%rbp)
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_LDAP_DEBUG
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	leaq	L_.str.1(%rip), %r12
	leaq	-56(%rbp), %r13
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ber_get_eoc
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_ber_scanf_elements
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_9
LBB0_7:
	movq	-64(%rbp), %rdi
	callq	_aldap_get_stringset
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$1, %ecx
	jmp	LBB0_10
LBB0_9:
	movl	$-1, %ecx
	xorl	%eax, %eax
LBB0_10:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx)
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attr"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_match_attr               ; -- Begin function aldap_match_attr
	.p2align	2
_aldap_match_attr:                      ; @aldap_match_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	str	xzr, [sp]
	ldr	x1, [x0]
	cbz	x1, LBB0_9
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LDAP_DEBUG
	ldr	x21, [x21]
	cbz	x21, LBB0_9
; %bb.2:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ber_get_eoc
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_ber_scanf_elements
	cbnz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	mov	x1, x20
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21]
	cbnz	x21, LBB0_3
	b	LBB0_9
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_aldap_get_stringset
	cbz	x0, LBB0_9
; %bb.8:
	mov	w8, #1
	b	LBB0_10
LBB0_9:
	mov	x0, #0
	mov	w8, #-1
LBB0_10:
	str	x0, [x19]
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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"

.subsections_via_symbols
