	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simplify_logical
_simplify_logical:                      ## @simplify_logical
	.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
	movl	%edi, %ebx
	callq	_GET_MODE
	movl	%eax, %r12d
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_XEXP
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_GET_CODE
	cmpl	$128, %eax
	je	LBB0_13
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.2:
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.3:
	movl	%r12d, %edi
	callq	_GET_MODE_BITSIZE
	movq	_HOST_BITS_PER_WIDE_INT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	callq	_INTVAL
	testl	%eax, %eax
	jle	LBB0_7
LBB0_5:
	movl	%r14d, %edi
	callq	_INTVAL
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_simplify_and_const_int
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GET_CODE
	cmpl	$129, %eax
	jne	LBB0_17
## %bb.6:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_XEXP
	movl	%eax, %r14d
LBB0_7:
	movl	%r15d, %edi
	callq	_GET_CODE
	cmpl	$128, %eax
	je	LBB0_9
## %bb.8:
	movl	%r15d, %edi
	callq	_GET_CODE
	movq	_XOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
LBB0_9:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_distribute_and_simplify_rtx
	testl	%eax, %eax
	jne	LBB0_18
LBB0_10:
	movl	%r14d, %edi
	callq	_GET_CODE
	cmpl	$128, %eax
	je	LBB0_12
## %bb.11:
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_XOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
	jmp	LBB0_17
LBB0_13:
	movl	%r15d, %edi
	callq	_GET_CODE
	cmpl	$129, %eax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_distribute_and_simplify_rtx
	testl	%eax, %eax
	jne	LBB0_18
LBB0_15:
	movl	%r14d, %edi
	callq	_GET_CODE
	cmpl	$129, %eax
	jne	LBB0_17
LBB0_12:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_distribute_and_simplify_rtx
	testl	%eax, %eax
	jne	LBB0_18
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
	callq	_gcc_unreachable
LBB0_17:
	movl	%ebx, %eax
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONST_INT,4,2                  ## @CONST_INT
	.comm	_HOST_BITS_PER_WIDE_INT,4,2     ## @HOST_BITS_PER_WIDE_INT
	.comm	_XOR,4,2                        ## @XOR
	.no_dead_strip	_simplify_logical
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simplify_logical
_simplify_logical:                      ; @simplify_logical
	.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, x0
	bl	_GET_MODE
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	bl	_XEXP
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1
	bl	_XEXP
	mov	x20, x0
	mov	x0, x19
	bl	_GET_CODE
	cmp	w0, #128
	b.eq	LBB0_12
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_16
; %bb.2:
	mov	x0, x20
	bl	_GET_CODE
Lloh0:
	adrp	x8, _CONST_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x22
	bl	_GET_MODE_BITSIZE
Lloh3:
	adrp	x8, _HOST_BITS_PER_WIDE_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOST_BITS_PER_WIDE_INT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_INTVAL
	cmp	w0, #1
	b.lt	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_INTVAL
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_simplify_and_const_int
	mov	x19, x0
	bl	_GET_CODE
	cmp	w0, #129
	b.ne	LBB0_17
; %bb.6:
	mov	x0, x19
	mov	w1, #0
	bl	_XEXP
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1
	bl	_XEXP
	mov	x20, x0
LBB0_7:
	mov	x0, x21
	bl	_GET_CODE
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_GET_CODE
Lloh6:
	adrp	x8, _XOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	w1, #0
	bl	_distribute_and_simplify_rtx
	cbnz	w0, LBB0_18
LBB0_10:
	mov	x0, x20
	bl	_GET_CODE
	cmp	w0, #128
	b.eq	LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_GET_CODE
Lloh9:
	adrp	x8, _XOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XOR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_15
	b	LBB0_17
LBB0_12:
	mov	x0, x21
	bl	_GET_CODE
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #0
	bl	_distribute_and_simplify_rtx
	cbnz	w0, LBB0_18
LBB0_14:
	mov	x0, x20
	bl	_GET_CODE
	cmp	w0, #129
	b.ne	LBB0_17
LBB0_15:
	mov	x0, x19
	mov	w1, #1
	bl	_distribute_and_simplify_rtx
	cbnz	w0, LBB0_18
	b	LBB0_17
LBB0_16:
	bl	_gcc_unreachable
LBB0_17:
	mov	x0, x19
LBB0_18:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CONST_INT,4,2                  ; @CONST_INT
	.comm	_HOST_BITS_PER_WIDE_INT,4,2     ; @HOST_BITS_PER_WIDE_INT
	.comm	_XOR,4,2                        ; @XOR
	.no_dead_strip	_simplify_logical
.subsections_via_symbols
