	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_reflog_param
_parse_reflog_param:                    ## @parse_reflog_param
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movl	%edx, %edi
	callq	_BUG_ON_OPT_NEG
	testq	%r14, %r14
	leaq	L_.str(%rip), %rbx
	cmovneq	%r14, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	_reflog@GOTPCREL(%rip), %rsi
	movq	%rax, (%rsi)
	movq	-32(%rbp), %rdx
	movb	(%rdx), %cl
	testb	%cl, %cl
	je	LBB0_1
## %bb.2:
	cmpb	$44, %cl
	jne	LBB0_7
## %bb.3:
	incq	%rdx
	jmp	LBB0_4
LBB0_1:
	xorl	%edx, %edx
LBB0_4:
	movq	%rdx, (%r15)
	testq	%rax, %rax
	jg	LBB0_6
## %bb.5:
	movq	_DEFAULT_REFLOG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_reflog,8,3                     ## @reflog
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized reflog param '%s'"

	.comm	_DEFAULT_REFLOG,8,3             ## @DEFAULT_REFLOG
	.no_dead_strip	_parse_reflog_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_reflog_param
_parse_reflog_param:                    ; @parse_reflog_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x2
	bl	_BUG_ON_OPT_NEG
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x19, #0
	csel	x19, x8, x19, eq
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #10
	bl	_strtoul
Lloh2:
	adrp	x8, _reflog@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reflog@GOTPAGEOFF]
	str	x0, [x8]
	ldr	x9, [sp, #8]
	ldrb	w10, [x9]
	cbz	w10, LBB0_3
; %bb.1:
	cmp	w10, #44
	b.ne	LBB0_7
; %bb.2:
	add	x9, x9, #1
	b	LBB0_4
LBB0_3:
	mov	x9, #0
LBB0_4:
	str	x9, [x20]
	cmp	x0, #0
	b.gt	LBB0_6
; %bb.5:
Lloh4:
	adrp	x9, _DEFAULT_REFLOG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DEFAULT_REFLOG@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_error
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_reflog,8,3                     ; @reflog
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized reflog param '%s'"

	.comm	_DEFAULT_REFLOG,8,3             ; @DEFAULT_REFLOG
	.no_dead_strip	_parse_reflog_param
.subsections_via_symbols
