	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pretty_print_commit            ## -- Begin function pretty_print_commit
	.p2align	4, 0x90
_pretty_print_commit:                   ## @pretty_print_commit
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	_CMIT_FMT_USERFORMAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.28:
	movq	_user_format@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_format_commit_message          ## TAILCALL
LBB0_1:
	movl	(%r14), %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_log_output_encoding
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	callq	_logmsg_reencode
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movq	8(%r14), %rdi
	movq	_CMIT_FMT_ONELINE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_4
## %bb.2:
	callq	_cmit_fmt_is_mail
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	$4, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_4:
	movq	8(%r14), %rdi
	callq	_cmit_fmt_is_mail
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.6:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_13
## %bb.7:
	movq	%rbx, %r13
	incq	%r13
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movsbl	%al, %edi
	callq	_non_ascii
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	cmpb	$10, %al
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	cmpb	$10, (%r13)
	sete	%r12b
	jmp	LBB0_12
LBB0_13:
	xorl	%r12d, %r12d
LBB0_14:
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_pp_header
	movq	8(%r14), %rax
	movq	_CMIT_FMT_ONELINE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_17
## %bb.15:
	cmpl	$0, 16(%r14)
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_skip_blank_lines
	movq	%rax, -48(%rbp)
	movq	8(%r14), %rdi
	cmpq	(%r13), %rdi
	je	LBB0_19
## %bb.18:
	callq	_cmit_fmt_is_mail
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_pp_title_line
LBB0_20:
	movq	(%r15), %r12
	movq	8(%r14), %rax
	cmpq	(%r13), %rax
	je	LBB0_22
## %bb.21:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_pp_remainder
LBB0_22:
	movq	%r15, %rdi
	callq	_strbuf_rtrim
	movq	8(%r14), %rdi
	cmpq	(%r13), %rdi
	movq	%rbx, %r13
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	8(%r14), %rdi
LBB0_24:
	callq	_cmit_fmt_is_mail
	testq	%rax, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_27
## %bb.25:
	cmpq	%r12, (%r15)
	ja	LBB0_27
## %bb.26:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_27:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_unuse_commit_buffer
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMIT_FMT_USERFORMAT,8,3        ## @CMIT_FMT_USERFORMAT
	.comm	_user_format,4,2                ## @user_format
	.comm	_CMIT_FMT_ONELINE,8,3           ## @CMIT_FMT_ONELINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pretty_print_commit            ; -- Begin function pretty_print_commit
	.p2align	2
_pretty_print_commit:                   ; @pretty_print_commit
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _CMIT_FMT_USERFORMAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMIT_FMT_USERFORMAT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _user_format@GOTPAGE
Lloh4:
	ldr	x8, [x8, _user_format@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	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
	b	_format_commit_message
LBB0_2:
	ldr	w25, [x22]
	bl	_get_log_output_encoding
	mov	x23, x0
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	bl	_logmsg_reencode
	mov	x21, x0
	str	x0, [sp, #8]
	ldr	x0, [x22, #8]
Lloh6:
	adrp	x26, _CMIT_FMT_ONELINE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _CMIT_FMT_ONELINE@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	bl	_cmit_fmt_is_mail
	cbz	x0, LBB0_5
LBB0_4:
	mov	w24, #0
	b	LBB0_6
LBB0_5:
	mov	w24, #4
LBB0_6:
	ldr	x0, [x22, #8]
	bl	_cmit_fmt_is_mail
	cbz	x0, LBB0_17
; %bb.7:
	cbnz	w25, LBB0_17
; %bb.8:
	ldrb	w8, [x21]
	cbz	w8, LBB0_16
; %bb.9:
	mov	w25, #0
	add	x27, x21, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	sxtb	w0, w8
	bl	_non_ascii
	mov	w25, #1
	cbnz	x0, LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x27], #1
	cbz	w8, LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w25, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	and	w8, w8, #0xff
	cmp	w8, #10
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x27]
	cmp	w8, #10
	cset	w25, eq
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w25, #0
	b	LBB0_11
LBB0_16:
	mov	w25, #0
LBB0_17:
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	x4, x20
	bl	_pp_header
	ldr	x8, [x22, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.18:
	ldr	w8, [x22, #16]
	cbnz	w8, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
LBB0_20:
	ldr	x0, [sp, #8]
	bl	_skip_blank_lines
	str	x0, [sp, #8]
	ldr	x0, [x22, #8]
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_22
; %bb.21:
	bl	_cmit_fmt_is_mail
	cbz	x0, LBB0_23
LBB0_22:
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, x20
	mov	x3, x23
	mov	x4, x25
	bl	_pp_title_line
LBB0_23:
	ldr	x23, [x20]
	ldr	x8, [x22, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_25
; %bb.24:
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, x20
	mov	x3, x24
	bl	_pp_remainder
LBB0_25:
	mov	x0, x20
	bl	_strbuf_rtrim
	ldr	x0, [x22, #8]
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.26:
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
	ldr	x0, [x22, #8]
LBB0_27:
	bl	_cmit_fmt_is_mail
	cbz	x0, LBB0_30
; %bb.28:
	ldr	x8, [x20]
	cmp	x8, x23
	b.hi	LBB0_30
; %bb.29:
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
LBB0_30:
	mov	x0, x19
	mov	x1, x21
	bl	_unuse_commit_buffer
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CMIT_FMT_USERFORMAT,8,3        ; @CMIT_FMT_USERFORMAT
	.comm	_user_format,4,2                ; @user_format
	.comm	_CMIT_FMT_ONELINE,8,3           ; @CMIT_FMT_ONELINE
.subsections_via_symbols
