	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdl2prmap
_rdl2prmap:                             ## @rdl2prmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	%rax, 24(%rsi)
	movq	24(%rdi), %rcx
	subq	%rax, %rcx
	movq	%rcx, 16(%rsi)
	movl	8(%rdi), %eax
	movl	%eax, 8(%rsi)
	movl	$0, 4(%rsi)
	movl	(%rdi), %eax
	movq	_RD_RDL_R@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_MA_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rsi)
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	_RD_RDL_W@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	_MA_WRITE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 4(%rsi)
LBB0_5:
	movq	_RD_RDL_X@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	_MA_EXEC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rsi)
LBB0_7:
	movl	(%rsi), %eax
	movl	4(%rdi), %esi
	movl	%eax, %edi
	movl	$4, %edx
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RD_RDL_R,4,2                   ## @RD_RDL_R
	.comm	_MA_READ,4,2                    ## @MA_READ
	.comm	_RD_RDL_W,4,2                   ## @RD_RDL_W
	.comm	_MA_WRITE,4,2                   ## @MA_WRITE
	.comm	_RD_RDL_X,4,2                   ## @RD_RDL_X
	.comm	_MA_EXEC,4,2                    ## @MA_EXEC
	.no_dead_strip	_rdl2prmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdl2prmap
_rdl2prmap:                             ; @rdl2prmap
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0, #16]
	sub	x9, x9, x8
	stp	x9, x8, [x1, #16]
	ldr	w8, [x0, #8]
	stp	wzr, w8, [x1, #4]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RD_RDL_R@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RD_RDL_R@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _MA_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MA_READ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x1, #4]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
Lloh6:
	adrp	x10, _RD_RDL_W@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RD_RDL_W@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_5
; %bb.4:
Lloh9:
	adrp	x10, _MA_WRITE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MA_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x1, #4]
LBB0_5:
Lloh12:
	adrp	x10, _RD_RDL_X@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RD_RDL_X@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _MA_EXEC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MA_EXEC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x1, #4]
LBB0_7:
	ldr	w8, [x1]
	ldr	w1, [x0, #4]
	mov	x0, x8
	mov	w2, #4
	b	_strlcpy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RD_RDL_R,4,2                   ; @RD_RDL_R
	.comm	_MA_READ,4,2                    ; @MA_READ
	.comm	_RD_RDL_W,4,2                   ; @RD_RDL_W
	.comm	_MA_WRITE,4,2                   ; @MA_WRITE
	.comm	_RD_RDL_X,4,2                   ; @RD_RDL_X
	.comm	_MA_EXEC,4,2                    ; @MA_EXEC
	.no_dead_strip	_rdl2prmap
.subsections_via_symbols
