	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_one_patchid
_get_one_patchid:                       ## @get_one_patchid
	.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	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$-1, -44(%rbp)
	movl	$-1, -48(%rbp)
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-52(%rbp), %rdi
	callq	*8(%rax)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_oidclr
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	_EOF@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_32:
	movq	%r12, %rdi
	callq	_oidclr
LBB0_33:
	leaq	-52(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_flush_one_hunk
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	%eax, -48(%rbp)
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_remove_space
	addl	%eax, %ebx
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-52(%rbp), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	*(%rcx)
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_32
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r15
	movq	%r15, -72(%rbp)
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testl	%eax, %eax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	je	LBB0_33
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ecx
	cmpl	$-1, %ecx
	je	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	movl	%ecx, %edx
	orl	%eax, %edx
	jne	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_scan_hunk_header
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	jne	LBB0_31
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	$1, %eax
	movl	$1, %ecx
	jmp	LBB0_24
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_32
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	-52(%rbp), %rsi
	callq	_flush_one_hunk
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, -48(%rbp)
	movl	$-1, -44(%rbp)
	movl	$-1, %eax
	movl	$-1, %ecx
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r15), %edx
	cmpb	$45, %dl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$32, %dl
	jne	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%ecx
	movl	%ecx, -44(%rbp)
	movzbl	(%r15), %edx
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$43, %dl
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$32, %dl
	je	LBB0_29
	jmp	LBB0_30
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	cmpl	$12, %eax
	jg	LBB0_31
	jmp	LBB0_7
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%r15), %edi
	callq	_isalpha
	testl	%eax, %eax
	je	LBB0_32
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ecx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"diff-tree "

L_.str.1:                               ## @.str.1
	.asciz	"commit "

L_.str.2:                               ## @.str.2
	.asciz	"From "

L_.str.3:                               ## @.str.3
	.asciz	"\\ "

L_.str.4:                               ## @.str.4
	.asciz	"diff "

L_.str.5:                               ## @.str.5
	.asciz	"index "

L_.str.6:                               ## @.str.6
	.asciz	"--- "

L_.str.7:                               ## @.str.7
	.asciz	"@@ -"

	.no_dead_strip	_get_one_patchid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_one_patchid
_get_one_patchid:                       ; @get_one_patchid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w3, [sp, #4]                    ; 4-byte Folded Spill
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	w8, #-1
	stp	w8, w8, [sp, #24]
Lloh0:
	adrp	x27, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x27, [x27, _the_hash_algo@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x8, [x8, #8]
	add	x0, sp, #20
	blr	x8
	mov	x0, x19
	bl	_oidclr
Lloh2:
	adrp	x21, _stdin@GOTPAGE
Lloh3:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x22
	mov	w2, #10
	bl	_strbuf_getwholeline
Lloh4:
	adrp	x25, _EOF@GOTPAGE
Lloh5:
	ldr	x25, [x25, _EOF@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	w23, #0
LBB0_2:
	mov	x0, x20
	bl	_oidclr
LBB0_3:
	add	x1, sp, #20
	mov	x0, x19
	bl	_flush_one_hunk
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	mov	w23, #0
Lloh6:
	adrp	x24, l_.str@PAGE
Lloh7:
	add	x24, x24, l_.str@PAGEOFF
Lloh8:
	adrp	x28, l_.str.4@PAGE
Lloh9:
	add	x28, x28, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w8, #1
	str	w8, [sp, #24]
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_remove_space
	mov	x2, x0
	add	w23, w0, w23
	ldr	x8, [x27]
	ldr	x8, [x8]
	add	x0, sp, #20
	mov	x1, x26
	blr	x8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x21]
	mov	x0, x22
	mov	w2, #10
	bl	_strbuf_getwholeline
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x22]
	str	x26, [sp, #8]
	add	x2, sp, #8
	mov	x0, x26
	mov	x1, x24
	bl	_skip_prefix
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #8
	mov	x0, x26
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_skip_prefix
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #8
	mov	x0, x26
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_skip_prefix
	cbz	w0, LBB0_31
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_get_oid_hex
	cbz	w0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w23, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	mov	x1, x28
	bl	_starts_with
	cbz	x0, LBB0_21
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [sp, #28]
	cmn	w9, #1
	b.eq	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #24]
	orr	w10, w9, w8
	cbnz	w10, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #28
	add	x2, sp, #24
	mov	x0, x26
	bl	_scan_hunk_header
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_starts_with
	cbnz	x0, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_33
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	stp	w8, w8, [sp, #24]
	mov	w9, #1
	b	LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w23, #0
	b	LBB0_7
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	mov	x1, x28
	bl	_starts_with
	cbz	x0, LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #20
	mov	x0, x19
	bl	_flush_one_hunk
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #-1
	stp	w8, w8, [sp, #24]
	mov	w9, #-1
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w10, [x26]
	cmp	w10, #45
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w10, #32
	b.ne	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w9, w9, #1
	str	w9, [sp, #28]
	ldrb	w10, [x26]
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w10, #43
	b.eq	LBB0_5
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w10, #32
	b.eq	LBB0_5
	b	LBB0_6
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_11
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_strlen
	cmp	w0, #12
	b.gt	LBB0_7
	b	LBB0_11
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsb	w0, [x26]
	bl	_isalpha
	cbz	w0, LBB0_2
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [sp, #28]
	b	LBB0_15
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"diff-tree "

l_.str.1:                               ; @.str.1
	.asciz	"commit "

l_.str.2:                               ; @.str.2
	.asciz	"From "

l_.str.3:                               ; @.str.3
	.asciz	"\\ "

l_.str.4:                               ; @.str.4
	.asciz	"diff "

l_.str.5:                               ; @.str.5
	.asciz	"index "

l_.str.6:                               ; @.str.6
	.asciz	"--- "

l_.str.7:                               ; @.str.7
	.asciz	"@@ -"

	.no_dead_strip	_get_one_patchid
.subsections_via_symbols
