	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_split_atomic_op         ## -- Begin function rs6000_split_atomic_op
	.p2align	4, 0x90
_rs6000_split_atomic_op:                ## @rs6000_split_atomic_op
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_GET_MODE
	movl	%eax, %r13d
	movq	_CCmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CR0_REGNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gen_rtx_REG
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_gen_memory_barrier
	movl	%eax, %edi
	callq	_emit_insn
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_emit_label
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_gen_rtx_LABEL_REF
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	cmoveq	%r15, %r12
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_emit_load_locked
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	_NOT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_gen_rtx_NOT
	movl	%r13d, %edi
	movl	%eax, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_gen_rtx_AND
	jmp	LBB0_5
LBB0_2:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	_AND@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$2, %edi
	movq	%r12, %rsi
	movq	%rcx, %rdx
	callq	_gen_rtvec
	movq	_UNSPEC_AND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_UNSPEC
	jmp	LBB0_5
LBB0_4:
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_gen_rtx_fmt_ee
LBB0_5:
	movq	%rax, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_copy_rtx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
LBB0_7:
	movq	_VOIDmode@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
	movl	%r13d, %edi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_emit_store_conditional
	movl	(%r12), %edi
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_gen_rtx_NE
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_emit_unlikely_jump
	xorl	%eax, %eax
	callq	_gen_isync
	movl	%eax, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_insn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCmode,4,2                     ## @CCmode
	.comm	_CR0_REGNO,4,2                  ## @CR0_REGNO
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_NULL_RTX,8,3                   ## @NULL_RTX
	.comm	_NOT,4,2                        ## @NOT
	.comm	_AND,4,2                        ## @AND
	.comm	_UNSPEC_AND,4,2                 ## @UNSPEC_AND
	.comm	_const0_rtx,4,2                 ## @const0_rtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_split_atomic_op         ; -- Begin function rs6000_split_atomic_op
	.p2align	2
_rs6000_split_atomic_op:                ; @rs6000_split_atomic_op
	.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, x5
	mov	x23, x4
	mov	x27, x3
	mov	x25, x2
	mov	x20, x1
	mov	x26, x0
	mov	x0, x1
	bl	_GET_MODE
	mov	x21, x0
Lloh0:
	adrp	x8, _CCmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCmode@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CR0_REGNO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CR0_REGNO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_gen_rtx_REG
	mov	x22, x0
	bl	_gen_memory_barrier
	bl	_emit_insn
	bl	_gen_label_rtx
	mov	x24, x0
	bl	_emit_label
Lloh6:
	adrp	x28, _VOIDmode@GOTPAGE
Lloh7:
	ldr	x28, [x28, _VOIDmode@GOTPAGEOFF]
	ldr	w0, [x28]
	mov	x1, x24
	bl	_gen_rtx_LABEL_REF
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh8:
	adrp	x24, _NULL_RTX@GOTPAGE
Lloh9:
	ldr	x24, [x24, _NULL_RTX@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x27
	csel	x27, x19, x27, eq
	mov	x0, x21
	mov	x1, x27
	mov	x2, x20
	bl	_emit_load_locked
Lloh10:
	adrp	x8, _NOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NOT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x27
	bl	_gen_rtx_NOT
	mov	x1, x0
	mov	x0, x21
	mov	x2, x25
	bl	_gen_rtx_AND
	b	LBB0_5
LBB0_2:
Lloh13:
	adrp	x8, _AND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AND@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #2
	mov	x1, x27
	mov	x2, x25
	bl	_gen_rtvec
	mov	x1, x0
Lloh16:
	adrp	x8, _UNSPEC_AND@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UNSPEC_AND@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_gen_rtx_UNSPEC
	b	LBB0_5
LBB0_4:
	mov	x0, x26
	mov	x1, x21
	mov	x2, x27
	mov	x3, x25
	bl	_gen_rtx_fmt_ee
LBB0_5:
	mov	x25, x0
	ldr	x8, [x24]
	cmp	x8, x23
	b.eq	LBB0_7
; %bb.6:
	ldr	w26, [x28]
	mov	x0, x25
	bl	_copy_rtx
	mov	x2, x0
	mov	x0, x26
	mov	x1, x23
	bl	_gen_rtx_SET
	bl	_emit_insn
LBB0_7:
	ldr	w0, [x28]
	mov	x1, x19
	mov	x2, x25
	bl	_gen_rtx_SET
	bl	_emit_insn
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_emit_store_conditional
	ldr	w0, [x28]
Lloh19:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh20:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_gen_rtx_NE
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_emit_unlikely_jump
	bl	_gen_isync
	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
	b	_emit_insn
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CCmode,4,2                     ; @CCmode
	.comm	_CR0_REGNO,4,2                  ; @CR0_REGNO
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_NULL_RTX,8,3                   ; @NULL_RTX
	.comm	_NOT,4,2                        ; @NOT
	.comm	_AND,4,2                        ; @AND
	.comm	_UNSPEC_AND,4,2                 ; @UNSPEC_AND
	.comm	_const0_rtx,4,2                 ; @const0_rtx
.subsections_via_symbols
