	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_reflog_selector            ## -- Begin function get_reflog_selector
	.p2align	4, 0x90
_get_reflog_selector:                   ## @get_reflog_selector
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	16(%rbx), %rax
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jne	LBB0_5
## %bb.3:
	movq	8(%rax), %rdi
	xorl	%esi, %esi
	callq	_shorten_unambiguous_ref
	movq	%rax, %rdx
	movq	16(%rbx), %rax
	movq	%rdx, (%rax)
	jmp	LBB0_5
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rax), %rdx
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	movq	(%rbx), %rax
	movq	_SELECTOR_DATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.7:
	movq	_SELECTOR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:
	movq	16(%rbx), %rax
	movq	24(%rax), %rax
	movslq	8(%rbx), %rcx
	movl	8(%rax,%rcx,8), %esi
	movl	12(%rax,%rcx,8), %edi
	movq	%r14, %rdx
	callq	_show_date
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	jmp	LBB0_10
LBB0_9:
	movq	16(%rbx), %rax
	movl	16(%rax), %edx
	subl	8(%rbx), %edx
	addl	$-2, %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
LBB0_10:
	movq	%r12, %rdi
	movl	$125, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addch                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s@{"

	.comm	_SELECTOR_DATE,8,3              ## @SELECTOR_DATE
	.comm	_SELECTOR_NONE,8,3              ## @SELECTOR_NONE
L_.str.1:                               ## @.str.1
	.asciz	"%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_reflog_selector            ; -- Begin function get_reflog_selector
	.p2align	2
_get_reflog_selector:                   ; @get_reflog_selector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x22, [x1]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x22, #16]
	cbz	w4, LBB0_5
; %bb.2:
	ldr	x0, [x8]
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x0, [x8, #8]
	mov	w1, #0
	bl	_shorten_unambiguous_ref
	ldr	x8, [x22, #16]
	str	x0, [x8]
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	x0, [x8, #8]
LBB0_6:
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strbuf_addf
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _SELECTOR_DATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SELECTOR_DATE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.7:
	cbz	w21, LBB0_10
; %bb.8:
Lloh5:
	adrp	x9, _SELECTOR_NONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SELECTOR_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_9:
	ldr	x8, [x22, #16]
	ldr	x8, [x8, #24]
	ldrsw	x9, [x22, #8]
	add	x8, x8, x9, lsl #3
	ldp	w1, w0, [x8, #8]
	mov	x2, x20
	bl	_show_date
	mov	x1, x0
	mov	x0, x19
	bl	_strbuf_addstr
	b	LBB0_11
LBB0_10:
	ldr	x8, [x22, #16]
	ldr	w8, [x8, #16]
	ldr	w9, [x22, #8]
	sub	w8, w8, w9
	sub	w8, w8, #2
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strbuf_addf
LBB0_11:
	mov	x0, x19
	mov	w1, #125
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_strbuf_addch
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s@{"

	.comm	_SELECTOR_DATE,8,3              ; @SELECTOR_DATE
	.comm	_SELECTOR_NONE,8,3              ; @SELECTOR_NONE
l_.str.1:                               ; @.str.1
	.asciz	"%d"

.subsections_via_symbols
