	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_rcdata_file             ## -- Begin function define_rcdata_file
	.p2align	4, 0x90
_define_rcdata_file:                    ## @define_rcdata_file
	.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, %rax
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_FOPEN_RB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rax, %rdi
	callq	_open_file_search
	movq	%rax, %r12
	movq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	-56(%rbp), %r13
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_fatal
LBB0_2:
	movl	-48(%rbp), %edi
	callq	_res_alloc
	movq	%rax, %rbx
	movl	-48(%rbp), %edx
	movq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_get_data
	movq	%r12, %rdi
	callq	_fclose
	movq	-56(%rbp), %rdi
	callq	_free
	movl	$32, %edi
	callq	_res_alloc
	movq	$0, 24(%rax)
	movq	_RCDATA_BUFFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	-48(%rbp), %ecx
	movl	%ecx, (%rax)
	movq	%rbx, 8(%rax)
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_define_rcdata
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FOPEN_RB,4,2                   ## @FOPEN_RB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

L_.str.1:                               ## @.str.1
	.asciz	"stat failed on file `%s': %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_RCDATA_BUFFER,4,2              ## @RCDATA_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_rcdata_file             ; -- Begin function define_rcdata_file
	.p2align	2
_define_rcdata_file:                    ; @define_rcdata_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _FOPEN_RB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FOPEN_RB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x8
	bl	_open_file_search
	mov	x21, x0
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_stat
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x22, x0
	ldr	x23, [sp, #8]
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_fatal
LBB0_2:
	ldr	w0, [sp]
	bl	_res_alloc
	mov	x22, x0
	ldr	w2, [sp]
	ldr	x3, [sp, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_get_data
	mov	x0, x21
	bl	_fclose
	ldr	x0, [sp, #8]
	bl	_free
	mov	w0, #32
	bl	_res_alloc
	mov	x2, x0
Lloh10:
	adrp	x8, _RCDATA_BUFFER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RCDATA_BUFFER@GOTPAGEOFF]
	str	xzr, [x0, #24]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	w8, [sp]
	str	w8, [x0]
	str	x22, [x0, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_define_rcdata
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FOPEN_RB,4,2                   ; @FOPEN_RB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

l_.str.1:                               ; @.str.1
	.asciz	"stat failed on file `%s': %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_RCDATA_BUFFER,4,2              ; @RCDATA_BUFFER
.subsections_via_symbols
