	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hesiod_search                  ## -- Begin function hesiod_search
	.p2align	4, 0x90
_hesiod_search:                         ## @hesiod_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dlog
	cmpb	$46, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_17
LBB0_2:
	movq	_HES_PREFLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_xsnprintf
	movq	_gopt@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_dlog
	movq	_D_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_RES_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__res@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_4:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_hes_resolve
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %rbx
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_CFM_SUN_MAP_SYNTAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_sun_entry2amd
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%rbx), %rdi
	callq	_XFREE
	jmp	LBB0_10
LBB0_13:
	xorl	%eax, %eax
	callq	_hes_error
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_dlog
	xorl	%eax, %eax
	callq	_hes_error
	leaq	-128(%rax), %rcx
	cmpq	$2, %rcx
	ja	LBB0_14
## %bb.15:
	leaq	l_switch.table.hesiod_search(%rip), %rcx
	movq	-1024(%rcx,%rax,8), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %r14d
	leaq	L_.str.5(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_17
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rsi, (%rax)
LBB0_10:
	movq	8(%rbx), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.11:
	addq	$16, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	callq	_XFREE
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_12
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"%s.%s"

	.comm	_HES_PREFLEN,4,2                ## @HES_PREFLEN
L_.str.2:                               ## @.str.2
	.asciz	"Hesiod base is: %s\n"

	.comm	_gopt,4,2                       ## @gopt
L_.str.3:                               ## @.str.3
	.asciz	"hesiod_search: hes_resolve(%s, %s)"

	.comm	_D_INFO,4,2                     ## @D_INFO
	.comm	_RES_DEBUG,4,2                  ## @RES_DEBUG
	.comm	__res,4,2                       ## @_res
	.comm	_CFM_SUN_MAP_SYNTAX,4,2         ## @CFM_SUN_MAP_SYNTAX
L_.str.4:                               ## @.str.4
	.asciz	"hesiod_search: Error: %d"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"hesiod_search: Returning: %d"

	.comm	_errno,4,2                      ## @errno
	.comm	_hesiod_context,4,2             ## @hesiod_context
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.hesiod_search
l_switch.table.hesiod_search:
	.quad	_ENOENT
	.quad	_ETIMEDOUT
	.quad	_EIO

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hesiod_search                  ; -- Begin function hesiod_search
	.p2align	2
_hesiod_search:                         ; @hesiod_search
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	sub	sp, sp, #48
	stp	x3, x4, [sp, #24]
	stp	x1, x2, [sp, #8]
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlog
	add	sp, sp, #48
	ldrb	w8, [x20]
	cmp	w8, #46
	b.ne	LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _ENOENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	b	LBB0_17
LBB0_2:
Lloh13:
	adrp	x8, _HES_PREFLEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HES_PREFLEN@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	add	x4, x23, x8
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	mov	x3, x20
	bl	_xsnprintf
Lloh18:
	adrp	x23, _gopt@GOTPAGE
Lloh19:
	ldr	x23, [x23, _gopt@GOTPAGEOFF]
	ldr	w8, [x23]
	str	x8, [sp, #-16]!
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	ldr	w8, [x23]
	stp	x22, x8, [sp, #-16]!
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
Lloh24:
	adrp	x8, _D_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _D_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_amuDebug
	cbz	x0, LBB0_4
; %bb.3:
Lloh27:
	adrp	x8, _RES_DEBUG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RES_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, __res@GOTPAGE
Lloh31:
	ldr	x9, [x9, __res@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_4:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_hes_resolve
	cbz	x0, LBB0_9
; %bb.5:
	mov	x22, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_9
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.7:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _CFM_SUN_MAP_SYNTAX@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CFM_SUN_MAP_SYNTAX@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.8:
	mov	x0, x20
	bl	_sun_entry2amd
	str	x0, [x19]
	ldr	x0, [x22]
	bl	_XFREE
	ldr	x0, [x22, #8]
	cbnz	x0, LBB0_14
	b	LBB0_16
LBB0_9:
	bl	_hes_error
	str	x0, [sp, #-16]!
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	bl	_hes_error
	sub	x8, x0, #128
	cmp	x8, #2
	b.hi	LBB0_11
; %bb.10:
Lloh37:
	adrp	x9, l_switch.table.hesiod_search@PAGE
Lloh38:
	add	x9, x9, l_switch.table.hesiod_search@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_12
LBB0_11:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w19, [x8]
	str	x19, [sp, #-16]!
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	b	LBB0_17
LBB0_13:
	str	x1, [x19]
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_16
LBB0_14:
	add	x19, x22, #16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	bl	_XFREE
	ldr	x0, [x19], #8
	cbnz	x0, LBB0_15
LBB0_16:
	mov	w19, #0
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"%s.%s"

	.comm	_HES_PREFLEN,4,2                ; @HES_PREFLEN
l_.str.2:                               ; @.str.2
	.asciz	"Hesiod base is: %s\n"

	.comm	_gopt,4,2                       ; @gopt
l_.str.3:                               ; @.str.3
	.asciz	"hesiod_search: hes_resolve(%s, %s)"

	.comm	_D_INFO,4,2                     ; @D_INFO
	.comm	_RES_DEBUG,4,2                  ; @RES_DEBUG
	.comm	__res,4,2                       ; @_res
	.comm	_CFM_SUN_MAP_SYNTAX,4,2         ; @CFM_SUN_MAP_SYNTAX
l_.str.4:                               ; @.str.4
	.asciz	"hesiod_search: Error: %d"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"hesiod_search: Returning: %d"

	.comm	_errno,4,2                      ; @errno
	.comm	_hesiod_context,4,2             ; @hesiod_context
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.hesiod_search
l_switch.table.hesiod_search:
	.quad	_ENOENT
	.quad	_ETIMEDOUT
	.quad	_EIO

.subsections_via_symbols
