	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmw_assemble                   ## -- Begin function rmw_assemble
	.p2align	4, 0x90
_rmw_assemble:                          ## @rmw_assemble
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	$0, -76(%rbp)
	movq	_addrmode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %r13
	movq	(%rax,%r13,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_GBRIND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdi
	movl	$-1, %esi
	callq	_get_reg
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	movq	_rs1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	callq	_get_reg
	movq	%rax, %r12
	movq	(%r15), %rdi
	movq	_rs2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	callq	_get_reg
	movq	_HOST_REGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	$0, %r14d
	testq	%r8, %r8
	je	LBB0_8
## %bb.1:
	movq	(%r15), %r10
	leaq	-1(%r8), %rcx
	movl	%r8d, %r11d
	andl	$3, %r11d
	cmpq	$3, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %r8d
	xorl	%r9d, %r9d
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %ebx
	movl	%edx, %ecx
	shll	%cl, %ebx
	cmpq	$0, (%r10,%rdx,8)
	cmovsl	%r9d, %ebx
	leal	1(%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	orl	%r14d, %ebx
	cmpq	$0, 8(%r10,%rdx,8)
	cmovsl	%r9d, %esi
	leal	2(%rdx), %ecx
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	cmpq	$0, 16(%r10,%rdx,8)
	cmovsl	%r9d, %edi
	orl	%esi, %edi
	orl	%ebx, %edi
	leal	3(%rdx), %ecx
	movl	$1, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	cmpq	$0, 24(%r10,%rdx,8)
	cmovsl	%r9d, %r14d
	orl	%edi, %r14d
	addq	$4, %rdx
	cmpq	%r8, %rdx
	jne	LBB0_4
LBB0_5:
	testq	%r11, %r11
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	cmpq	$0, (%r10,%rdx,8)
	cmovsl	%ebx, %esi
	orl	%esi, %r14d
	incq	%rdx
	decq	%r11
	jne	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	testl	%edi, %edi
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	js	LBB0_9
## %bb.10:
	movq	%r13, %rbx
	movl	8(%r15), %edx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	%r15, %r13
	cmpq	%r9, %r8
	jne	LBB0_13
## %bb.11:
	movl	%edx, %esi
	movl	%edi, %ecx
	shrl	%cl, %esi
	movl	%eax, %ecx
	shrl	%cl, %edx
	andl	%esi, %edx
	testb	$1, %dl
	je	LBB0_12
## %bb.38:
	movq	_cpmap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movslq	%edi, %rdx
	cltq
	movl	(%rcx,%rax,4), %eax
	addl	(%rcx,%rdx,4), %eax
	jmp	LBB0_15
LBB0_9:
	movq	%r15, %r13
	xorl	%r15d, %r15d
                                        ## implicit-def: $eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_16
LBB0_13:
	btl	%edi, %edx
	jae	LBB0_12
## %bb.14:
	movq	_cpmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_15:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %r15b
	jmp	LBB0_16
LBB0_12:
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
                                        ## implicit-def: $eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_16:
	testb	%r15b, %r15b
	movl	%edi, %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	cmovnel	%r12d, %ebx
	testl	%edi, %edi
	cmovsl	%r12d, %ebx
	cmpq	%r9, %r8
	cmovel	%r12d, %ebx
	movl	%r12d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	xorb	$1, %r15b
	movzbl	%r15b, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rdi
	movq	_MOREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_reg
	movq	%rax, %r15
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	movq	_MMREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_reg
	movq	%rax, %r13
	movl	%r15d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r9d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	callq	_do_map_w
	addq	$16, %rsp
	movl	%eax, %r12d
	leaq	-76(%rbp), %rcx
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_do_map_w_branch
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %eax
	cmpl	$13, %eax
	jne	LBB0_17
## %bb.18:
	movq	_RMWA_STUB@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_17:
	movq	_RMWT_STUB@GOTPCREL(%rip), %rcx
LBB0_19:
	cmpl	$14, %eax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_21
## %bb.20:
	movq	_RMWX_STUB@GOTPCREL(%rip), %rcx
LBB0_21:
	cmpl	$15, %eax
	jne	LBB0_23
## %bb.22:
	movq	_RMWO_STUB@GOTPCREL(%rip), %rcx
LBB0_23:
	movl	(%rcx), %r13d
	cmpl	$11, %eax
	jne	LBB0_29
## %bb.24:
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	(%r15), %rdi
	movq	_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_reg
	movq	%rax, %r13
	notb	%al
	shrb	$7, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_rt1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_TBIT@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	testb	%r13b, %r13b
	js	LBB0_27
## %bb.25:
	movq	16(%r15), %rax
	movl	(%rbx), %ecx
	btq	%rcx, %rax
	jae	LBB0_26
LBB0_27:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r12d, %esi
	movl	$128, %edx
	callq	_emit_rmw_orimm
	jmp	LBB0_28
LBB0_26:
	movsbl	%r13b, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r12d, %esi
	callq	_emit_sh2tas
LBB0_28:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movl	-56(%rbp), %r13d                ## 4-byte Reload
LBB0_29:
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$13, %eax
	je	LBB0_30
## %bb.31:
	cmpl	$14, %eax
	je	LBB0_32
LBB0_33:
	cmpl	$15, %eax
	jne	LBB0_35
LBB0_34:
	movq	_imm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r12d, %esi
	callq	_emit_rmw_orimm
LBB0_35:
	movl	-76(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_37
## %bb.36:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-100(%rbp), %eax                ## 4-byte Reload
	btsl	%r8d, %eax
	notl	%eax
	andl	%eax, %r14d
	movq	_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ccadj@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	movl	%r13d, %edi
	movl	%ebx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r15d, %r9d
	pushq	%r14
	pushq	%rax
	callq	_add_stub
	addq	$16, %rsp
LBB0_37:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_imm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r12d, %esi
	callq	_emit_rmw_andimm
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$14, %eax
	jne	LBB0_33
LBB0_32:
	movq	_imm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r12d, %esi
	callq	_emit_rmw_xorimm
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$15, %eax
	je	LBB0_34
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_addrmode,8,3                   ## @addrmode
	.comm	_GBRIND,8,3                     ## @GBRIND
	.comm	_rs1,8,3                        ## @rs1
	.comm	_rs2,8,3                        ## @rs2
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.comm	_cpmap,8,3                      ## @cpmap
	.comm	_MOREG,4,2                      ## @MOREG
	.comm	_MMREG,4,2                      ## @MMREG
	.comm	_opcode2,8,3                    ## @opcode2
	.comm	_RMWT_STUB,4,2                  ## @RMWT_STUB
	.comm	_RMWA_STUB,4,2                  ## @RMWA_STUB
	.comm	_RMWX_STUB,4,2                  ## @RMWX_STUB
	.comm	_RMWO_STUB,4,2                  ## @RMWO_STUB
	.comm	_SR,4,2                         ## @SR
	.comm	_rt1,8,3                        ## @rt1
	.comm	_TBIT,8,3                       ## @TBIT
	.comm	_imm,8,3                        ## @imm
	.comm	_out,8,3                        ## @out
	.comm	_ccadj,8,3                      ## @ccadj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rmw_assemble
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rmw_assemble
	.p2align	2
_rmw_assemble:                          ; @rmw_assemble
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x23, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _addrmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _addrmode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sxtw	x28, w23
	ldr	x24, [x8, w0, sxtw #3]
Lloh3:
	adrp	x8, _GBRIND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GBRIND@GOTPAGEOFF]
Lloh5:
	ldr	x26, [x8]
	ldr	x0, [x1]
	mov	w1, #-1
	bl	_get_reg
	mov	x21, x0
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _rs1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rs1@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sbfiz	x20, x23, #2, #32
	ldr	w1, [x8, x20]
	bl	_get_reg
	mov	x22, x0
	ldr	x0, [x19]
Lloh9:
	adrp	x8, _rs2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rs2@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w1, [x8, x20]
	bl	_get_reg
Lloh12:
	adrp	x8, _HOST_REGS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HOST_REGS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w20, #0
	b	LBB0_7
LBB0_3:
	mov	w20, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2s	v1, #2
	movi.2s	v2, #4
Lloh15:
	adrp	x11, lCPI0_0@PAGE
Lloh16:
	ldr	d3, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #32
	movi.2s	v4, #6
	movi.2s	v5, #1
	movi.2s	v6, #8
	mov	x12, x10
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add.2s	v18, v3, v1
	add.2s	v19, v3, v2
	add.2s	v20, v3, v4
	ldp	q21, q22, [x11, #-32]
	ldp	q23, q24, [x11], #64
	ushl.2s	v25, v5, v3
	ushl.2s	v18, v5, v18
	ushl.2s	v19, v5, v19
	ushl.2s	v20, v5, v20
	cmlt.2d	v21, v21, #0
	xtn.2s	v21, v21
	cmlt.2d	v22, v22, #0
	xtn.2s	v22, v22
	cmlt.2d	v23, v23, #0
	xtn.2s	v23, v23
	cmlt.2d	v24, v24, #0
	xtn.2s	v24, v24
	bic.8b	v21, v25, v21
	bic.8b	v18, v18, v22
	bic.8b	v19, v19, v23
	bic.8b	v20, v20, v24
	orr.8b	v0, v21, v0
	orr.8b	v7, v18, v7
	orr.8b	v16, v19, v16
	orr.8b	v17, v20, v17
	add.2s	v3, v3, v6
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	orr.8b	v0, v7, v0
	orr.8b	v0, v16, v0
	orr.8b	v0, v17, v0
	mov.s	w11, v0[1]
	fmov	w12, s0
	orr	w20, w12, w11
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	mov	w11, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x10, lsl #3]
	lsl	w13, w11, w10
	cmp	x12, #0
	csel	w12, wzr, w13, lt
	orr	w20, w12, w20
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_8
LBB0_9:
	str	x23, [sp]                       ; 8-byte Folded Spill
	tbnz	w22, #31, LBB0_16
; %bb.10:
	ldr	w8, [x19, #8]
	cmp	x24, x26
	b.ne	LBB0_13
; %bb.11:
	lsr	w9, w8, w22
	lsr	w8, w8, w0
	and	w8, w8, w9
	tbz	w8, #0, LBB0_16
; %bb.12:
Lloh17:
	adrp	x8, _cpmap@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cpmap@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	sbfiz	x9, x22, #2, #32
	ldr	w9, [x8, x9]
	sbfiz	x10, x0, #2, #32
	ldr	w8, [x8, x10]
	add	w25, w8, w9
	b	LBB0_15
LBB0_13:
	lsr	w8, w8, w22
	tbz	w8, #0, LBB0_16
; %bb.14:
Lloh20:
	adrp	x8, _cpmap@GOTPAGE
Lloh21:
	ldr	x8, [x8, _cpmap@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	sbfiz	x9, x22, #2, #32
	ldr	w25, [x8, x9]
LBB0_15:
	mov	w23, #1
	b	LBB0_17
LBB0_16:
	mov	w23, #0
                                        ; implicit-def: $w25
LBB0_17:
	cmp	x24, x26
	ccmp	w22, #0, #8, ne
	cset	w8, lt
	orr	w8, w8, w23
	cmp	w8, #0
	csel	w24, w21, w22, ne
	mvn	w8, w21
	lsr	w0, w8, #31
	bl	_assert
	eor	w26, w23, #0x1
	ldr	x0, [x19]
Lloh23:
	adrp	x8, _MOREG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MOREG@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_get_reg
	mov	x22, x0
	ldr	x0, [x19]
Lloh26:
	adrp	x8, _MMREG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MMREG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_get_reg
	mov	x27, x0
	mvn	w8, w22
	lsr	w0, w8, #31
	bl	_assert
	mov	x0, x24
	mov	x1, x21
	mov	x2, x22
	mov	x3, x27
	mov	x4, x26
	mov	x5, x23
	mov	x6, x25
	bl	_do_map_w
	mov	x24, x0
	add	x3, sp, #12
	mov	x1, x23
	mov	x2, x25
	bl	_do_map_w_branch
Lloh29:
	adrp	x26, _opcode2@GOTPAGE
Lloh30:
	ldr	x26, [x26, _opcode2@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	w8, [x8, x28, lsl #2]
Lloh31:
	adrp	x9, _RMWT_STUB@GOTPAGE
Lloh32:
	ldr	x9, [x9, _RMWT_STUB@GOTPAGEOFF]
Lloh33:
	adrp	x10, _RMWA_STUB@GOTPAGE
Lloh34:
	ldr	x10, [x10, _RMWA_STUB@GOTPAGEOFF]
	cmp	w8, #13
	csel	x9, x10, x9, eq
Lloh35:
	adrp	x10, _RMWX_STUB@GOTPAGE
Lloh36:
	ldr	x10, [x10, _RMWX_STUB@GOTPAGEOFF]
	cmp	w8, #14
	csel	x9, x10, x9, eq
Lloh37:
	adrp	x10, _RMWO_STUB@GOTPAGE
Lloh38:
	ldr	x10, [x10, _RMWO_STUB@GOTPAGEOFF]
	cmp	w8, #15
	csel	x9, x10, x9, eq
	ldr	w23, [x9]
	cmp	w8, #11
	b.ne	LBB0_22
; %bb.18:
	ldr	x0, [x19]
Lloh39:
	adrp	x8, _SR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_get_reg
	mov	x25, x0
	mvn	w8, w25
	ubfx	w0, w8, #7, #1
	bl	_assert
Lloh42:
	adrp	x8, _rt1@GOTPAGE
Lloh43:
	ldr	x8, [x8, _rt1@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
Lloh45:
	adrp	x27, _TBIT@GOTPAGE
Lloh46:
	ldr	x27, [x27, _TBIT@GOTPAGEOFF]
	ldr	x9, [x27]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	tbnz	w25, #7, LBB0_20
; %bb.19:
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	lsr	x8, x8, x9
	tbz	w8, #0, LBB0_21
LBB0_20:
	mov	x0, x21
	mov	x1, x24
	mov	w2, #128
	bl	_emit_rmw_orimm
	b	LBB0_22
LBB0_21:
	sxtb	w2, w25
	mov	x0, x21
	mov	x1, x24
	bl	_emit_sh2tas
LBB0_22:
	ldr	x8, [x26]
	ldr	w8, [x8, x28, lsl #2]
Lloh47:
	adrp	x25, _imm@GOTPAGE
Lloh48:
	ldr	x25, [x25, _imm@GOTPAGEOFF]
	lsl	x27, x28, #2
	cmp	w8, #13
	b.eq	LBB0_28
; %bb.23:
	cmp	w8, #14
	b.eq	LBB0_29
LBB0_24:
	cmp	w8, #15
	b.eq	LBB0_30
LBB0_25:
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_27
LBB0_26:
	mov	w8, #1
	lsl	w9, w8, w21
	lsl	w8, w8, w22
	orr	w8, w8, w9
	bic	w7, w20, w8
Lloh49:
	adrp	x8, _out@GOTPAGE
Lloh50:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
Lloh52:
	adrp	x8, _ccadj@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ccadj@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	ldr	w6, [x8, x28, lsl #2]
	mov	x0, x23
	ldr	x3, [sp]                        ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x21
	mov	x5, x19
	bl	_add_stub
LBB0_27:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_28:
	ldr	x8, [x25]
	ldr	w2, [x8, x27]
	mov	x0, x21
	mov	x1, x24
	bl	_emit_rmw_andimm
	ldr	x8, [x26]
	ldr	w8, [x8, x27]
	cmp	w8, #14
	b.ne	LBB0_24
LBB0_29:
	ldr	x8, [x25]
	ldr	w2, [x8, x27]
	mov	x0, x21
	mov	x1, x24
	bl	_emit_rmw_xorimm
	ldr	x8, [x26]
	ldr	w8, [x8, x27]
	cmp	w8, #15
	b.ne	LBB0_25
LBB0_30:
	ldr	x8, [x25]
	ldr	w2, [x8, x28, lsl #2]
	mov	x0, x21
	mov	x1, x24
	bl	_emit_rmw_orimm
	ldr	w1, [sp, #12]
	cbnz	w1, LBB0_26
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_addrmode,8,3                   ; @addrmode
	.comm	_GBRIND,8,3                     ; @GBRIND
	.comm	_rs1,8,3                        ; @rs1
	.comm	_rs2,8,3                        ; @rs2
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.comm	_cpmap,8,3                      ; @cpmap
	.comm	_MOREG,4,2                      ; @MOREG
	.comm	_MMREG,4,2                      ; @MMREG
	.comm	_opcode2,8,3                    ; @opcode2
	.comm	_RMWT_STUB,4,2                  ; @RMWT_STUB
	.comm	_RMWA_STUB,4,2                  ; @RMWA_STUB
	.comm	_RMWX_STUB,4,2                  ; @RMWX_STUB
	.comm	_RMWO_STUB,4,2                  ; @RMWO_STUB
	.comm	_SR,4,2                         ; @SR
	.comm	_rt1,8,3                        ; @rt1
	.comm	_TBIT,8,3                       ; @TBIT
	.comm	_imm,8,3                        ; @imm
	.comm	_out,8,3                        ; @out
	.comm	_ccadj,8,3                      ; @ccadj
.subsections_via_symbols
