	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_commutative_operands_with_target
_swap_commutative_operands_with_target: ## @swap_commutative_operands_with_target
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_commutative_operand_precedence
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_commutative_operand_precedence
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	%ecx, %ebx
	jl	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jg	LBB0_7
## %bb.2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:
	movq	%r15, %rdi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_REG_P
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	cmpq	%r15, %r14
	sete	%al
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtx_equal_p                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_swap_commutative_operands_with_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_commutative_operands_with_target
_swap_commutative_operands_with_target: ; @swap_commutative_operands_with_target
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_commutative_operand_precedence
	mov	x22, x0
	mov	x0, x19
	bl	_commutative_operand_precedence
	cmp	w22, w0
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_9
LBB0_2:
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_REG_P
	cbz	x0, LBB0_10
LBB0_6:
	mov	x0, x19
	bl	_REG_P
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_REG_P
	cbz	x0, LBB0_1
LBB0_8:
	cmp	x20, x19
	cset	w0, eq
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtx_equal_p
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_swap_commutative_operands_with_target
.subsections_via_symbols
