	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_copy_struct
_emit_copy_struct:                      ## @emit_copy_struct
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_push
	leaq	L_.str.1(%rip), %rdi
	callq	_push
	movq	%rbx, %rdi
	callq	_emit_addr
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_emit
	movq	%r14, %rdi
	callq	_emit_addr
	movq	(%r14), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.4(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	addl	$8, %ebx
	movq	(%r14), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	cmpl	%eax, %ebx
	jge	LBB0_6
## %bb.4:
	leaq	L_.str.5(%rip), %r15
	leaq	L_.str.6(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	addl	$4, %ebx
	movq	(%r14), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jl	LBB0_5
LBB0_6:
	cmpl	%eax, %ebx
	jge	LBB0_9
## %bb.7:
	leaq	L_.str.7(%rip), %r15
	leaq	L_.str.8(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_emit
	incl	%ebx
	movq	(%r14), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_8
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_pop
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pop                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rcx"

L_.str.1:                               ## @.str.1
	.asciz	"r11"

L_.str.2:                               ## @.str.2
	.asciz	"mov #rax, #rcx"

L_.str.3:                               ## @.str.3
	.asciz	"movq %d(#rcx), #r11"

L_.str.4:                               ## @.str.4
	.asciz	"movq #r11, %d(#rax)"

L_.str.5:                               ## @.str.5
	.asciz	"movl %d(#rcx), #r11"

L_.str.6:                               ## @.str.6
	.asciz	"movl #r11, %d(#rax)"

L_.str.7:                               ## @.str.7
	.asciz	"movb %d(#rcx), #r11"

L_.str.8:                               ## @.str.8
	.asciz	"movb #r11, %d(#rax)"

	.no_dead_strip	_emit_copy_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_copy_struct
_emit_copy_struct:                      ; @emit_copy_struct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_push
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_push
	mov	x0, x20
	bl	_emit_addr
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_emit
	mov	x0, x19
	bl	_emit_addr
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w22, #0
Lloh6:
	adrp	x20, l_.str.3@PAGE
Lloh7:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp]
	mov	x0, x20
	bl	_emit
	str	x22, [sp]
	mov	x0, x21
	bl	_emit
	add	w22, w22, #8
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w22, w8
	b.lt	LBB0_2
; %bb.3:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	cmp	w22, w8
	b.lt	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	cmp	w22, w8
	b.ge	LBB0_7
LBB0_5:
Lloh10:
	adrp	x20, l_.str.5@PAGE
Lloh11:
	add	x20, x20, l_.str.5@PAGEOFF
Lloh12:
	adrp	x21, l_.str.6@PAGE
Lloh13:
	add	x21, x21, l_.str.6@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp]
	mov	x0, x20
	bl	_emit
	str	x22, [sp]
	mov	x0, x21
	bl	_emit
	add	w22, w22, #4
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w22, w8
	b.lt	LBB0_6
LBB0_7:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	cmp	w22, w8
	b.ge	LBB0_10
; %bb.8:
Lloh14:
	adrp	x20, l_.str.7@PAGE
Lloh15:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh16:
	adrp	x21, l_.str.8@PAGE
Lloh17:
	add	x21, x21, l_.str.8@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp]
	mov	x0, x20
	bl	_emit
	str	x22, [sp]
	mov	x0, x21
	bl	_emit
	add	w22, w22, #1
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w22, w8
	b.lt	LBB0_9
LBB0_10:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pop
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	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
	add	sp, sp, #64
	b	_pop
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rcx"

l_.str.1:                               ; @.str.1
	.asciz	"r11"

l_.str.2:                               ; @.str.2
	.asciz	"mov #rax, #rcx"

l_.str.3:                               ; @.str.3
	.asciz	"movq %d(#rcx), #r11"

l_.str.4:                               ; @.str.4
	.asciz	"movq #r11, %d(#rax)"

l_.str.5:                               ; @.str.5
	.asciz	"movl %d(#rcx), #r11"

l_.str.6:                               ; @.str.6
	.asciz	"movl #r11, %d(#rax)"

l_.str.7:                               ; @.str.7
	.asciz	"movb %d(#rcx), #r11"

l_.str.8:                               ; @.str.8
	.asciz	"movb #r11, %d(#rax)"

	.no_dead_strip	_emit_copy_struct
.subsections_via_symbols
