	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repo_dwim_log                  ## -- Begin function repo_dwim_log
	.p2align	4, 0x90
_repo_dwim_log:                         ## @repo_dwim_log
	.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	%r8, %r14
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)
	movl	%edx, -52(%rbp)
	callq	_get_main_ref_store
	movq	%rax, %r13
	leaq	-64(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_substitute_branch_name
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	$0, (%r14)
	movq	_ref_rev_parse_rules@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	addq	$8, %r14
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movq	_warn_ambiguous_refs@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r14)
	leaq	8(%r14), %r14
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strbuf_reset
	movq	-8(%r14), %rsi
	movl	-52(%rbp), %edx
	movq	-64(%rbp), %rcx
	movq	%r15, %rdi
	callq	_strbuf_addf
	movq	-48(%rbp), %rsi
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	leaq	-56(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_refs_resolve_ref_unsafe
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_refs_reflog_exists
	movq	-48(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %r12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_xstrdup
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-56(%rbp), %rsi
	callq	_oidcpy
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_refs_reflog_exists
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
LBB0_12:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_ref_rev_parse_rules,8,3        ## @ref_rev_parse_rules
	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
	.comm	_warn_ambiguous_refs,4,2        ## @warn_ambiguous_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repo_dwim_log                  ; -- Begin function repo_dwim_log
	.p2align	2
_repo_dwim_log:                         ; @repo_dwim_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	str	x1, [sp, #24]
	str	w2, [sp, #20]
	bl	_get_main_ref_store
	mov	x22, x0
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x21
	bl	_substitute_branch_name
	mov	x21, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	str	xzr, [x19]
Lloh3:
	adrp	x8, _ref_rev_parse_rules@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ref_rev_parse_rules@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_11
; %bb.1:
	mov	w23, #0
	add	x25, x8, #8
Lloh6:
	adrp	x26, _RESOLVE_REF_READING@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh8:
	adrp	x27, _warn_ambiguous_refs@GOTPAGE
Lloh9:
	ldr	x27, [x27, _warn_ambiguous_refs@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [x27]
	cbz	w8, LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25], #8
	cbz	x8, LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_strbuf_reset
	ldur	x1, [x25, #-8]
	ldr	w2, [sp, #20]
	ldr	x3, [sp, #24]
	add	x0, sp, #8
	bl	_strbuf_addf
	ldr	x1, [sp, #8]
	ldr	w2, [x26]
	mov	x3, sp
	mov	x0, x22
	mov	x4, #0
	bl	_refs_resolve_ref_unsafe
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_refs_reflog_exists
	ldr	x1, [sp, #8]
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w23, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_xstrdup
	str	x0, [x19]
	mov	x1, sp
	mov	x0, x20
	bl	_oidcpy
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_refs_reflog_exists
	cbnz	x0, LBB0_7
	b	LBB0_3
LBB0_11:
	mov	w23, #0
LBB0_12:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x21
	bl	_free
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_ref_rev_parse_rules,8,3        ; @ref_rev_parse_rules
	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
	.comm	_warn_ambiguous_refs,4,2        ; @warn_ambiguous_refs
.subsections_via_symbols
