	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_split_lock_test_and_set ## -- Begin function rs6000_split_lock_test_and_set
	.p2align	4, 0x90
_rs6000_split_lock_test_and_set:        ## @rs6000_split_lock_test_and_set
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	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
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_gen_memory_barrier
	movl	%eax, %edi
	callq	_emit_insn
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_LABEL_REF
	movl	%eax, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_emit_label
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_emit_load_locked
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_emit_move_insn
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_emit_store_conditional
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %esi
	callq	_gen_rtx_NE
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_emit_unlikely_jump
	xorl	%eax, %eax
	callq	_gen_isync
	movl	%eax, %edi
	addq	$24, %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	_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_lock_test_and_set ; -- Begin function rs6000_split_lock_test_and_set
	.p2align	2
_rs6000_split_lock_test_and_set:        ; @rs6000_split_lock_test_and_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_GET_MODE
	mov	x23, 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	x24, x0
	bl	_gen_memory_barrier
	bl	_emit_insn
Lloh6:
	adrp	x26, _VOIDmode@GOTPAGE
Lloh7:
	ldr	x26, [x26, _VOIDmode@GOTPAGEOFF]
	ldr	w25, [x26]
	bl	_gen_label_rtx
	mov	x1, x0
	mov	x0, x25
	bl	_gen_rtx_LABEL_REF
	mov	x25, x0
	mov	w1, #0
	bl	_XEXP
	bl	_emit_label
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_emit_load_locked
	mov	x0, x19
	mov	x1, x21
	bl	_emit_move_insn
	mov	x0, x23
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	bl	_emit_store_conditional
	ldr	w0, [x26]
Lloh8:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_gen_rtx_NE
	mov	x1, x25
	bl	_emit_unlikely_jump
	bl	_gen_isync
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_emit_insn
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CCmode,4,2                     ; @CCmode
	.comm	_CR0_REGNO,4,2                  ; @CR0_REGNO
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_const0_rtx,4,2                 ; @const0_rtx
.subsections_via_symbols
