	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qnxr_set_architecture          ## -- Begin function qnxr_set_architecture
	.p2align	4, 0x90
_qnxr_set_architecture:                 ## @qnxr_set_architecture
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, (%rdi)
	cmpl	$129, %esi
	je	LBB0_6
## %bb.3:
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.4:
	movq	_x86_32@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_arm32@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x86_32,4,2                     ## @x86_32
	.comm	_arm32,4,2                      ## @arm32
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error unknown architecture set\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qnxr_set_architecture          ; -- Begin function qnxr_set_architecture
	.p2align	2
_qnxr_set_architecture:                 ; @qnxr_set_architecture
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x0
	str	w1, [x0]
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x9, _x86_32@GOTPAGE
Lloh1:
	ldr	x9, [x9, _x86_32@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
Lloh2:
	adrp	x9, _arm32@GOTPAGE
Lloh3:
	ldr	x9, [x9, _arm32@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_x86_32,4,2                     ; @x86_32
	.comm	_arm32,4,2                      ; @arm32
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error unknown architecture set\n"

.subsections_via_symbols
