	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_open                        ## -- Begin function rc_open
	.p2align	4, 0x90
_rc_open:                               ## @rc_open
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_rc_cachelookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, (%r14)
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$16, %esi
	callq	_bzero
	movq	%rbx, %rdi
	callq	_strdup
	movl	%eax, 8(%r15)
	movq	%r12, (%r15)
	movq	_rf_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pf_head@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	%r15, %rdi
	callq	_rc_parse
	movq	%r15, (%r14)
	jmp	LBB0_7
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_5:
	movq	%r12, %rdi
	callq	_fclose
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pf_head,4,2                    ## @pf_head
	.comm	_rf_next,4,2                    ## @rf_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_open                        ; -- Begin function rc_open
	.p2align	2
_rc_open:                               ; @rc_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_rc_cachelookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_fopen
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	mov	w1, #16
	bl	_bzero
	mov	x0, x20
	bl	_strdup
	str	w0, [x21, #8]
	str	x22, [x21]
Lloh0:
	adrp	x8, _rf_next@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rf_next@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, _pf_head@GOTPAGE
Lloh4:
	ldr	x0, [x0, _pf_head@GOTPAGEOFF]
	mov	x1, x21
	bl	_SLIST_INSERT_HEAD
	mov	x0, x21
	bl	_rc_parse
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_2
LBB0_6:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_2
LBB0_7:
	mov	x0, x22
	bl	_fclose
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pf_head,4,2                    ; @pf_head
	.comm	_rf_next,4,2                    ; @rf_next
.subsections_via_symbols
