	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rd_init                        ## -- Begin function rd_init
	.p2align	4, 0x90
_rd_init:                               ## @rd_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RD_VERSION@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	callq	_atoi
	jmp	LBB0_5
LBB0_1:
	movq	_RD_NOCAPAB@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	__librtld_db_debug@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_RD_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RD_VERSION,4,2                 ## @RD_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LIBRTLD_DB_DEBUG"

	.comm	__librtld_db_debug,4,2          ## @_librtld_db_debug
	.comm	_RD_OK,4,2                      ## @RD_OK
	.comm	_RD_NOCAPAB,4,2                 ## @RD_NOCAPAB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rd_init                        ; -- Begin function rd_init
	.p2align	2
_rd_init:                               ; @rd_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _RD_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RD_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.2:
	bl	_atoi
LBB0_3:
Lloh5:
	adrp	x8, __librtld_db_debug@GOTPAGE
Lloh6:
	ldr	x8, [x8, __librtld_db_debug@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, _RD_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RD_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _RD_NOCAPAB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RD_NOCAPAB@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RD_VERSION,4,2                 ; @RD_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LIBRTLD_DB_DEBUG"

	.comm	__librtld_db_debug,4,2          ; @_librtld_db_debug
	.comm	_RD_OK,4,2                      ; @RD_OK
	.comm	_RD_NOCAPAB,4,2                 ; @RD_NOCAPAB
.subsections_via_symbols
