	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gimplify_omp_atomic_fetch_op
_gimplify_omp_atomic_fetch_op:          ## @gimplify_omp_atomic_fetch_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_TREE_CODE
	addl	$-128, %eax
	movq	_GS_UNHANDLED@GOTPCREL(%rip), %r14
	cmpl	$4, %eax
	ja	LBB0_6
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cltq
	leaq	l_switch.table.gimplify_omp_atomic_fetch_op(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.gimplify_omp_atomic_fetch_op.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	(%rax), %r12
	movl	(%rcx), %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_goa_lhs_expr_p
	movl	$1, %esi
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	%r13, %rdi
	callq	_TREE_OPERAND
	movq	%rax, %r13
	movq	_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	incl	%ecx
	movq	(%rax,%rcx,8), %r15
	movq	%r15, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_MODE
	movl	(%r12,%rax,4), %eax
	movq	_CODE_FOR_nothing@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_fold_convert
	xorl	%edi, %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_tree_cons
	xorl	%edi, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_build_function_call_expr
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_GS_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_2:
	movq	%r13, %rdi
	callq	_TREE_CODE
	movl	%eax, %edi
	callq	_commutative_tree_code
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_goa_lhs_expr_p
	xorl	%esi, %esi
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUILT_IN_FETCH_AND_ADD_N,4,2   ## @BUILT_IN_FETCH_AND_ADD_N
	.comm	_sync_add_optab,8,3             ## @sync_add_optab
	.comm	_BUILT_IN_FETCH_AND_SUB_N,4,2   ## @BUILT_IN_FETCH_AND_SUB_N
	.comm	_BUILT_IN_FETCH_AND_AND_N,4,2   ## @BUILT_IN_FETCH_AND_AND_N
	.comm	_sync_and_optab,8,3             ## @sync_and_optab
	.comm	_BUILT_IN_FETCH_AND_OR_N,4,2    ## @BUILT_IN_FETCH_AND_OR_N
	.comm	_sync_ior_optab,8,3             ## @sync_ior_optab
	.comm	_BUILT_IN_FETCH_AND_XOR_N,4,2   ## @BUILT_IN_FETCH_AND_XOR_N
	.comm	_sync_xor_optab,8,3             ## @sync_xor_optab
	.comm	_GS_UNHANDLED,4,2               ## @GS_UNHANDLED
	.comm	_built_in_decls,8,3             ## @built_in_decls
	.comm	_CODE_FOR_nothing,4,2           ## @CODE_FOR_nothing
	.comm	_GS_OK,4,2                      ## @GS_OK
	.no_dead_strip	_gimplify_omp_atomic_fetch_op
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.gimplify_omp_atomic_fetch_op
l_switch.table.gimplify_omp_atomic_fetch_op:
	.quad	_BUILT_IN_FETCH_AND_ADD_N
	.quad	_BUILT_IN_FETCH_AND_SUB_N
	.quad	_BUILT_IN_FETCH_AND_XOR_N
	.quad	_BUILT_IN_FETCH_AND_OR_N
	.quad	_BUILT_IN_FETCH_AND_AND_N

	.p2align	3                               ## @switch.table.gimplify_omp_atomic_fetch_op.1
l_switch.table.gimplify_omp_atomic_fetch_op.1:
	.quad	_sync_add_optab
	.quad	_sync_add_optab
	.quad	_sync_xor_optab
	.quad	_sync_ior_optab
	.quad	_sync_and_optab

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gimplify_omp_atomic_fetch_op
_gimplify_omp_atomic_fetch_op:          ; @gimplify_omp_atomic_fetch_op
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_TREE_CODE
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.gimplify_omp_atomic_fetch_op@PAGE
Lloh1:
	add	x9, x9, l_switch.table.gimplify_omp_atomic_fetch_op@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.gimplify_omp_atomic_fetch_op.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.gimplify_omp_atomic_fetch_op.1@PAGEOFF
	ldr	x8, [x10, x8]
	ldr	x24, [x8]
	ldr	w23, [x9]
	mov	x0, x22
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x20
	bl	_goa_lhs_expr_p
	cbz	x0, LBB0_5
; %bb.2:
	mov	w1, #1
LBB0_3:
	mov	x0, x22
	bl	_TREE_OPERAND
	mov	x22, x0
Lloh4:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh5:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	w9, w21, w23
	add	w9, w9, #1
	ldr	x21, [x8, w9, uxtw #3]
	mov	x0, x21
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x23, x0
	bl	_TYPE_MODE
	ldr	w8, [x24, x0, lsl #2]
Lloh7:
	adrp	x9, _CODE_FOR_nothing@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CODE_FOR_nothing@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.4:
	mov	x0, x23
	mov	x1, x22
	bl	_fold_convert
	mov	x1, x0
	mov	x0, #0
	mov	x2, #0
	bl	_tree_cons
	mov	x2, x0
	mov	x0, #0
	mov	x1, x20
	bl	_tree_cons
	mov	x1, x0
	mov	x0, x21
	bl	_build_function_call_expr
	str	x0, [x19]
Lloh10:
	adrp	x8, _GS_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GS_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x0, x22
	bl	_TREE_CODE
	bl	_commutative_tree_code
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x22
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x1, x20
	bl	_goa_lhs_expr_p
	cbz	x0, LBB0_8
; %bb.7:
	mov	w1, #0
	b	LBB0_3
LBB0_8:
Lloh12:
	adrp	x8, _GS_UNHANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GS_UNHANDLED@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BUILT_IN_FETCH_AND_ADD_N,4,2   ; @BUILT_IN_FETCH_AND_ADD_N
	.comm	_sync_add_optab,8,3             ; @sync_add_optab
	.comm	_BUILT_IN_FETCH_AND_SUB_N,4,2   ; @BUILT_IN_FETCH_AND_SUB_N
	.comm	_BUILT_IN_FETCH_AND_AND_N,4,2   ; @BUILT_IN_FETCH_AND_AND_N
	.comm	_sync_and_optab,8,3             ; @sync_and_optab
	.comm	_BUILT_IN_FETCH_AND_OR_N,4,2    ; @BUILT_IN_FETCH_AND_OR_N
	.comm	_sync_ior_optab,8,3             ; @sync_ior_optab
	.comm	_BUILT_IN_FETCH_AND_XOR_N,4,2   ; @BUILT_IN_FETCH_AND_XOR_N
	.comm	_sync_xor_optab,8,3             ; @sync_xor_optab
	.comm	_GS_UNHANDLED,4,2               ; @GS_UNHANDLED
	.comm	_built_in_decls,8,3             ; @built_in_decls
	.comm	_CODE_FOR_nothing,4,2           ; @CODE_FOR_nothing
	.comm	_GS_OK,4,2                      ; @GS_OK
	.no_dead_strip	_gimplify_omp_atomic_fetch_op
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.gimplify_omp_atomic_fetch_op
l_switch.table.gimplify_omp_atomic_fetch_op:
	.quad	_BUILT_IN_FETCH_AND_ADD_N
	.quad	_BUILT_IN_FETCH_AND_SUB_N
	.quad	_BUILT_IN_FETCH_AND_XOR_N
	.quad	_BUILT_IN_FETCH_AND_OR_N
	.quad	_BUILT_IN_FETCH_AND_AND_N

	.p2align	3                               ; @switch.table.gimplify_omp_atomic_fetch_op.1
l_switch.table.gimplify_omp_atomic_fetch_op.1:
	.quad	_sync_add_optab
	.quad	_sync_add_optab
	.quad	_sync_xor_optab
	.quad	_sync_ior_optab
	.quad	_sync_and_optab

.subsections_via_symbols
