	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_porcelain
_emit_porcelain:                        ## @emit_porcelain
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_OUTPUT_LINE_PORCELAIN@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	16(%rsi), %r12
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_oid_to_hex_r
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	incl	%edx
	incl	%ecx
	movl	8(%r15), %r8d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_emit_porcelain_details
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_blame_nth_line
	movq	%rax, %rbx
	cmpl	$0, 8(%r15)
	jle	LBB0_10
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	leaq	1(%r12), %rbx
	cmpl	8(%r15), %r13d
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %ecx
	movl	(%r15), %edx
	addl	%ecx, %edx
	addl	4(%r15), %ecx
	leaq	L_.str.1(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_emit_porcelain_details
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$9, %edi
	callq	_putchar
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %r12
	movsbl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_putchar
	cmpl	$10, %ebx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%r12), %rbx
	movslq	8(%r14), %rax
	addq	(%r14), %rax
	cmpq	%rax, %rbx
	jb	LBB0_6
	jmp	LBB0_8
LBB0_9:
	incq	%r12
	movq	%r12, %rbx
LBB0_10:
	cmpl	$0, 8(%r14)
	je	LBB0_13
## %bb.11:
	cmpb	$10, -1(%rbx)
	je	LBB0_13
## %bb.12:
	movl	$10, %edi
	callq	_putchar
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OUTPUT_LINE_PORCELAIN,4,2      ## @OUTPUT_LINE_PORCELAIN
	.comm	_GIT_MAX_HEXSZ,4,2              ## @GIT_MAX_HEXSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %d %d %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s %d %d\n"

	.no_dead_strip	_emit_porcelain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_porcelain
_emit_porcelain:                        ; @emit_porcelain
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _OUTPUT_LINE_PORCELAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUTPUT_LINE_PORCELAIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w21, w8, w2
	ldr	x22, [x1, #16]
Lloh6:
	adrp	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	x1, [x22]
	mov	x0, x23
	bl	_oid_to_hex_r
	ldp	w8, w9, [x20]
	add	w2, w8, #1
	add	w3, w9, #1
	ldr	w8, [x20, #8]
	str	x8, [sp, #-16]!
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_printf
	add	sp, sp, #16
	mov	x0, x22
	mov	x1, x21
	bl	_emit_porcelain_details
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_blame_nth_line
	mov	x24, x0
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w27, #0
Lloh13:
	adrp	x25, l_.str.1@PAGE
Lloh14:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w27, w27, #1
	ldr	w8, [x20, #8]
	add	x24, x28, #1
	cmp	w27, w8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	w27, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w27, #1
	ldp	w9, w10, [x20]
	add	w2, w8, w9
	add	w3, w8, w10
	mov	x0, x25
	mov	x1, x23
	bl	_printf
	cbz	w21, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_emit_porcelain_details
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #9
	bl	_putchar
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x28, x24
	ldrsb	w26, [x24], #1
	mov	x0, x26
	bl	_putchar
	cmp	w26, #10
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9
	cmp	x24, x8
	b.lo	LBB0_7
	b	LBB0_2
LBB0_9:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_12
; %bb.10:
	ldurb	w8, [x24, #-1]
	cmp	w8, #10
	b.eq	LBB0_12
; %bb.11:
	mov	w0, #10
	bl	_putchar
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	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
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OUTPUT_LINE_PORCELAIN,4,2      ; @OUTPUT_LINE_PORCELAIN
	.comm	_GIT_MAX_HEXSZ,4,2              ; @GIT_MAX_HEXSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %d %d %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s %d %d\n"

	.no_dead_strip	_emit_porcelain
.subsections_via_symbols
