	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_rmw_andimm                ## -- Begin function emit_rmw_andimm
	.p2align	4, 0x90
_emit_rmw_andimm:                       ## @emit_rmw_andimm
	.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	%edx, %r14d
	movl	%edi, %ebx
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %edx
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_assem_debug
	movq	_ESP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setne	%dil
	callq	_assert
	movl	$128, %edi
	callq	_output_byte
	xorl	%edi, %edi
	movl	$4, %esi
	movl	$4, %edx
	callq	_output_modrm
	movq	_EBP@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	cmpl	%r15d, %ebx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_assem_debug
	movq	_ESP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setne	%dil
	callq	_assert
	movl	$128, %edi
	callq	_output_byte
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_output_modrm
	jmp	LBB0_6
LBB0_3:
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
LBB0_5:
	callq	_output_sib
LBB0_6:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_output_byte                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"andb $0x%x,(%%%s)\n"

	.comm	_regname,8,3                    ## @regname
	.comm	_ESP,4,2                        ## @ESP
L_.str.1:                               ## @.str.1
	.asciz	"andb $0x%x,(%%%s,%%%s,1)\n"

	.comm	_EBP,4,2                        ## @EBP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_rmw_andimm                ; -- Begin function emit_rmw_andimm
	.p2align	2
_emit_rmw_andimm:                       ; @emit_rmw_andimm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _regname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w2, [x8, w0, sxtw #2]
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	w8, [x8, w1, uxtw #2]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_assem_debug
Lloh5:
	adrp	x8, _ESP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w0, ne
	bl	_assert
	mov	w0, #128
	bl	_output_byte
	mov	w0, #0
	mov	w1, #4
	mov	w2, #4
	bl	_output_modrm
Lloh8:
	adrp	x8, _EBP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.2:
	cmp	w20, w21
	cset	w0, ne
	bl	_assert
	mov	w0, #0
	mov	x1, x20
	mov	x2, x21
	b	LBB0_5
LBB0_3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_assem_debug
Lloh13:
	adrp	x8, _ESP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ESP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w0, ne
	bl	_assert
	mov	w0, #128
	bl	_output_byte
	mov	w0, #0
	mov	x1, x20
	mov	w2, #4
	bl	_output_modrm
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	mov	x1, x21
	mov	x2, x20
LBB0_5:
	bl	_output_sib
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_output_byte
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"andb $0x%x,(%%%s)\n"

	.comm	_regname,8,3                    ; @regname
	.comm	_ESP,4,2                        ; @ESP
l_.str.1:                               ; @.str.1
	.asciz	"andb $0x%x,(%%%s,%%%s,1)\n"

	.comm	_EBP,4,2                        ; @EBP
.subsections_via_symbols
