	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hesiod_isup                    ## -- Begin function hesiod_isup
	.p2align	4, 0x90
_hesiod_isup:                           ## @hesiod_isup
	.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	%rsi, %r15
	leaq	L_.str(%rip), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_hesiod_search
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_dlog
	testl	%ebx, %ebx
	sete	%al
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	sete	%bl
	orb	%al, %bl
	cmpb	$1, %bl
	jne	LBB0_1
## %bb.2:
	movl	$1, %r14d
	cmpb	$1, _hesiod_isup.last_status(%rip)
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rsi
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movq	%r15, %rdx
	callq	_plog
	xorb	$1, %bl
	movb	%bl, _hesiod_isup.last_status(%rip)
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_hesiod_isup.last_status,1,2 ## @hesiod_isup.last_status
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/defaults"

L_.str.1:                               ## @.str.1
	.asciz	"hesiod_isup(%s): %s"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"hesiod_isup: error getting `/defaults' entry in map %s: %m"

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"hesiod_isup: Hesiod came back up for map %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hesiod_isup                    ; -- Begin function hesiod_isup
	.p2align	2
_hesiod_isup:                           ; @hesiod_isup
	.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, x1
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	add	x4, sp, #4
	bl	_hesiod_search
	mov	x20, x0
	bl	_strerror
	mov	x2, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_dlog
	cmp	w20, #0
Lloh4:
	adrp	x8, _ENOENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ccmp	w20, w8, #4, ne
	cset	w21, eq
	adrp	x22, _hesiod_isup.last_status@PAGE
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x22, _hesiod_isup.last_status@PAGEOFF]
	mov	w20, #1
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh9:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	w20, #0
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh13:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	mov	x2, x19
	bl	_plog
	eor	w8, w21, #0x1
	strb	w8, [x22, _hesiod_isup.last_status@PAGEOFF]
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_hesiod_isup.last_status,1,2 ; @hesiod_isup.last_status
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/defaults"

l_.str.1:                               ; @.str.1
	.asciz	"hesiod_isup(%s): %s"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"hesiod_isup: error getting `/defaults' entry in map %s: %m"

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"hesiod_isup: Hesiod came back up for map %s"

.subsections_via_symbols
