	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_commit_msg
_handle_commit_msg:                     ## @handle_commit_msg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpl	$0, 56(%r12)
	sete	%dil
	callq	_assert
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.1:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.3:
	movq	8(%r15), %rax
	cmpb	$10, (%rax)
	jne	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
	cmpq	$0, 48(%r12)
	je	LBB0_22
## %bb.5:
	movq	%r12, %rdi
	callq	_flush_inbody_header_accum
	movl	$0, (%r12)
	jmp	LBB0_22
LBB0_6:
	cmpq	$0, 40(%r12)
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_check_inbody_header
	movl	%eax, (%r12)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_9
LBB0_8:
	movl	$0, (%r12)
LBB0_9:
	movl	32(%r12), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_convert_to_utf8
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_10
LBB0_22:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	cmpq	$0, 24(%r12)
	je	LBB0_18
## %bb.11:
	movq	8(%r15), %rdi
	callq	_is_scissors_line
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	leaq	4(%r12), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_strbuf_setlen
	movl	$1, (%r12)
	movq	_header@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	$0, (%rax,%rbx)
	movq	(%r15), %rax
	cmpq	$0, 8(%rax,%rbx)
	leaq	8(%rbx), %rbx
	je	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_strbuf_release
	movq	16(%r12), %rax
	jmp	LBB0_16
LBB0_18:
	movq	%r15, %rdi
	callq	_patchbreak
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	8(%r12), %rdx
	movl	$1, %r14d
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.20:
	addq	$4, %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strbuf_addf
	jmp	LBB0_22
LBB0_17:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_21:
	addq	$4, %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strbuf_addbuf
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_header,8,3                     ## @header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Message-Id: %s\n"

	.no_dead_strip	_handle_commit_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_commit_msg
_handle_commit_msg:                     ; @handle_commit_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #56]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	ldrb	w8, [x8]
	cmp	w8, #10
	b.ne	LBB0_6
LBB0_4:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_flush_inbody_header_accum
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_11
LBB0_6:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_check_inbody_header
	str	w0, [x19]
	cbnz	w0, LBB0_10
	b	LBB0_9
LBB0_8:
	str	wzr, [x19]
LBB0_9:
	ldr	w2, [x19, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_convert_to_utf8
	cbz	x0, LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_19
; %bb.13:
	ldr	x0, [x20, #8]
	bl	_is_scissors_line
	cbz	x0, LBB0_19
; %bb.14:
	add	x0, x19, #4
	mov	w1, #0
	bl	_strbuf_setlen
	mov	w8, #1
	str	w8, [x19]
Lloh0:
	adrp	x20, _header@GOTPAGE
Lloh1:
	ldr	x20, [x20, _header@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.15:
	mov	x21, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	str	xzr, [x8, x21]
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	x8, [x8, #8]
	add	x21, x21, #8
	cbz	x8, LBB0_10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x21]
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	bl	_strbuf_release
	ldr	x8, [x19, #16]
	b	LBB0_16
LBB0_19:
	mov	x0, x20
	bl	_patchbreak
	cbz	x0, LBB0_22
; %bb.20:
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_23
; %bb.21:
	add	x0, x19, #4
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strbuf_addf
	mov	w0, #1
	b	LBB0_11
LBB0_22:
	add	x0, x19, #4
	mov	x1, x20
	bl	_strbuf_addbuf
	b	LBB0_10
LBB0_23:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_header,8,3                     ; @header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Message-Id: %s\n"

	.no_dead_strip	_handle_commit_msg
.subsections_via_symbols
