	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_lowpart_if_possible        ## -- Begin function gen_lowpart_if_possible
	.p2align	4, 0x90
_gen_lowpart_if_possible:               ## @gen_lowpart_if_possible
	.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	%rsi, %r13
	movl	%edi, %r14d
	callq	_gen_lowpart_common
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	%r13, %rdi
	callq	_MEM_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_WORDS_BIG_ENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%r14d, %r12d
	je	LBB0_3
## %bb.4:
	movq	%r13, %rdi
	callq	_GET_MODE
	movq	%rax, %rdi
	callq	_GET_MODE_SIZE
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_GET_MODE_SIZE
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_MAX
	subl	%eax, %r15d
	jmp	LBB0_5
LBB0_8:
	movl	%r14d, %ebx
	movq	%r13, %rdi
	callq	_GET_MODE
	cmpq	%rbx, %rax
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_GET_MODE
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_3:
	xorl	%r15d, %r15d
LBB0_5:
	movq	_BYTES_BIG_ENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_GET_MODE_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MIN
	movq	%rax, %r12
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_GET_MODE
	movq	%rax, %rdi
	callq	_GET_MODE_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MIN
	subl	%r12d, %eax
	addl	%eax, %r15d
LBB0_7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_adjust_address_nv
	movq	%rax, %r15
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_memory_address_p
	testl	%eax, %eax
	cmovneq	%r15, %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%r14d, %edi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gen_lowpart_SUBREG             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WORDS_BIG_ENDIAN,8,3           ## @WORDS_BIG_ENDIAN
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_BYTES_BIG_ENDIAN,8,3           ## @BYTES_BIG_ENDIAN
	.comm	_VOIDmode,8,3                   ## @VOIDmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_lowpart_if_possible        ; -- Begin function gen_lowpart_if_possible
	.p2align	2
_gen_lowpart_if_possible:               ; @gen_lowpart_if_possible
	.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	x20, x1
	mov	x19, x0
	bl	_gen_lowpart_common
	cbnz	x0, LBB0_11
; %bb.1:
	mov	x0, x20
	bl	_MEM_P
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _WORDS_BIG_ENDIAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WORDS_BIG_ENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _UNITS_PER_WORD@GOTPAGE
Lloh4:
	ldr	x23, [x23, _UNITS_PER_WORD@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	ldr	w1, [x23]
	bl	_MAX
	mov	x21, x0
	mov	w0, w19
	bl	_GET_MODE_SIZE
	ldr	w1, [x23]
	bl	_MAX
	sub	w21, w21, w0
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_GET_MODE
	cmp	x0, w19, uxtw
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_GET_MODE
Lloh5:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
LBB0_6:
	mov	x0, #0
	b	LBB0_11
LBB0_7:
	mov	w21, #0
LBB0_8:
Lloh8:
	adrp	x8, _BYTES_BIG_ENDIAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BYTES_BIG_ENDIAN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w22, [x23]
	mov	w0, w19
	bl	_GET_MODE_SIZE
	mov	x1, x0
	mov	x0, x22
	bl	_MIN
	mov	x22, x0
	ldr	w23, [x23]
	mov	x0, x20
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	mov	x1, x0
	mov	x0, x23
	bl	_MIN
	sub	w8, w0, w22
	add	w21, w21, w8
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_adjust_address_nv
	mov	x20, x0
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x19
	bl	_memory_address_p
	cmp	w0, #0
	csel	x0, xzr, x20, eq
LBB0_11:
	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_12:
	mov	x0, x19
	mov	x1, x20
	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	_gen_lowpart_SUBREG
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WORDS_BIG_ENDIAN,8,3           ; @WORDS_BIG_ENDIAN
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_BYTES_BIG_ENDIAN,8,3           ; @BYTES_BIG_ENDIAN
	.comm	_VOIDmode,8,3                   ; @VOIDmode
.subsections_via_symbols
