	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_apply                      ## -- Begin function cmd_apply
	.p2align	4, 0x90
_cmd_apply:                             ## @cmd_apply
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_init_apply_state
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_apply_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-32(%rbp), %r15
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_apply_parse_options
	movl	%eax, %ebx
	movl	-40(%rbp), %esi
	movq	%r15, %rdi
	callq	_check_apply_state
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	-36(%rbp), %ecx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_apply_all_patches
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_clear_apply_state
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$128, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_apply_usage,4,2                ## @apply_usage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_apply                      ; -- Begin function cmd_apply
	.p2align	2
_cmd_apply:                             ; @cmd_apply
	.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
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_init_apply_state
	cbnz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _apply_usage@GOTPAGE
Lloh4:
	ldr	x8, [x8, _apply_usage@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x2, sp
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_apply_parse_options
	mov	x20, x0
	ldr	w1, [sp, #12]
	mov	x0, sp
	bl	_check_apply_state
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w3, [sp, #8]
	mov	x0, sp
	mov	x1, x20
	mov	x2, x19
	bl	_apply_all_patches
	mov	x19, x0
	mov	x0, sp
	bl	_clear_apply_state
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	mov	w0, #128
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_apply_usage,4,2                ; @apply_usage
.subsections_via_symbols
