	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alter_subreg                   ## -- Begin function alter_subreg
	.p2align	4, 0x90
_alter_subreg:                          ## @alter_subreg
	.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	%rdi, %r14
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_SUBREG_REG
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_MEM_P
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	callq	_SUBREG_BYTE
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	xorl	%ebx, %ebx
	cmpq	%rax, %r13
	jge	LBB0_8
## %bb.3:
	movq	%r15, %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	subl	%eax, %r13d
	movq	_WORDS_BIG_ENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
	cltd
	idivl	(%rcx)
	movl	%r13d, %ebx
	subl	%edx, %ebx
	jmp	LBB0_6
LBB0_9:
	callq	_GET_MODE
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_GET_MODE
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_SUBREG_BYTE
	movl	%r13d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_simplify_subreg
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%r12, %rdi
	callq	_subreg_regno
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_GET_MODE
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_SUBREG_BYTE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_gen_rtx_REG_offset
	jmp	LBB0_13
LBB0_11:
	movq	(%r14), %rax
	jmp	LBB0_14
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	_BYTES_BIG_ENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
	cltd
	idivl	(%rcx)
	addl	%edx, %ebx
LBB0_8:
	movq	%r12, %rdi
	callq	_GET_MODE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_adjust_address
LBB0_13:
	movq	%rax, (%r14)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alter_subreg                   ; -- Begin function alter_subreg
	.p2align	2
_alter_subreg:                          ; @alter_subreg
	.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, x0
	ldr	x21, [x0]
	mov	x0, x21
	bl	_SUBREG_REG
	mov	x20, x0
	bl	_MEM_P
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_SUBREG_BYTE
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.2:
	mov	x0, x20
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	mov	x22, x0
	mov	x0, x21
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	cmp	x22, x0
	b.ge	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	mov	x22, x0
	mov	x0, x21
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	sub	w8, w22, w0
Lloh0:
	adrp	x9, _WORDS_BIG_ENDIAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WORDS_BIG_ENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _UNITS_PER_WORD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UNITS_PER_WORD@GOTPAGEOFF]
	cbz	x10, LBB0_10
; %bb.4:
	ldr	w10, [x9]
	sdiv	w11, w8, w10
	mul	w22, w11, w10
	b	LBB0_11
LBB0_5:
	mov	x0, x21
	bl	_GET_MODE
	mov	x22, x0
	mov	x0, x20
	bl	_GET_MODE
	mov	x23, x0
	mov	x0, x21
	bl	_SUBREG_BYTE
	mov	x3, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_simplify_subreg
	cbnz	x0, LBB0_14
; %bb.6:
	mov	x0, x20
	bl	_REG_P
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_subreg_regno
	mov	x22, x0
	mov	x0, x21
	bl	_GET_MODE
	mov	x23, x0
	mov	x0, x21
	bl	_SUBREG_BYTE
	mov	x3, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_gen_rtx_REG_offset
	b	LBB0_14
LBB0_8:
	mov	w22, #0
	b	LBB0_13
LBB0_9:
	ldr	x0, [x19]
	b	LBB0_15
LBB0_10:
	mov	w22, #0
LBB0_11:
Lloh5:
	adrp	x10, _BYTES_BIG_ENDIAN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BYTES_BIG_ENDIAN@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cbz	x10, LBB0_13
; %bb.12:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	add	w22, w8, w22
LBB0_13:
	mov	x0, x21
	bl	_GET_MODE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_adjust_address
LBB0_14:
	str	x0, [x19]
LBB0_15:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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
.subsections_via_symbols
