	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amu_ldap_search                ## -- Begin function amu_ldap_search
	.p2align	4, 0x90
_amu_ldap_search:                       ## @amu_ldap_search
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leal	(%r12,%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r15
	leaq	L_.str(%rip), %rdi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_dlog
	movl	$2, -112(%rbp)
	movq	$0, -104(%rbp)
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_amu_ldap_rebind
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.7:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_AMD_LDAP_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_xsnprintf
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movw	$12892, (%rax)                  ## imm = 0x325C
	movb	$97, 2(%rax)
	addq	$3, %rax
	incq	%rbx
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	cmpb	$42, %cl
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	testb	%cl, %cl
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movb	%cl, (%rax)
	incq	%rax
	incq	%rbx
	jmp	LBB0_10
LBB0_13:
	movb	$0, (%rax)
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dlog
	movq	_AMD_LDAP_RETRIES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_30
## %bb.14:
	xorl	%r13d, %r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_AMD_LDAP_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_27
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	_gopt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LDAP_SCOPE_SUBTREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	leaq	-56(%rbp), %rax
	pushq	%rax
	leaq	-112(%rbp), %rax
	pushq	%rax
	callq	_ldap_search_st
	addq	$16, %rsp
	cmpl	$128, %eax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %r12d
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	callq	_ldap_msgfree
	movq	$0, -56(%rbp)
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%r13d
	movl	%r12d, %edi
	callq	_ldap_err2string
	movl	%ebx, %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_plog
	movq	_LDAP_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	(%r15), %rdi
	callq	_amu_ldap_unbind
	movq	$0, (%r15)
	movq	%r15, %rdi
	callq	_amu_ldap_rebind
	testq	%rax, %rax
	je	LBB0_15
	jmp	LBB0_2
LBB0_21:
	movq	(%r15), %rdi
	movq	-56(%rbp), %rsi
	callq	_ldap_count_entries
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dlog
	testl	%ebx, %ebx
	je	LBB0_32
## %bb.22:
	movq	(%r15), %rdi
	movq	-56(%rbp), %rsi
	callq	_ldap_first_entry
	movq	(%r15), %rdi
	movq	_AMD_LDAP_ATTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_ldap_get_values
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ldap_count_values
	testl	%eax, %eax
	je	LBB0_33
## %bb.23:
	movq	(%r14), %rcx
	leaq	L_.str.9(%rip), %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_dlog
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.24:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.25:
	movq	_CFM_SUN_MAP_SYNTAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_34
## %bb.26:
	movq	%r15, %rdi
	callq	_sun_entry2amd
	jmp	LBB0_35
LBB0_27:
	cmpl	$129, %r12d
	jne	LBB0_30
## %bb.28:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.29:
	callq	_ldap_msgfree
	jmp	LBB0_2
LBB0_30:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_ldap_err2string
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_plog
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
LBB0_31:
	callq	_ldap_msgfree
	jmp	LBB0_4
LBB0_32:
	movq	-56(%rbp), %rdi
	callq	_ldap_msgfree
	jmp	LBB0_2
LBB0_33:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_plog
	movq	%r14, %rdi
	callq	_ldap_value_free
	movq	-56(%rbp), %rdi
	jmp	LBB0_31
LBB0_34:
	movq	%rsi, %rdi
	callq	_xstrdup
LBB0_35:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_37
LBB0_36:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_plog
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_37:
	movq	-56(%rbp), %rdi
	callq	_ldap_msgfree
	movq	%r14, %rdi
	callq	_ldap_value_free
	jmp	LBB0_6
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-> amu_ldap_search: map <%s>, key <%s>\n"

	.comm	_XLOG_USER,4,2                  ## @XLOG_USER
L_.str.1:                               ## @.str.1
	.asciz	"LDAP panic: no map data\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_AMD_LDAP_FILTER,4,2            ## @AMD_LDAP_FILTER
L_.str.2:                               ## @.str.2
	.asciz	"Search with filter: <%s>\n"

	.comm	_AMD_LDAP_RETRIES,4,2           ## @AMD_LDAP_RETRIES
	.comm	_gopt,4,2                       ## @gopt
	.comm	_LDAP_SCOPE_SUBTREE,4,2         ## @LDAP_SCOPE_SUBTREE
L_.str.3:                               ## @.str.3
	.asciz	"LDAP search attempt %d failed: %s\n"

	.comm	_LDAP_TIMEOUT,4,2               ## @LDAP_TIMEOUT
L_.str.4:                               ## @.str.4
	.asciz	"amu_ldap_search: unbinding...\n"

L_.str.5:                               ## @.str.5
	.asciz	"No object\n"

L_.str.6:                               ## @.str.6
	.asciz	"LDAP search failed: %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Search found %d entries\n"

	.comm	_AMD_LDAP_ATTR,4,2              ## @AMD_LDAP_ATTR
L_.str.8:                               ## @.str.8
	.asciz	"Missing value for %s in map %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"Map %s, %s => %s\n"

	.comm	_CFM_SUN_MAP_SYNTAX,4,2         ## @CFM_SUN_MAP_SYNTAX
L_.str.10:                              ## @.str.10
	.asciz	"Empty value for %s in map %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amu_ldap_search                ; -- Begin function amu_ldap_search
	.p2align	2
_amu_ldap_search:                       ; @amu_ldap_search
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	mov	x9, x26
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	lsl	w8, w26, #1
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	stur	xzr, [x29, #-112]
	ldr	x23, [x0, #8]
	stp	x1, x2, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	mov	w8, #2
	stur	w8, [x29, #-104]
	stur	xzr, [x29, #-96]
	cbz	x23, LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_amu_ldap_rebind
	cbz	x0, LBB0_8
LBB0_2:
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
LBB0_4:
Lloh19:
	adrp	x8, _EIO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w20, [x8]
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.7:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh24:
	adrp	x8, _AMD_LDAP_FILTER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AMD_LDAP_FILTER@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x26
	mov	x3, x21
	mov	x4, x20
	bl	_xsnprintf
	mov	w8, #12892
	mov	w10, #97
	mov	x9, x24
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	strh	w8, [x9]
	strb	w10, [x9, #2]
	add	x9, x9, #3
	add	x25, x25, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x25]
	cmp	w11, #42
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w11, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	w11, [x9], #1
	add	x25, x25, #1
	b	LBB0_10
LBB0_13:
	strb	wzr, [x9]
	str	x24, [sp, #-16]!
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
Lloh29:
	adrp	x26, _AMD_LDAP_RETRIES@GOTPAGE
Lloh30:
	ldr	x26, [x26, _AMD_LDAP_RETRIES@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	stp	x22, x21, [x29, #-136]          ; 16-byte Folded Spill
	stur	x20, [x29, #-120]               ; 8-byte Folded Spill
	stur	x19, [x29, #-144]               ; 8-byte Folded Spill
	mov	w19, #0
Lloh31:
	adrp	x22, _gopt@GOTPAGE
Lloh32:
	ldr	x22, [x22, _gopt@GOTPAGEOFF]
Lloh33:
	adrp	x20, _LDAP_SCOPE_SUBTREE@GOTPAGE
Lloh34:
	ldr	x20, [x20, _LDAP_SCOPE_SUBTREE@GOTPAGEOFF]
Lloh35:
	adrp	x25, l_.str.3@PAGE
Lloh36:
	add	x25, x25, l_.str.3@PAGEOFF
Lloh37:
	adrp	x21, _LDAP_TIMEOUT@GOTPAGE
Lloh38:
	ldr	x21, [x21, _LDAP_TIMEOUT@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x26]
	cmp	w19, w8
	b.ge	LBB0_28
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldr	w1, [x22]
	ldr	w2, [x20]
	sub	x6, x29, #104
	sub	x7, x29, #112
	mov	x3, x24
	mov	w4, #0
	mov	w5, #0
	bl	_ldap_search_st
	cmp	w0, #128
	b.eq	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x27, x0
	ldur	x0, [x29, #-112]
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	bl	_ldap_msgfree
	stur	xzr, [x29, #-112]
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh39:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh41:
	ldr	w28, [x8]
	add	w19, w19, #1
	mov	x0, x27
	bl	_ldap_err2string
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #-16]!
	mov	x0, x28
	mov	x1, x25
	bl	_plog
	add	sp, sp, #16
	ldr	w8, [x21]
	cmp	w27, w8
	b.eq	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dlog
	ldr	x0, [x23]
	bl	_amu_ldap_unbind
	str	xzr, [x23]
	mov	x0, x23
	bl	_amu_ldap_rebind
	cbz	x0, LBB0_15
	b	LBB0_2
LBB0_21:
	mov	w27, #0
	b	LBB0_31
LBB0_22:
	ldr	x0, [x23]
	ldur	x1, [x29, #-112]
	bl	_ldap_count_entries
	mov	x24, x0
	str	x24, [sp, #-16]!
Lloh44:
	adrp	x0, l_.str.7@PAGE
Lloh45:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	cbz	w24, LBB0_33
; %bb.23:
	ldr	x0, [x23]
	ldur	x1, [x29, #-112]
	bl	_ldap_first_entry
	mov	x1, x0
	ldr	x0, [x23]
Lloh46:
	adrp	x8, _AMD_LDAP_ATTR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AMD_LDAP_ATTR@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	bl	_ldap_get_values
	mov	x23, x0
	bl	_ldap_count_values
	cbz	w0, LBB0_34
; %bb.24:
	ldr	x8, [x23]
	sub	sp, sp, #32
	str	x8, [sp, #16]
	ldur	x19, [x29, #-120]               ; 8-byte Folded Reload
	str	x19, [sp, #8]
	ldur	x20, [x29, #-128]               ; 8-byte Folded Reload
	str	x20, [sp]
Lloh49:
	adrp	x0, l_.str.9@PAGE
Lloh50:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_dlog
	add	sp, sp, #32
	ldr	x1, [x23]
	cbz	x1, LBB0_37
; %bb.25:
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.26:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _CFM_SUN_MAP_SYNTAX@GOTPAGE
Lloh52:
	ldr	x9, [x9, _CFM_SUN_MAP_SYNTAX@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.27:
	mov	x0, x19
	bl	_sun_entry2amd
	b	LBB0_36
LBB0_28:
	cmp	w27, #129
	b.ne	LBB0_31
; %bb.29:
Lloh54:
	adrp	x0, l_.str.5@PAGE
Lloh55:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dlog
	ldur	x0, [x29, #-112]
	cbz	x0, LBB0_2
; %bb.30:
	bl	_ldap_msgfree
	b	LBB0_2
LBB0_31:
Lloh56:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh57:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh58:
	ldr	w19, [x8]
	mov	x0, x27
	bl	_ldap_err2string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh59:
	adrp	x1, l_.str.6@PAGE
Lloh60:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_plog
	add	sp, sp, #16
	ldur	x0, [x29, #-112]
	cbz	x0, LBB0_4
LBB0_32:
	bl	_ldap_msgfree
	b	LBB0_4
LBB0_33:
	ldur	x0, [x29, #-112]
	bl	_ldap_msgfree
	b	LBB0_2
LBB0_34:
Lloh61:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh62:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	sub	sp, sp, #16
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	x8, [sp, #8]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh64:
	adrp	x1, l_.str.8@PAGE
Lloh65:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_plog
	add	sp, sp, #16
	mov	x0, x23
	bl	_ldap_value_free
	ldur	x0, [x29, #-112]
	b	LBB0_32
LBB0_35:
	mov	x0, x1
	bl	_xstrdup
LBB0_36:
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mov	w20, #0
	str	x0, [x8]
	b	LBB0_38
LBB0_37:
Lloh66:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh67:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	stp	x19, x20, [sp, #-16]!
Lloh69:
	adrp	x1, l_.str.10@PAGE
Lloh70:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_plog
	add	sp, sp, #16
Lloh71:
	adrp	x8, _ENOENT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh73:
	ldr	w20, [x8]
LBB0_38:
	ldur	x0, [x29, #-112]
	bl	_ldap_msgfree
	mov	x0, x23
	bl	_ldap_value_free
	b	LBB0_6
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-> amu_ldap_search: map <%s>, key <%s>\n"

	.comm	_XLOG_USER,4,2                  ; @XLOG_USER
l_.str.1:                               ; @.str.1
	.asciz	"LDAP panic: no map data\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_AMD_LDAP_FILTER,4,2            ; @AMD_LDAP_FILTER
l_.str.2:                               ; @.str.2
	.asciz	"Search with filter: <%s>\n"

	.comm	_AMD_LDAP_RETRIES,4,2           ; @AMD_LDAP_RETRIES
	.comm	_gopt,4,2                       ; @gopt
	.comm	_LDAP_SCOPE_SUBTREE,4,2         ; @LDAP_SCOPE_SUBTREE
l_.str.3:                               ; @.str.3
	.asciz	"LDAP search attempt %d failed: %s\n"

	.comm	_LDAP_TIMEOUT,4,2               ; @LDAP_TIMEOUT
l_.str.4:                               ; @.str.4
	.asciz	"amu_ldap_search: unbinding...\n"

l_.str.5:                               ; @.str.5
	.asciz	"No object\n"

l_.str.6:                               ; @.str.6
	.asciz	"LDAP search failed: %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Search found %d entries\n"

	.comm	_AMD_LDAP_ATTR,4,2              ; @AMD_LDAP_ATTR
l_.str.8:                               ; @.str.8
	.asciz	"Missing value for %s in map %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"Map %s, %s => %s\n"

	.comm	_CFM_SUN_MAP_SYNTAX,4,2         ; @CFM_SUN_MAP_SYNTAX
l_.str.10:                              ; @.str.10
	.asciz	"Empty value for %s in map %s\n"

.subsections_via_symbols
