	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_sign_commit
_do_sign_commit:                        ## @do_sign_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	%rsi, %r15
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	subl	%ebx, %r12d
	incl	%r12d
	testq	%r15, %r15
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movl	8(%r14), %r12d
	testq	%r15, %r15
	je	LBB0_5
LBB0_4:
	cmpb	$0, (%r15)
	jne	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_get_signing_key
	movq	%rax, %r15
LBB0_6:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_sign_buffer
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:
	movq	-80(%rbp), %r13
	cmpb	$0, (%r13)
	je	LBB0_13
## %bb.8:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_gpg_sig_header@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_gpg_sig_header_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_strbuf_insert
	movq	_gpg_sig_header_len@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	%r12d, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %ecx
	callq	_strbuf_insert
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_strbuf_insert
	addl	%ebx, %r12d
	incl	%r12d
	addl	%ebx, %r14d
	movq	-80(%rbp), %rax
	movslq	%r14d, %rcx
	leaq	(%rax,%rcx), %r13
	cmpb	$0, (%rax,%rcx)
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_strchrnul
	movl	%eax, %ebx
	subl	%r13d, %ebx
	cmpb	$1, (%rax)
	sbbl	$-1, %ebx
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\n"

	.comm	_gpg_sig_header,8,3             ## @gpg_sig_header
	.comm	_gpg_sig_header_len,4,2         ## @gpg_sig_header_len
L_.str.1:                               ## @.str.1
	.asciz	" "

	.no_dead_strip	_do_sign_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_sign_commit
_do_sign_commit:                        ; @do_sign_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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x20, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_2
; %bb.1:
	sub	w8, w0, w20
	add	w20, w8, #1
	cbnz	x21, LBB0_3
	b	LBB0_4
LBB0_2:
	ldr	w20, [x19, #8]
	cbz	x21, LBB0_4
LBB0_3:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_5
LBB0_4:
	bl	_get_signing_key
	mov	x21, x0
LBB0_5:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	bl	_sign_buffer
	cbz	x0, LBB0_7
; %bb.6:
	mov	w19, #-1
	b	LBB0_13
LBB0_7:
	ldr	x21, [sp]
	ldrb	w8, [x21]
	cbz	w8, LBB0_12
; %bb.8:
	mov	w25, #0
Lloh5:
	adrp	x26, _gpg_sig_header@GOTPAGE
Lloh6:
	ldr	x26, [x26, _gpg_sig_header@GOTPAGEOFF]
Lloh7:
	adrp	x27, _gpg_sig_header_len@GOTPAGE
Lloh8:
	ldr	x27, [x27, _gpg_sig_header_len@GOTPAGEOFF]
Lloh9:
	adrp	x22, l_.str.1@PAGE
Lloh10:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w24, w20, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	bl	_strbuf_insert
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	mov	x3, x23
	bl	_strbuf_insert
	add	w20, w24, w23
	add	w25, w25, w23
	ldr	x8, [sp]
	add	x21, x8, w25, sxtw
	ldrb	w8, [x21]
	cbz	w8, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #10
	bl	_strchrnul
	sub	w8, w0, w21
	ldrb	w9, [x0]
	cmp	w9, #0
	cinc	w23, w8, ne
	cbnz	w25, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x2, [x26]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_strbuf_insert
	ldr	w8, [x27]
	add	w20, w8, w20
	b	LBB0_9
LBB0_12:
	mov	w19, #0
LBB0_13:
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x19
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\n"

	.comm	_gpg_sig_header,8,3             ; @gpg_sig_header
	.comm	_gpg_sig_header_len,4,2         ; @gpg_sig_header_len
l_.str.1:                               ; @.str.1
	.asciz	" "

	.no_dead_strip	_do_sign_commit
.subsections_via_symbols
