	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_assign_struct_ref
_emit_assign_struct_ref:                ## @emit_assign_struct_ref
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rbx
	addl	(%rax), %r15d
	jmp	LBB0_1
LBB0_2:
	cmpl	$131, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_ensure_lvar_init
	movl	(%r14), %eax
	addl	32(%rbx), %eax
	addl	%eax, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_lsave                     ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_push
	movl	4(%rbx), %edi
	callq	_emit_expr
	addl	(%r14), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_emit_assign_deref           ## TAILCALL
LBB0_6:
	movl	24(%rbx), %edi
	addl	(%r14), %r15d
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_gsave                     ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	callq	_node2s
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rax"

L_.str.1:                               ## @.str.1
	.asciz	"internal error: %s"

	.no_dead_strip	_emit_assign_struct_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_assign_struct_ref
_emit_assign_struct_ref:                ; @emit_assign_struct_ref
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	x8, x21, [x21, #8]
	ldr	w8, [x8]
	add	w20, w8, w20
	b	LBB0_1
LBB0_3:
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x21
	bl	_ensure_lvar_init
	ldr	w8, [x21, #32]
	ldr	w9, [x19]
	add	w8, w9, w8
	add	w1, w20, w8
	mov	x0, x19
	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	_emit_lsave
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_push
	ldr	w0, [x21, #4]
	bl	_emit_expr
	ldr	w8, [x19]
	add	w1, w20, w8
	mov	x0, x19
	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	_do_emit_assign_deref
LBB0_8:
	ldr	w0, [x21, #24]
	ldr	w8, [x19]
	add	w2, w20, w8
	mov	x1, x19
	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	_emit_gsave
LBB0_9:
	mov	x0, x21
	bl	_node2s
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	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	_error
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rax"

l_.str.1:                               ; @.str.1
	.asciz	"internal error: %s"

	.no_dead_strip	_emit_assign_struct_ref
.subsections_via_symbols
