	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_check_reload
_res_check_reload:                      ## @res_check_reload
	.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	%rdi, %rbx
	movq	_RES_INIT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.3:
	movq	_CLOCK_MONOTONIC_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_clock_gettime
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	-32(%rbp), %rax
	movq	%rax, %rcx
	subq	8(%r15), %rcx
	cmpq	(%r15), %rcx
	jl	LBB0_9
## %bb.5:
	movq	%rax, 8(%r15)
	movq	__PATH_RESCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	-48(%rbp), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_8
## %bb.7:
	movq	-40(%rbp), %rax
	cmpq	24(%r15), %rax
	je	LBB0_9
LBB0_8:
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RES_INIT,4,2                   ## @RES_INIT
	.comm	_CLOCK_MONOTONIC_FAST,4,2       ## @CLOCK_MONOTONIC_FAST
	.comm	__PATH_RESCONF,4,2              ## @_PATH_RESCONF
	.no_dead_strip	_res_check_reload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_check_reload
_res_check_reload:                      ; @res_check_reload
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _RES_INIT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RES_INIT@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_9
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.3:
Lloh2:
	adrp	x8, _CLOCK_MONOTONIC_FAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CLOCK_MONOTONIC_FAST@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_clock_gettime
	cbnz	x0, LBB0_9
; %bb.4:
	ldr	x8, [sp, #24]
	ldp	x10, x9, [x21]
	sub	x9, x8, x9
	cmp	x9, x10
	b.lt	LBB0_9
; %bb.5:
	str	x8, [x21, #8]
Lloh5:
	adrp	x8, __PATH_RESCONF@GOTPAGE
Lloh6:
	ldr	x8, [x8, __PATH_RESCONF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_stat
	cbnz	x0, LBB0_9
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [sp, #16]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_8:
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RES_INIT,4,2                   ; @RES_INIT
	.comm	_CLOCK_MONOTONIC_FAST,4,2       ; @CLOCK_MONOTONIC_FAST
	.comm	__PATH_RESCONF,4,2              ; @_PATH_RESCONF
	.no_dead_strip	_res_check_reload
.subsections_via_symbols
