	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qnxr_init                      ## -- Begin function qnxr_init
	.p2align	4, 0x90
_qnxr_init:                             ## @qnxr_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	$0, 24(%rbx)
	movq	_DS_DATA_MAX_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	addl	%edi, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%r15), %edi
	addl	%edi, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_x86_32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_3:
	movq	(%rbx), %rdi
	callq	_R_FREE
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DS_DATA_MAX_SIZE,4,2           ## @DS_DATA_MAX_SIZE
	.comm	_x86_32,4,2                     ## @x86_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qnxr_init                      ; -- Begin function qnxr_init
	.p2align	2
_qnxr_init:                             ; @qnxr_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	xzr, [x19, #24]
Lloh0:
	adrp	x20, _DS_DATA_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DS_DATA_MAX_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #1
	mov	w1, #1
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x20]
	lsl	w0, w8, #1
	mov	w1, #1
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
Lloh2:
	adrp	x8, _x86_32@GOTPAGE
Lloh3:
	ldr	x8, [x8, _x86_32@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19]
	bl	_R_FREE
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DS_DATA_MAX_SIZE,4,2           ; @DS_DATA_MAX_SIZE
	.comm	_x86_32,4,2                     ; @x86_32
.subsections_via_symbols
