	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function putfile
_putfile:                               ## @putfile
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_elem@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_flags@GOTPCREL(%rip), %rax
	movq	_TRANSPOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_orows@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	testl	%edx, (%rax)
	je	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.2:
	xorl	%r15d, %r15d
	movq	_nelem@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putchar
	incl	%r15d
	movl	(%r13), %ecx
	cmpl	%ecx, %r15d
	jge	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	(%r12), %r15d
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rbx
	movq	(%r14,%rbx,8), %rdi
	movl	%ebx, %eax
	subl	%r15d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	callq	_prints
	movl	(%r13), %ecx
	addl	%ecx, %ebx
	cmpl	(%r12), %ebx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.8:
	xorl	%r15d, %r15d
	movq	_nelem@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%ebx, %eax
	movq	%rax, %r15
	movq	_orows@GOTPCREL(%rip), %r13
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$10, %edi
	callq	_putchar
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_16
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	_ocols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %r13
	leaq	(%r14,%r13,8), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%rbx
	cmpl	%eax, %ebx
	jge	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rbx,%r13), %rcx
	movslq	(%r12), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r15,%rbx,8), %rdi
	movl	%ebx, %esi
	callq	_prints
	movq	_ocols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elem,8,3                       ## @elem
	.comm	_flags,4,2                      ## @flags
	.comm	_TRANSPOSE,4,2                  ## @TRANSPOSE
	.comm	_orows,4,2                      ## @orows
	.comm	_nelem,4,2                      ## @nelem
	.comm	_ocols,4,2                      ## @ocols
	.no_dead_strip	_putfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function putfile
_putfile:                               ; @putfile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _elem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _elem@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _flags@GOTPAGE
Lloh4:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh5:
	adrp	x9, _TRANSPOSE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TRANSPOSE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x21, _orows@GOTPAGE
Lloh10:
	ldr	x21, [x21, _orows@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w9, w10
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.2:
	mov	w19, #0
Lloh11:
	adrp	x22, _nelem@GOTPAGE
Lloh12:
	ldr	x22, [x22, _nelem@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_putchar
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w9, [x22]
	cmp	w19, w9
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x19
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20, w23, sxtw #3]
	sub	w9, w23, w19
	sdiv	w1, w9, w8
	bl	_prints
	ldr	w8, [x21]
	ldr	w9, [x22]
	add	w23, w8, w23
	cmp	w23, w9
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.8:
	mov	w22, #0
	mov	w23, #0
Lloh13:
	adrp	x24, _ocols@GOTPAGE
Lloh14:
	ldr	x24, [x24, _ocols@GOTPAGEOFF]
Lloh15:
	adrp	x25, _nelem@GOTPAGE
Lloh16:
	ldr	x25, [x25, _nelem@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	w22, w22, w19
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #10
	bl	_putchar
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_16
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x19, #0
	sxtw	x26, w22
	add	x27, x20, w22, sxtw #3
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x19, x19, #1
	cmp	w19, w8
	b.ge	LBB0_9
LBB0_14:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x9, [x25]
	add	x10, x26, x19
	cmp	x10, x9
	b.ge	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x0, [x27, x19, lsl #3]
	mov	x1, x19
	bl	_prints
	ldr	w8, [x24]
	b	LBB0_13
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_elem,8,3                       ; @elem
	.comm	_flags,4,2                      ; @flags
	.comm	_TRANSPOSE,4,2                  ; @TRANSPOSE
	.comm	_orows,4,2                      ; @orows
	.comm	_nelem,4,2                      ; @nelem
	.comm	_ocols,4,2                      ; @ocols
	.no_dead_strip	_putfile
.subsections_via_symbols
