	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reg_write
_reg_write:                             ## @reg_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	sarl	$16, %eax
	cmpl	$65535, %edx                    ## imm = 0xFFFF
	cmovnel	%edx, %eax
	xorl	%edi, %esi
	andl	%esi, %eax
	xorl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_reg_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reg_write
_reg_write:                             ; @reg_write
	.cfi_startproc
; %bb.0:
	asr	w8, w1, #16
	mov	w9, #65535
	cmp	w2, w9
	csel	w8, w8, w2, eq
	bic	w9, w0, w8
	and	w8, w8, w1
	orr	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_reg_write
.subsections_via_symbols
