	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_creation
_handle_creation:                       ## @handle_creation
	.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, %r14
	movq	_reverse@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	$1, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_3:
	xorl	%ebx, %ebx
	testl	%edi, %edi
	je	LBB0_21
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_21
## %bb.5:
	movq	_force@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.7:
	movq	_noreverse@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_say
LBB0_6:
	movq	_skip_rest_of_patch@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_21:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	callq	_pch_swap
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_11:
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%r15)
	movq	_batch@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_15
## %bb.12:
	movq	_verbose@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_13
## %bb.14:
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_say
	jmp	LBB0_21
LBB0_15:
	testl	%eax, %eax
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.9(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ask
	movq	_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpb	$110, (%rax)
	jne	LBB0_20
## %bb.16:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_ask
	movq	(%r12), %rax
	movl	$1, %ebx
	cmpb	$121, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_skip_rest_of_patch@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%ebx, %ebx
LBB0_18:
	xorl	%eax, %eax
	cmpl	$0, (%r15)
	sete	%al
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_pch_swap
	testl	%eax, %eax
	jne	LBB0_21
## %bb.19:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
	jmp	LBB0_21
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_20:
	movl	$1, (%r14)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_reverse,4,2                    ## @reverse
	.comm	_force,8,3                      ## @force
	.comm	_skip_rest_of_patch,4,2         ## @skip_rest_of_patch
	.comm	_noreverse,8,3                  ## @noreverse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring previously applied (or reversed) patch.\n"

L_.str.1:                               ## @.str.1
	.asciz	"lost hunk on alloc error!\n"

	.comm	_batch,8,3                      ## @batch
	.comm	_verbose,8,3                    ## @verbose
L_.str.2:                               ## @.str.2
	.asciz	"Patch creates file that already exists, %s %seversed"

L_.str.3:                               ## @.str.3
	.asciz	"Assuming"

L_.str.4:                               ## @.str.4
	.asciz	"Ignoring"

L_.str.5:                               ## @.str.5
	.asciz	"R"

L_.str.6:                               ## @.str.6
	.asciz	"Unr"

L_.str.7:                               ## @.str.7
	.asciz	"Patch creates file that already exists!  %s -R? [y] "

L_.str.8:                               ## @.str.8
	.asciz	"Assume"

L_.str.9:                               ## @.str.9
	.asciz	"Ignore"

	.comm	_buf,8,3                        ## @buf
L_.str.10:                              ## @.str.10
	.asciz	"Apply anyway? [n]"

	.no_dead_strip	_handle_creation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_creation
_handle_creation:                       ; @handle_creation
	.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
	mov	x20, x1
Lloh0:
	adrp	x21, _reverse@GOTPAGE
Lloh1:
	ldr	x21, [x21, _reverse@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w0, LBB0_3
; %bb.1:
	cbz	w8, LBB0_3
LBB0_2:
	mov	w19, #0
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_9
LBB0_3:
	mov	w19, #0
	cbz	w0, LBB0_9
; %bb.4:
	cbnz	w8, LBB0_9
; %bb.5:
Lloh2:
	adrp	x8, _force@GOTPAGE
Lloh3:
	ldr	x8, [x8, _force@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _noreverse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _noreverse@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.7:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_say
LBB0_8:
	mov	w19, #0
Lloh10:
	adrp	x8, _skip_rest_of_patch@GOTPAGE
Lloh11:
	ldr	x8, [x8, _skip_rest_of_patch@GOTPAGEOFF]
	mov	w9, #1
Lloh12:
	str	w9, [x8]
LBB0_9:
	mov	x0, x19
	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_10:
	bl	_pch_swap
	cbnz	w0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_12:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w9, eq
	str	w9, [x21]
Lloh15:
	adrp	x9, _batch@GOTPAGE
Lloh16:
	ldr	x9, [x9, _batch@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cbz	x9, LBB0_15
; %bb.13:
Lloh18:
	adrp	x9, _verbose@GOTPAGE
Lloh19:
	ldr	x9, [x9, _verbose@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cbz	x9, LBB0_20
; %bb.14:
Lloh21:
	adrp	x9, l_.str.4@PAGE
Lloh22:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh23:
	adrp	x10, l_.str.3@PAGE
Lloh24:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
Lloh25:
	adrp	x9, l_.str.6@PAGE
Lloh26:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh27:
	adrp	x10, l_.str.5@PAGE
Lloh28:
	add	x10, x10, l_.str.5@PAGEOFF
	csel	x9, x10, x9, eq
	stp	x8, x9, [sp]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_say
	mov	w19, #0
	b	LBB0_9
LBB0_15:
Lloh31:
	adrp	x9, l_.str.9@PAGE
Lloh32:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh33:
	adrp	x10, l_.str.8@PAGE
Lloh34:
	add	x10, x10, l_.str.8@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_ask
Lloh37:
	adrp	x19, _buf@GOTPAGE
Lloh38:
	ldr	x19, [x19, _buf@GOTPAGEOFF]
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cmp	w8, #110
	b.ne	LBB0_2
; %bb.16:
Lloh39:
	adrp	x0, l_.str.10@PAGE
Lloh40:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_ask
	ldr	x8, [x19]
	ldrb	w8, [x8]
	mov	w19, #1
	cmp	w8, #121
	b.eq	LBB0_18
; %bb.17:
Lloh41:
	adrp	x8, _skip_rest_of_patch@GOTPAGE
Lloh42:
	ldr	x8, [x8, _skip_rest_of_patch@GOTPAGEOFF]
Lloh43:
	str	w19, [x8]
	mov	w19, #0
LBB0_18:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x21]
	bl	_pch_swap
	cbnz	w0, LBB0_9
; %bb.19:
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	b	LBB0_9
LBB0_20:
	mov	w19, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_reverse,4,2                    ; @reverse
	.comm	_force,8,3                      ; @force
	.comm	_skip_rest_of_patch,4,2         ; @skip_rest_of_patch
	.comm	_noreverse,8,3                  ; @noreverse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring previously applied (or reversed) patch.\n"

l_.str.1:                               ; @.str.1
	.asciz	"lost hunk on alloc error!\n"

	.comm	_batch,8,3                      ; @batch
	.comm	_verbose,8,3                    ; @verbose
l_.str.2:                               ; @.str.2
	.asciz	"Patch creates file that already exists, %s %seversed"

l_.str.3:                               ; @.str.3
	.asciz	"Assuming"

l_.str.4:                               ; @.str.4
	.asciz	"Ignoring"

l_.str.5:                               ; @.str.5
	.asciz	"R"

l_.str.6:                               ; @.str.6
	.asciz	"Unr"

l_.str.7:                               ; @.str.7
	.asciz	"Patch creates file that already exists!  %s -R? [y] "

l_.str.8:                               ; @.str.8
	.asciz	"Assume"

l_.str.9:                               ; @.str.9
	.asciz	"Ignore"

	.comm	_buf,8,3                        ; @buf
l_.str.10:                              ; @.str.10
	.asciz	"Apply anyway? [n]"

	.no_dead_strip	_handle_creation
.subsections_via_symbols
