	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplify_binary_operation      ## -- Begin function simplify_binary_operation
	.p2align	4, 0x90
_simplify_binary_operation:             ## @simplify_binary_operation
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r12d
	callq	_GET_RTX_CLASS
	movq	_RTX_COMPARE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_gcc_assert
	movl	%r12d, %edi
	callq	_GET_RTX_CLASS
	movq	_RTX_COMM_COMPARE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_gcc_assert
	movl	%r12d, %edi
	callq	_GET_RTX_CLASS
	movq	_RTX_COMM_ARITH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_swap_commutative_operands_p
	testq	%rax, %rax
	movq	%rbx, %rax
	cmoveq	%r13, %rax
	cmovneq	%r13, %rbx
	movq	%rbx, %rdi
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	movq	%r13, %rbx
LBB0_3:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_avoid_constant_pool_reference
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_avoid_constant_pool_reference
	movq	%rax, %r15
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_simplify_const_binary_operation
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	%r15, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_simplify_binary_operation_1    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTX_COMPARE,8,3                ## @RTX_COMPARE
	.comm	_RTX_COMM_COMPARE,8,3           ## @RTX_COMM_COMPARE
	.comm	_RTX_COMM_ARITH,8,3             ## @RTX_COMM_ARITH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplify_binary_operation      ; -- Begin function simplify_binary_operation
	.p2align	2
_simplify_binary_operation:             ; @simplify_binary_operation
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_GET_RTX_CLASS
Lloh0:
	adrp	x8, _RTX_COMPARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTX_COMPARE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_gcc_assert
	mov	x0, x22
	bl	_GET_RTX_CLASS
Lloh3:
	adrp	x8, _RTX_COMM_COMPARE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTX_COMM_COMPARE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_gcc_assert
	mov	x0, x22
	bl	_GET_RTX_CLASS
Lloh6:
	adrp	x8, _RTX_COMM_ARITH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTX_COMM_ARITH@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_swap_commutative_operands_p
	cmp	x0, #0
	csel	x8, x19, x20, eq
	csel	x20, x20, x19, eq
	mov	x19, x8
LBB0_2:
	mov	x0, x20
	bl	_avoid_constant_pool_reference
	mov	x23, x0
	mov	x0, x19
	bl	_avoid_constant_pool_reference
	mov	x24, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	bl	_simplify_const_binary_operation
	cbz	x0, LBB0_4
; %bb.3:
	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
LBB0_4:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x23
	mov	x5, x24
	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
	b	_simplify_binary_operation_1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTX_COMPARE,8,3                ; @RTX_COMPARE
	.comm	_RTX_COMM_COMPARE,8,3           ; @RTX_COMM_COMPARE
	.comm	_RTX_COMM_ARITH,8,3             ; @RTX_COMM_ARITH
.subsections_via_symbols
