	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printline
_printline:                             ## @printline
	.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
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rdx
	movq	_oflag@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_matchall@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_27
LBB0_2:
	movq	_color@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	%rax, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.3:
	movq	(%rdx), %r14
	testq	%r14, %r14
	je	LBB0_24
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 8(%rdx)
	jne	LBB0_7
## %bb.6:
	leaq	16(%rdx), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_printline_metadata
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_7:
	leaq	16(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	movq	_stdout@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	_stdout@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %r15
	decq	%r14
	je	LBB0_20
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rdx), %rax
	movq	-8(%rax,%r15), %r12
	movq	(%rax,%r15), %rbx
	movq	%rbx, %r13
	subq	%r12, %r13
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_oflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, (%rdi)
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_printline_metadata
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rsi
	subq	%rdi, %rsi
	addq	24(%rdx), %rdi
	movl	(%rcx), %ecx
	movl	$1, %edx
	callq	_fwrite
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_color@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	movq	_stdout@GOTPCREL(%rip), %rcx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_stdout@GOTPCREL(%rip), %rcx
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rax), %r12
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_fwrite
	movq	_color@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_oflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_18
LBB0_24:
	leaq	16(%rdx), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_grep_printline
	jmp	LBB0_25
LBB0_20:
	movq	_oflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_26
## %bb.21:
	movq	32(%rdx), %rsi
	subq	%rdi, %rsi
	je	LBB0_23
## %bb.22:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rax), %rdi
	movl	(%rcx), %ecx
	movl	$1, %edx
	callq	_fwrite
LBB0_23:
	movl	$10, %edi
	callq	_putchar
LBB0_25:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_26:
	incq	8(%rdx)
LBB0_27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_oflag,8,3                      ## @oflag
	.comm	_matchall,8,3                   ## @matchall
	.comm	_color,8,3                      ## @color
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\033[%sm\033[K"

L_.str.1:                               ## @.str.1
	.asciz	"\033[m\033[K"

	.no_dead_strip	_printline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printline
_printline:                             ; @printline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x25, _oflag@GOTPAGE
Lloh1:
	ldr	x25, [x25, _oflag@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh2:
	adrp	x9, _matchall@GOTPAGE
Lloh3:
	ldr	x9, [x9, _matchall@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_23
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh5:
	adrp	x26, _color@GOTPAGE
Lloh6:
	ldr	x26, [x26, _color@GOTPAGEOFF]
	ldr	x9, [x26]
	orr	x9, x8, x9
	ldr	x27, [x0]
	cmp	x9, #0
	ccmp	x27, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	add	x0, x19, #16
	mov	x1, x20
	bl	_grep_printline
	b	LBB0_22
LBB0_3:
	cbnz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_6
; %bb.5:
	add	x0, x19, #16
	mov	x1, x20
	bl	_printline_metadata
LBB0_6:
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	mov	x22, #0
	mov	x8, #0
	add	x21, x19, #16
Lloh7:
	adrp	x28, _stdout@GOTPAGE
Lloh8:
	ldr	x28, [x28, _stdout@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x23
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #16
	subs	x27, x27, #1
	b.eq	LBB0_18
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #40]
	add	x9, x9, x22
	ldp	x20, x23, [x9]
	subs	x24, x23, x20
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x25]
	cbz	x9, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x20, [x21]
	mov	x0, x21
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_printline_metadata
	ldr	x8, [x26]
	cbz	x8, LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x28]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, x20
	ldr	w3, [x28]
	mov	x1, x24
	mov	w2, #1
	bl	_fwrite
	ldr	x8, [x26]
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x28]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #10
	bl	_putchar
	b	LBB0_7
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19, #24]
	add	x0, x9, x8
	sub	x1, x20, x8
	ldr	w3, [x28]
	mov	w2, #1
	bl	_fwrite
	ldr	x8, [x26]
	cbnz	x8, LBB0_12
	b	LBB0_13
LBB0_18:
	ldr	x9, [x25]
	cbnz	x9, LBB0_22
; %bb.19:
	ldr	x9, [x19, #32]
	subs	x1, x9, x8
	b.eq	LBB0_21
; %bb.20:
	ldr	x9, [x19, #24]
	add	x0, x9, x8
	ldr	w3, [x28]
	mov	w2, #1
	bl	_fwrite
LBB0_21:
	mov	w0, #10
	bl	_putchar
LBB0_22:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_23:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_oflag,8,3                      ; @oflag
	.comm	_matchall,8,3                   ; @matchall
	.comm	_color,8,3                      ; @color
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\033[%sm\033[K"

l_.str.1:                               ; @.str.1
	.asciz	"\033[m\033[K"

	.no_dead_strip	_printline
.subsections_via_symbols
