	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_strexd
_do_strexd:                             ## @do_strexd
	.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
	movq	_inst@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	movl	16(%rax), %ebx
	andl	$1, %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	cmpq	$0, 40(%rax)
	je	LBB0_1
## %bb.2:
	movl	16(%rax), %ecx
	incl	%ecx
	xorl	%ebx, %ebx
	cmpl	%ecx, 32(%rax)
	setne	%bl
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	16(%rax), %eax
	movq	_REG_LR@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	(%rcx), %eax
	sete	%bl
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	movl	16(%rax), %edx
	movl	$1, %edi
	cmpl	%edx, %ecx
	je	LBB0_6
## %bb.4:
	incl	%edx
	cmpl	%edx, %ecx
	je	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	cmpl	48(%rax), %ecx
	sete	%dil
LBB0_6:
	movq	_BAD_OVERLAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	shll	$12, %ecx
	orl	(%r14), %ecx
	orl	16(%rax), %ecx
	movl	48(%rax), %eax
	shll	$16, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,16,3                      ## @inst
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"even register required"

L_.str.1:                               ## @.str.1
	.asciz	"can only store two consecutive registers"

	.comm	_REG_LR,4,2                     ## @REG_LR
L_.str.2:                               ## @.str.2
	.asciz	"r14 not allowed here"

	.comm	_BAD_OVERLAP,4,2                ## @BAD_OVERLAP
	.no_dead_strip	_do_strexd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_strexd
_do_strexd:                             ; @do_strexd
	.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
Lloh0:
	adrp	x20, _inst@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inst@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #16]
	and	w19, w8, #0x1
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x8, #32]
	ldr	w8, [x8, #16]
	add	w8, w8, #1
	cmp	w9, w8
	cset	w19, ne
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #16]
Lloh6:
	adrp	x9, _REG_LR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_LR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w19, eq
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	ldr	w10, [x8, #16]
	add	w11, w10, #1
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	ldr	w8, [x8, #48]
	cmp	w9, w8
	cset	w0, eq
LBB0_6:
Lloh11:
	adrp	x8, _BAD_OVERLAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BAD_OVERLAP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	ldr	w10, [x20]
	orr	w9, w10, w9, lsl #12
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	ldr	w8, [x8, #48]
	orr	w8, w9, w8, lsl #16
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,16,3                      ; @inst
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"even register required"

l_.str.1:                               ; @.str.1
	.asciz	"can only store two consecutive registers"

	.comm	_REG_LR,4,2                     ; @REG_LR
l_.str.2:                               ; @.str.2
	.asciz	"r14 not allowed here"

	.comm	_BAD_OVERLAP,4,2                ; @BAD_OVERLAP
	.no_dead_strip	_do_strexd
.subsections_via_symbols
