	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commit_match
_commit_match:                          ## @commit_match
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	8(%rsi), %r15
	cmpl	$0, 24(%rsi)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%r15)
	je	LBB0_2
LBB0_3:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_strbuf_addstr
	movl	44(%r14), %esi
	movq	%r12, %rdi
	callq	_get_reflog_message
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_5:
	xorl	%eax, %eax
	callq	_get_log_output_encoding
	movq	%rax, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_logmsg_reencode
	movq	%rax, %r12
	cmpq	$0, -56(%rbp)
	je	LBB0_7
## %bb.6:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_strbuf_addstr
LBB0_7:
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.8:
	movl	40(%r14), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.9:
	cmpq	$0, -56(%rbp)
	jne	LBB0_11
## %bb.10:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_strbuf_addstr
	movl	40(%r14), %edx
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_commit_rewrite_person
	movl	40(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_commit_rewrite_person
LBB0_12:
	cmpq	$0, 32(%r14)
	je	LBB0_16
## %bb.13:
	cmpq	$0, -56(%rbp)
	jne	LBB0_15
## %bb.14:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_strbuf_addstr
LBB0_15:
	leaq	-64(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_format_display_notes
LBB0_16:
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.17:
	movq	-64(%rbp), %rsi
	movq	%r15, %rdi
	jmp	LBB0_19
LBB0_18:
	movq	%r12, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
LBB0_19:
	callq	_grep_buffer
	movl	%eax, %ebx
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_unuse_commit_buffer
	xorl	%eax, %eax
	testl	%ebx, %ebx
	sete	%al
	cmpq	$0, (%r14)
	cmovel	%ebx, %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reflog "

L_.str.1:                               ## @.str.1
	.asciz	"\nauthor "

L_.str.2:                               ## @.str.2
	.asciz	"\ncommitter "

	.no_dead_strip	_commit_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commit_match
_commit_match:                          ; @commit_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	add	x21, x1, #8
	ldr	w8, [x1, #24]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_20
LBB0_2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	w1, [x19, #44]
	mov	x0, sp
	bl	_get_reflog_message
	mov	x0, sp
	mov	w1, #10
	bl	_strbuf_addch
LBB0_4:
	bl	_get_log_output_encoding
	mov	x23, x0
	mov	x0, x20
	mov	x1, #0
	mov	x2, x23
	bl	_logmsg_reencode
	mov	x22, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, sp
	mov	x1, x22
	bl	_strbuf_addstr
LBB0_6:
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.7:
	ldr	w2, [x19, #40]
	cbz	w2, LBB0_11
; %bb.8:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_10
; %bb.9:
	mov	x0, sp
	mov	x1, x22
	bl	_strbuf_addstr
	ldr	w2, [x19, #40]
LBB0_10:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	bl	_commit_rewrite_person
	ldr	w2, [x19, #40]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, sp
	bl	_commit_rewrite_person
LBB0_11:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
; %bb.12:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_14
; %bb.13:
	mov	x0, sp
	mov	x1, x22
	bl	_strbuf_addstr
LBB0_14:
	mov	x1, sp
	mov	x0, x20
	mov	x2, x23
	mov	w3, #1
	bl	_format_display_notes
LBB0_15:
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_17
; %bb.16:
	ldr	x1, [sp]
	mov	x0, x21
	b	LBB0_18
LBB0_17:
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
LBB0_18:
	bl	_grep_buffer
	mov	x21, x0
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x20
	mov	x1, x22
	bl	_unuse_commit_buffer
	ldr	x8, [x19]
	cmp	w21, #0
	cset	w9, eq
	cmp	x8, #0
	csel	w0, w21, w9, eq
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_20:
	mov	w0, #1
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reflog "

l_.str.1:                               ; @.str.1
	.asciz	"\nauthor "

l_.str.2:                               ; @.str.2
	.asciz	"\ncommitter "

	.no_dead_strip	_commit_match
.subsections_via_symbols
