	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cmd_create
_parse_cmd_create:                      ## @parse_cmd_create
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, -40(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_refname
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_parse_next_oid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	leaq	-32(%rbp), %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_6:
	movq	-40(%rbp), %rdx
	movb	(%rdx), %al
	movq	_line_termination@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	_update_flags@GOTPCREL(%rip), %rbx
	movq	_create_reflog_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%rbx), %ecx
	movq	_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rdx
	leaq	-48(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ref_transaction_create
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_10:
	movq	_default_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_free
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	-40(%rbp), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"create: missing <ref>"

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

L_.str.2:                               ## @.str.2
	.asciz	"create %s: missing <newvalue>"

L_.str.3:                               ## @.str.3
	.asciz	"create %s: zero <newvalue>"

	.comm	_line_termination,1,0           ## @line_termination
L_.str.4:                               ## @.str.4
	.asciz	"create %s: extra input: %s"

	.comm	_update_flags,4,2               ## @update_flags
	.comm	_create_reflog_flag,4,2         ## @create_reflog_flag
	.comm	_msg,4,2                        ## @msg
L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_default_flags,4,2              ## @default_flags
	.no_dead_strip	_parse_cmd_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cmd_create
_parse_cmd_create:                      ; @parse_cmd_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x20, x0
	str	x2, [sp, #40]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	add	x1, sp, #40
	mov	x0, x21
	bl	_parse_refname
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x1, sp, #40
	add	x2, sp, #24
	mov	x0, x21
	mov	x4, x19
	mov	w5, #0
	bl	_parse_next_oid
	cbz	x0, LBB0_4
; %bb.3:
	str	x19, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_4:
	add	x0, sp, #24
	bl	_is_null_oid
	cbz	x0, LBB0_6
; %bb.5:
	str	x19, [sp]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_6:
	ldr	x8, [sp, #40]
	ldrb	w9, [x8]
Lloh11:
	adrp	x10, _line_termination@GOTPAGE
Lloh12:
	ldr	x10, [x10, _line_termination@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_8
; %bb.7:
	stp	x19, x8, [sp]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_die
LBB0_8:
Lloh15:
	adrp	x21, _update_flags@GOTPAGE
Lloh16:
	ldr	x21, [x21, _update_flags@GOTPAGEOFF]
Lloh17:
	adrp	x8, _create_reflog_flag@GOTPAGE
Lloh18:
	ldr	x8, [x8, _create_reflog_flag@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh19:
	ldr	w8, [x8]
	orr	w3, w8, w9
Lloh20:
	adrp	x8, _msg@GOTPAGE
Lloh21:
	ldr	x8, [x8, _msg@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	add	x2, sp, #24
	add	x5, sp, #32
	mov	x0, x20
	mov	x1, x19
	bl	_ref_transaction_create
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [sp, #32]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_die
LBB0_10:
Lloh25:
	adrp	x8, _default_flags@GOTPAGE
Lloh26:
	ldr	x8, [x8, _default_flags@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x19
	bl	_free
	add	x0, sp, #32
	bl	_strbuf_release
	ldr	x0, [sp, #40]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create: missing <ref>"

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

l_.str.2:                               ; @.str.2
	.asciz	"create %s: missing <newvalue>"

l_.str.3:                               ; @.str.3
	.asciz	"create %s: zero <newvalue>"

	.comm	_line_termination,1,0           ; @line_termination
l_.str.4:                               ; @.str.4
	.asciz	"create %s: extra input: %s"

	.comm	_update_flags,4,2               ; @update_flags
	.comm	_create_reflog_flag,4,2         ; @create_reflog_flag
	.comm	_msg,4,2                        ; @msg
l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_default_flags,4,2              ; @default_flags
	.no_dead_strip	_parse_cmd_create
.subsections_via_symbols
