	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s390_emit_compare_and_swap
_s390_emit_compare_and_swap:            ## @s390_emit_compare_and_swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	callq	_gen_sync_compare_and_swap_ccsi
	movl	%eax, %edi
	callq	_emit_insn
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s390_compare_emitted@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_gen_rtx_fmt_ee
	movq	_NULL_RTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_s390_compare_emitted,4,2       ## @s390_compare_emitted
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.no_dead_strip	_s390_emit_compare_and_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s390_emit_compare_and_swap
_s390_emit_compare_and_swap:            ; @s390_emit_compare_and_swap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	bl	_gen_sync_compare_and_swap_ccsi
	bl	_emit_insn
Lloh0:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _s390_compare_emitted@GOTPAGE
Lloh4:
	ldr	x20, [x20, _s390_compare_emitted@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh5:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_gen_rtx_fmt_ee
Lloh8:
	adrp	x8, _NULL_RTX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NULL_RTX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_s390_compare_emitted,4,2       ; @s390_compare_emitted
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.no_dead_strip	_s390_emit_compare_and_swap
.subsections_via_symbols
