	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_update_hook
_run_update_hook:                       ## @run_update_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -96(%rbp)
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_find_hook
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	leaq	12(%rbx), %rdi
	callq	_oid_to_hex
	movq	%rax, -48(%rbp)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	%rax, -40(%rbp)
	movq	$0, -32(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -96(%rbp)
	movq	_use_sideband@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpq	(%rbx), %rax
	sbbl	%eax, %eax
	movl	%eax, -88(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	%r14, -72(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_start_command
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	-88(%rbp), %edi
	movl	$-1, %esi
	xorl	%edx, %edx
	callq	_copy_to_sideband
LBB0_5:
	leaq	-96(%rbp), %rdi
	callq	_finish_command
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update"

	.comm	_use_sideband,8,3               ## @use_sideband
	.no_dead_strip	_run_update_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_update_hook
_run_update_hook:                       ; @run_update_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_find_hook
	str	x0, [sp, #32]
	cbz	x0, LBB0_5
; %bb.1:
	add	x0, x20, #12
	ldr	x8, [x20], #8
	str	x8, [sp, #40]
	bl	_oid_to_hex
	str	x0, [sp, #48]
	mov	x0, x20
	bl	_oid_to_hex
	stp	x0, xzr, [sp, #56]
	movi.2s	v0, #1
	str	d0, [sp]
Lloh8:
	adrp	x20, _use_sideband@GOTPAGE
Lloh9:
	ldr	x20, [x20, _use_sideband@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	csetm	w8, ne
	str	w8, [sp, #8]
	add	x8, sp, #32
	stp	x8, x19, [sp, #16]
	mov	x0, sp
	bl	_start_command
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	mov	w1, #-1
	mov	x2, #0
	bl	_copy_to_sideband
LBB0_4:
	mov	x0, sp
	bl	_finish_command
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update"

	.comm	_use_sideband,8,3               ; @use_sideband
	.no_dead_strip	_run_update_hook
.subsections_via_symbols
