	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_update_ref                 ## -- Begin function cmd_update_ref
	.p2align	4, 0x90
_cmd_update_ref:                        ## @cmd_update_ref
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -84(%rbp)
	movl	$0, -120(%rbp)
	movl	$0, -116(%rbp)
	movl	$0, -108(%rbp)
	movl	$0, -112(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movq	_msg@GOTPCREL(%rip), %r14
	movl	$109, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_OPT_STRING
	movl	%eax, -80(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	leaq	-84(%rbp), %rdx
	movl	$100, %edi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -76(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	leaq	L_.str.3(%rip), %rsi
	leaq	-120(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -72(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	leaq	-108(%rbp), %rdx
	movl	$122, %edi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -68(%rbp)
	leaq	L_.str.7(%rip), %rdi
	callq	_N_
	leaq	L_.str.6(%rip), %rsi
	leaq	-116(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -64(%rbp)
	leaq	L_.str.9(%rip), %rdi
	callq	_N_
	leaq	L_.str.8(%rip), %rsi
	leaq	-112(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -60(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -56(%rbp)
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	_git_update_ref_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-80(%rbp), %rcx
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	%eax, %r12d
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_3:
	movl	-112(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_REF_FORCE_CREATE_REFLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	_create_reflog_flag@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	cmpl	$0, -120(%rbp)
	je	LBB0_7
## %bb.6:
	movq	_REF_NO_DEREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_default_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_update_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_7:
	cmpl	$0, -116(%rbp)
	je	LBB0_18
## %bb.8:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_ref_transaction_begin
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	cmpl	$0, -84(%rbp)
	je	LBB0_11
	jmp	LBB0_12
LBB0_18:
	cmpl	$0, -108(%rbp)
	je	LBB0_20
## %bb.19:
	movq	_git_update_ref_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_20:
	cmpl	$0, -84(%rbp)
	je	LBB0_24
## %bb.21:
	addl	$-3, %r12d
	cmpl	$-3, %r12d
	ja	LBB0_23
## %bb.22:
	movq	_git_update_ref_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_23:
	movq	(%r15), %r12
	movq	8(%r15), %r15
	jmp	LBB0_28
LBB0_9:
	movq	-96(%rbp), %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	cmpl	$0, -84(%rbp)
	jne	LBB0_12
LBB0_11:
	testl	%r12d, %r12d
	jle	LBB0_13
LBB0_12:
	movq	_git_update_ref_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_13:
	cmpl	$0, -108(%rbp)
	je	LBB0_15
## %bb.14:
	movq	_line_termination@GOTPCREL(%rip), %rax
	movb	$0, (%rax)
LBB0_15:
	movq	%rbx, %rdi
	callq	_update_refs_stdin
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ref_transaction_commit
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	-96(%rbp), %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_17:
	movq	%rbx, %rdi
	callq	_ref_transaction_free
	leaq	-96(%rbp), %rdi
	callq	_strbuf_release
	xorl	%eax, %eax
	jmp	LBB0_42
LBB0_24:
	addl	$-4, %r12d
	cmpl	$-3, %r12d
	ja	LBB0_26
## %bb.25:
	movq	_git_update_ref_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_26:
	movq	(%r15), %r12
	movq	8(%r15), %r13
	movq	16(%r15), %r15
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.12(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_28:
	testq	%r15, %r15
	je	LBB0_36
## %bb.29:
	cmpb	$0, (%r15)
	je	LBB0_30
## %bb.31:
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	leaq	L_.str.13(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_33:
	cmpl	$0, -84(%rbp)
	je	LBB0_34
LBB0_39:
	movq	(%r14), %r14
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_is_null_oid
	testl	%eax, %eax
	jne	LBB0_40
	jmp	LBB0_41
LBB0_36:
	cmpl	$0, -84(%rbp)
	je	LBB0_37
## %bb.38:
	movq	(%r14), %r14
LBB0_40:
	xorl	%ebx, %ebx
LBB0_41:
	movq	_default_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_delete_ref
	jmp	LBB0_42
LBB0_30:
	leaq	-104(%rbp), %rdi
	callq	_oidclr
	cmpl	$0, -84(%rbp)
	jne	LBB0_39
LBB0_34:
	leaq	-104(%rbp), %rcx
	jmp	LBB0_35
LBB0_37:
	xorl	%ecx, %ecx
LBB0_35:
	movq	(%r14), %rdi
	movq	_default_flags@GOTPCREL(%rip), %rax
	movl	(%rbx), %r8d
	orl	(%rax), %r8d
	movq	_UPDATE_REFS_DIE_ON_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-96(%rbp), %rdx
	movq	%r12, %rsi
	callq	_update_ref
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_44
## %bb.43:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_msg,8,3                        ## @msg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reason"

L_.str.1:                               ## @.str.1
	.asciz	"reason of the update"

L_.str.2:                               ## @.str.2
	.asciz	"delete the reference"

L_.str.3:                               ## @.str.3
	.asciz	"no-deref"

L_.str.4:                               ## @.str.4
	.asciz	"update <refname> not the one it points to"

L_.str.5:                               ## @.str.5
	.asciz	"stdin has NUL-terminated arguments"

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

L_.str.7:                               ## @.str.7
	.asciz	"read updates from stdin"

L_.str.8:                               ## @.str.8
	.asciz	"create-reflog"

L_.str.9:                               ## @.str.9
	.asciz	"create a reflog"

	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_git_update_ref_usage,4,2       ## @git_update_ref_usage
L_.str.10:                              ## @.str.10
	.asciz	"Refusing to perform update with empty message."

	.comm	_REF_FORCE_CREATE_REFLOG,4,2    ## @REF_FORCE_CREATE_REFLOG
	.comm	_create_reflog_flag,4,2         ## @create_reflog_flag
	.comm	_REF_NO_DEREF,4,2               ## @REF_NO_DEREF
	.comm	_default_flags,4,2              ## @default_flags
	.comm	_update_flags,4,2               ## @update_flags
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
L_.str.11:                              ## @.str.11
	.asciz	"%s"

	.comm	_line_termination,1,0           ## @line_termination
L_.str.12:                              ## @.str.12
	.asciz	"%s: not a valid SHA1"

L_.str.13:                              ## @.str.13
	.asciz	"%s: not a valid old SHA1"

	.comm	_UPDATE_REFS_DIE_ON_ERR,4,2     ## @UPDATE_REFS_DIE_ON_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_update_ref                 ; -- Begin function cmd_update_ref
	.p2align	2
_cmd_update_ref:                        ; @cmd_update_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	stp	xzr, xzr, [sp, #32]
	str	wzr, [sp, #28]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x23, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh7:
	adrp	x19, _msg@GOTPAGE
Lloh8:
	ldr	x19, [x19, _msg@GOTPAGEOFF]
	mov	w0, #109
	mov	x1, #0
	mov	x2, x19
	mov	x3, x23
	bl	_OPT_STRING
	str	w0, [sp, #56]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x3, x0
	add	x2, sp, #44
	mov	w0, #100
	mov	x1, #0
	bl	_OPT_BOOL
	str	w0, [sp, #60]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #40
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #64]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x3, x0
	add	x2, sp, #32
	mov	w0, #122
	mov	x1, #0
	bl	_OPT_BOOL
	str	w0, [sp, #68]
Lloh17:
	adrp	x0, l_.str.7@PAGE
Lloh18:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #36
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #72]
Lloh21:
	adrp	x0, l_.str.9@PAGE
Lloh22:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #28
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #76]
	bl	_OPT_END
	str	w0, [sp, #80]
Lloh25:
	adrp	x8, _git_default_config@GOTPAGE
Lloh26:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh28:
	adrp	x24, _git_update_ref_usage@GOTPAGE
Lloh29:
	ldr	x24, [x24, _git_update_ref_usage@GOTPAGEOFF]
	ldr	w4, [x24]
	add	x3, sp, #56
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	w5, #0
	bl	_parse_options
	mov	x21, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_die
LBB0_3:
	ldr	w8, [sp, #28]
Lloh32:
	adrp	x9, _REF_FORCE_CREATE_REFLOG@GOTPAGE
Lloh33:
	ldr	x9, [x9, _REF_FORCE_CREATE_REFLOG@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, wzr, w9, eq
Lloh35:
	adrp	x23, _create_reflog_flag@GOTPAGE
Lloh36:
	ldr	x23, [x23, _create_reflog_flag@GOTPAGEOFF]
	str	w8, [x23]
	ldr	w8, [sp, #40]
	cbz	w8, LBB0_5
; %bb.4:
Lloh37:
	adrp	x8, _REF_NO_DEREF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _REF_NO_DEREF@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _default_flags@GOTPAGE
Lloh41:
	ldr	x9, [x9, _default_flags@GOTPAGEOFF]
Lloh42:
	str	w8, [x9]
Lloh43:
	adrp	x9, _update_flags@GOTPAGE
Lloh44:
	ldr	x9, [x9, _update_flags@GOTPAGEOFF]
Lloh45:
	str	w8, [x9]
LBB0_5:
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_8
; %bb.6:
Lloh46:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	add	x0, sp, #16
	bl	_ref_transaction_begin
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.7:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_15
	b	LBB0_16
LBB0_8:
	ldr	w8, [sp, #32]
	cbz	w8, LBB0_10
; %bb.9:
	ldr	w0, [x24]
	add	x1, sp, #56
	bl	_usage_with_options
LBB0_10:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_22
; %bb.11:
	sub	w8, w21, #3
	cmn	w8, #3
	b.hi	LBB0_13
; %bb.12:
	ldr	w0, [x24]
	add	x1, sp, #56
	bl	_usage_with_options
LBB0_13:
	ldp	x21, x20, [x20]
	b	LBB0_26
LBB0_14:
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.11@PAGE
Lloh50:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_die
	ldr	w8, [sp, #44]
	cbnz	w8, LBB0_16
LBB0_15:
	cmp	w21, #1
	b.lt	LBB0_17
LBB0_16:
	ldr	w0, [x24]
	add	x1, sp, #56
	bl	_usage_with_options
LBB0_17:
	ldr	w8, [sp, #32]
	cbz	w8, LBB0_19
; %bb.18:
Lloh51:
	adrp	x8, _line_termination@GOTPAGE
Lloh52:
	ldr	x8, [x8, _line_termination@GOTPAGEOFF]
Lloh53:
	strb	wzr, [x8]
LBB0_19:
	mov	x0, x19
	bl	_update_refs_stdin
	add	x1, sp, #16
	mov	x0, x19
	bl	_ref_transaction_commit
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh54:
	adrp	x0, l_.str.11@PAGE
Lloh55:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_die
LBB0_21:
	mov	x0, x19
	bl	_ref_transaction_free
	add	x0, sp, #16
	bl	_strbuf_release
	mov	w0, #0
	b	LBB0_40
LBB0_22:
	sub	w8, w21, #4
	cmn	w8, #3
	b.hi	LBB0_24
; %bb.23:
	ldr	w0, [x24]
	add	x1, sp, #56
	bl	_usage_with_options
LBB0_24:
	ldp	x21, x22, [x20]
	ldr	x20, [x20, #16]
	add	x1, sp, #16
	mov	x0, x22
	bl	_get_oid
	cbz	x0, LBB0_26
; %bb.25:
	str	x22, [sp]
Lloh56:
	adrp	x0, l_.str.12@PAGE
Lloh57:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_die
LBB0_26:
	cbz	x20, LBB0_32
; %bb.27:
	ldrb	w8, [x20]
	cbz	w8, LBB0_36
; %bb.28:
	add	x1, sp, #48
	mov	x0, x20
	bl	_get_oid
	cbz	x0, LBB0_30
; %bb.29:
	str	x20, [sp]
Lloh58:
	adrp	x0, l_.str.13@PAGE
Lloh59:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_die
LBB0_30:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_37
LBB0_31:
	ldr	x19, [x19]
	add	x20, sp, #48
	add	x0, sp, #48
	bl	_is_null_oid
	cbnz	w0, LBB0_34
	b	LBB0_35
LBB0_32:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_38
; %bb.33:
	ldr	x19, [x19]
LBB0_34:
	mov	x20, #0
LBB0_35:
Lloh60:
	adrp	x8, _default_flags@GOTPAGE
Lloh61:
	ldr	x8, [x8, _default_flags@GOTPAGEOFF]
Lloh62:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_delete_ref
	b	LBB0_40
LBB0_36:
	add	x0, sp, #48
	bl	_oidclr
	ldr	w8, [sp, #44]
	cbnz	w8, LBB0_31
LBB0_37:
	add	x3, sp, #48
	b	LBB0_39
LBB0_38:
	mov	x3, #0
LBB0_39:
	ldr	x0, [x19]
Lloh63:
	adrp	x8, _default_flags@GOTPAGE
Lloh64:
	ldr	x8, [x8, _default_flags@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w4, w9, w8
Lloh66:
	adrp	x8, _UPDATE_REFS_DIE_ON_ERR@GOTPAGE
Lloh67:
	ldr	x8, [x8, _UPDATE_REFS_DIE_ON_ERR@GOTPAGEOFF]
Lloh68:
	ldr	w5, [x8]
	add	x2, sp, #16
	mov	x1, x21
	bl	_update_ref
LBB0_40:
	ldur	x8, [x29, #-56]
Lloh69:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh70:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.41:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_msg,8,3                        ; @msg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reason"

l_.str.1:                               ; @.str.1
	.asciz	"reason of the update"

l_.str.2:                               ; @.str.2
	.asciz	"delete the reference"

l_.str.3:                               ; @.str.3
	.asciz	"no-deref"

l_.str.4:                               ; @.str.4
	.asciz	"update <refname> not the one it points to"

l_.str.5:                               ; @.str.5
	.asciz	"stdin has NUL-terminated arguments"

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

l_.str.7:                               ; @.str.7
	.asciz	"read updates from stdin"

l_.str.8:                               ; @.str.8
	.asciz	"create-reflog"

l_.str.9:                               ; @.str.9
	.asciz	"create a reflog"

	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_git_update_ref_usage,4,2       ; @git_update_ref_usage
l_.str.10:                              ; @.str.10
	.asciz	"Refusing to perform update with empty message."

	.comm	_REF_FORCE_CREATE_REFLOG,4,2    ; @REF_FORCE_CREATE_REFLOG
	.comm	_create_reflog_flag,4,2         ; @create_reflog_flag
	.comm	_REF_NO_DEREF,4,2               ; @REF_NO_DEREF
	.comm	_default_flags,4,2              ; @default_flags
	.comm	_update_flags,4,2               ; @update_flags
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
l_.str.11:                              ; @.str.11
	.asciz	"%s"

	.comm	_line_termination,1,0           ; @line_termination
l_.str.12:                              ; @.str.12
	.asciz	"%s: not a valid SHA1"

l_.str.13:                              ; @.str.13
	.asciz	"%s: not a valid old SHA1"

	.comm	_UPDATE_REFS_DIE_ON_ERR,4,2     ; @UPDATE_REFS_DIE_ON_ERR
.subsections_via_symbols
