	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_signed_buffer           ## -- Begin function verify_signed_buffer
	.p2align	4, 0x90
_verify_signed_buffer:                  ## @verify_signed_buffer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_mks_tempfile_t
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_write_in_full
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_close_tempfile_gently
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_get_format_by_sig
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_BUG
LBB0_6:
	movl	4(%r15), %esi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_argv_array_push
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_argv_array_pushv
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %r8
	movq	%r14, %rdi
	xorl	%r9d, %r9d
	callq	_argv_array_pushl
	testq	%r13, %r13
	leaq	-48(%rbp), %r15
	cmoveq	%r15, %r13
	movq	_SIGPIPE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sigchain_push
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_pipe_command
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_sigchain_pop
	leaq	-64(%rbp), %rdi
	callq	_delete_tempfile
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strstr
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	orl	%r14d, %ebx
	movq	%r15, %rdi
	callq	_strbuf_release
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	(%rbx), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_error_errno
	leaq	-64(%rbp), %rdi
	callq	_delete_tempfile
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_errno                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,4,2         ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".git_vtag_tmpXXXXXX"

L_.str.1:                               ## @.str.1
	.asciz	"could not create temporary file"

L_.str.2:                               ## @.str.2
	.asciz	"failed writing detached signature to '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"bad signature '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"--status-fd=1"

L_.str.5:                               ## @.str.5
	.asciz	"--verify"

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

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
L_.str.7:                               ## @.str.7
	.asciz	"\n[GNUPG:] GOODSIG "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_signed_buffer           ; -- Begin function verify_signed_buffer
	.p2align	2
_verify_signed_buffer:                  ; @verify_signed_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x22, x5
	mov	x19, x4
	mov	x25, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_mks_tempfile_t
	str	x0, [sp, #16]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x23, x0
	ldr	w0, [x0, #4]
	mov	x1, x24
	mov	x2, x25
	bl	_write_in_full
	tbnz	x0, #63, LBB0_6
; %bb.2:
	mov	x0, x23
	bl	_close_tempfile_gently
	tbnz	x0, #63, LBB0_6
; %bb.3:
	mov	x0, x24
	bl	_get_format_by_sig
	mov	x25, x0
	cbnz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x24
	bl	_BUG
LBB0_5:
	ldr	w1, [x25, #4]
	add	x0, sp, #24
	bl	_argv_array_push
	ldr	w1, [x25]
	add	x0, sp, #24
	bl	_argv_array_pushv
	ldr	w3, [x23]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh12:
	adrp	x2, l_.str.5@PAGE
Lloh13:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh14:
	adrp	x4, l_.str.6@PAGE
Lloh15:
	add	x4, x4, l_.str.6@PAGEOFF
	add	x0, sp, #24
	mov	x5, #0
	bl	_argv_array_pushl
	add	x8, sp, #8
	cmp	x22, #0
	csel	x22, x8, x22, eq
Lloh16:
	adrp	x23, _SIGPIPE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _SIGPIPE@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh18:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_sigchain_push
	add	x0, sp, #24
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	w4, #0
	mov	x5, x19
	mov	w6, #0
	bl	_pipe_command
	mov	x19, x0
	ldr	w0, [x23]
	bl	_sigchain_pop
	add	x0, sp, #16
	bl	_delete_tempfile
	ldr	w0, [x22]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strstr
	cmp	w0, #0
	cset	w8, eq
	orr	w19, w19, w8
	add	x0, sp, #8
	bl	_strbuf_release
	b	LBB0_7
LBB0_6:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	w8, [x23]
	str	x8, [sp]
	bl	_error_errno
	add	x0, sp, #16
	bl	_delete_tempfile
	mov	w19, #-1
LBB0_7:
	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
	add	sp, sp, #112
	ret
LBB0_8:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	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
	add	sp, sp, #112
	b	_error_errno
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,4,2         ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".git_vtag_tmpXXXXXX"

l_.str.1:                               ; @.str.1
	.asciz	"could not create temporary file"

l_.str.2:                               ; @.str.2
	.asciz	"failed writing detached signature to '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"bad signature '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"--status-fd=1"

l_.str.5:                               ; @.str.5
	.asciz	"--verify"

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

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
l_.str.7:                               ; @.str.7
	.asciz	"\n[GNUPG:] GOODSIG "

.subsections_via_symbols
