	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_symref_update
_split_symref_update:                   ## @split_symref_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	callq	_string_list_has_string
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_strbuf_addf
	movq	_TRANSACTION_NAME_CONFLICT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movl	(%rbx), %r13d
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	xorl	%edx, %edx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_REF_UPDATE_VIA_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_4:
	orl	%r13d, %edx
	leaq	24(%rbx), %rcx
	leaq	20(%rbx), %r8
	movl	16(%rbx), %r9d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ref_transaction_add_update
	movq	%rax, %r15
	movq	%rbx, 8(%rax)
	movq	_REF_LOG_ONLY@GOTPCREL(%rip), %rax
	movq	_REF_NO_DEREF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	_REF_HAVE_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_string_list_insert
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	4(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_BUG
LBB0_6:
	movq	%r15, (%rbx)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"multiple updates for '%s' (including one via symref '%s') are not allowed"

	.comm	_TRANSACTION_NAME_CONFLICT,4,2  ## @TRANSACTION_NAME_CONFLICT
L_.str.1:                               ## @.str.1
	.asciz	"HEAD"

	.comm	_REF_UPDATE_VIA_HEAD,4,2        ## @REF_UPDATE_VIA_HEAD
	.comm	_REF_LOG_ONLY,4,2               ## @REF_LOG_ONLY
	.comm	_REF_NO_DEREF,4,2               ## @REF_NO_DEREF
	.comm	_REF_HAVE_OLD,4,2               ## @REF_HAVE_OLD
L_.str.2:                               ## @.str.2
	.asciz	"%s unexpectedly found in affected_refnames"

	.no_dead_strip	_split_symref_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_symref_update
_split_symref_update:                   ; @split_symref_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x3
	bl	_string_list_has_string
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w3, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	bl	_strbuf_addf
Lloh2:
	adrp	x8, _TRANSACTION_NAME_CONFLICT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRANSACTION_NAME_CONFLICT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
	ldp	w23, w0, [x20]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
Lloh7:
	adrp	x8, _REF_UPDATE_VIA_HEAD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REF_UPDATE_VIA_HEAD@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w2, w8, w23
	add	x3, x20, #24
	add	x4, x20, #20
	ldr	w5, [x20, #16]
	mov	x0, x22
	mov	x1, x21
	bl	_ref_transaction_add_update
	mov	x21, x0
	str	x20, [x0, #8]
Lloh10:
	adrp	x8, _REF_LOG_ONLY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REF_LOG_ONLY@GOTPAGEOFF]
Lloh12:
	adrp	x9, _REF_NO_DEREF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REF_NO_DEREF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
Lloh16:
	adrp	x9, _REF_HAVE_OLD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _REF_HAVE_OLD@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20]
	ldr	w1, [x0, #4]
	mov	x0, x19
	bl	_string_list_insert
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x21, #4]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BUG
LBB0_4:
	mov	w0, #0
	str	x21, [x19]
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"multiple updates for '%s' (including one via symref '%s') are not allowed"

	.comm	_TRANSACTION_NAME_CONFLICT,4,2  ; @TRANSACTION_NAME_CONFLICT
l_.str.1:                               ; @.str.1
	.asciz	"HEAD"

	.comm	_REF_UPDATE_VIA_HEAD,4,2        ; @REF_UPDATE_VIA_HEAD
	.comm	_REF_LOG_ONLY,4,2               ; @REF_LOG_ONLY
	.comm	_REF_NO_DEREF,4,2               ; @REF_NO_DEREF
	.comm	_REF_HAVE_OLD,4,2               ; @REF_HAVE_OLD
l_.str.2:                               ; @.str.2
	.asciz	"%s unexpectedly found in affected_refnames"

	.no_dead_strip	_split_symref_update
.subsections_via_symbols
